>From a thread (14th November 2005)

 >  >     The disassembly buffer appears in its own frame as a dedicated window
 >  >     with frame focus and Emacs makes this window selected.  The cursor is
 >  >     at the start of the buffer and Edebug shows that set-window-point
 >  >     doesn't move it.
 >  > 
 >  > Is the disassembly buffer the current buffer at the time?
 >  > 
 >  > Perhaps the problem case is where the window is selected
 >  > but the buffer is not current.  Can you find out if this is so?
 > 
 > Yes, you're right.  If I use the patch below it works.  Shall I install
 > it, or is it a bug in set-window-point?  If it's not a bug, I think
 > this behaviour should be documented.

I think I was wrong about this.  The function set-window-point seems to only
DTRT if the point being set is visible when the buffer starts at the top of
the window.  It doesn't scroll down to make the point visible, but just
centres the cursor in the window.


-- 
Nick                                           http://www.inet.net.nz/~nickrob


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to