window-configuration-hook (was Supporting :eval)

Johann "Myrkraverk" Oskarsson <[email protected]> Sat, 12 Jun 2004 20:30:32 +0000
Newsgroups gmane.emacs.xemacs.design
Message-ID <[email protected]>
Hi,

 > "Stephen J. Turnbull" <[email protected]> writes:

 > > Specifiers are the right solution, but may require additional support
 > > such as window-configuration-hook (note how quickly XEmacs tastes
 > > diverge from GNU's---"change" is redundant here IMO because hooks
 > > happen during actions, and "window configuration" can easily be
 > > understood as "the act of configuring windows").

I have patched some preliminary window-configuration-hook into XEmacs,
and it's sitting in xemacs-patches right now.

And I've used it to implement window numbers into the modeline with
specifiers -- I've seen the light, this is probably the cleanest way
;)

There is currently a bug somewhere, C-x b is not really working with
more than one window ;(  I'll need to hunt that down -- but only when
my function is actually in the hook.

The patch is not really what I'd call production value, but I hope to
make it so very very soon.  I take it that once it is, you have no
objection in committing it?


Have fun,

Johann "Myrkraverk"

-- 
Emacs is not a text editor -- it's a way of life