Briefly, my problem is: with XEmacs 21.2-b35, it seems that the
function 'set-window-configuration changes the point, and I don't
think it should.
In detail (and I posted this before, with no response): 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
In XEmacs 21.1.12 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-b35, 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
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. This looks like a bug to me, or was this
behavior changed intentionally, and the documentation not updated?
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