emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Point of wrong window used in read-from-minibuffer?


From: Richard Stallman
Subject: Re: Point of wrong window used in read-from-minibuffer?
Date: Tue, 26 Apr 2005 10:33:09 -0400

    I have a hard time believing you tyhink this behavior is desirable.
    So just to double check: you do realize I'm talking about the window's
    cursor.

I am not sure if that statement is meaningful.  Remember, the window's
point value is never in use for the selected window.  It is relevant
only in windows that are nonselected.

save-window-excursion is currently defined to preserve the buffer's
point value even when it switches windows.  This is indeed somewhat
strange, since ordinarily switching windows swaps the buffer's point
value into the old window and swaps the new window's point value into
the buffer.  Maybe it should be changed.  But changing it is somewhat
risky, too.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]