Hi,
I'm trying out XEmacs 21.2-b35, and I have problem with window
configurations: they seem to work a little differently compared to
XEmacs 21.1, and also compared to GNU Emacs. In particular, I have
some code that does this:
;; start with the point in window 1.
(setq bozo (current-window-configuration))
...
;; do stuff that puts the point in the minibuffer, and also opens up
;; window 2, leaving both windows 1 and 2 visible
...
(set-window-configuration bozo)
In XEmacs 21.1 and GNU Emacs, the end result would be that the window
2 would go away, and the point would remain in the minibuffer. In
XEmacs 21.2, window 2 goes away, but the point also jumps back to
window 1. I think this is in contradiction with the documentation for
current-window-configuration, which says
Documentation:
Return an object representing the current window configuration of FRAME.
If FRAME is nil or omitted, use the selected frame.
This describes the number of windows, their sizes and current buffers,
and for each displayed buffer, where display starts, and the positions of
point and mark. An exception is made for point in the current buffer:
its value is -not- saved.
Note the last sentence. Because of this, set-window-configuration
shouldn't change the point. It does, though. This looks like a bug
to me. Or was this behavior changed intentionally, and the
documentation not updated?
(I tried looking at the mailing list archives and found lots of things
about window configurations, but nothing about window configurations
and moving the point. Sorry if I missed something relevant.)
--
John H. Palmieri
Dept of Mathematics, Box 354350 palmieri(a)math.washington.edu
University of Washington
http://www.math.washington.edu/~palmieri
Seattle, WA 98195-4350