[Top][All Lists]

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

Re: C-x 4 b RET does not restores wrong other window

From: Kevin Rodgers
Subject: Re: C-x 4 b RET does not restores wrong other window
Date: 18 Apr 2002 15:18:52 -0600

address@hidden (Richard Stallman) writes:
>address@hidden (Ture P책lsson) writes:
>> 1. Start emacs with emacs -q --no-site-file
>> 2. Type C-x 2 C-x 2. This should give you three windows, all showing
>>    the *scratch* buffer, with the cursor in the topmost one.
>> 3. Type C-h f c o n s RET. This gives you the help text for 'cons' in
>>    the middle window, and the text "Type C-x 4 b RET to restore other
>>    window.  C-M-v to scroll the help." in the echo area. The cursor is
>>    still in the topmost window.
>> 4. Type C-x 4 b RET. I expected this to switch the middle window from
>>    the *Help* buffer back to *scratch*, but instead it switched the
>>    bottom window from *scratch* to *Messages*.
> When there are three windows, in general--there is no single command
> that will restore the proper window to its previous state.  I am not
> sure what change to make to improve this situation.  Do you want
> to work on it?

I thought that that winner-mode would handle this as requested, but
doing `M-x winner-mode' first and doing `C-x <left>' instead of `C-x 4
b' doesn't work either: it only changes the window-buffer
correspondence so that there are still 3 windows.  Maybe winner-mode
should advise the describe-* functions, or with-output-to-temp-buffer,
to DTRT.  (If so, print-help-return-message should have a clause to
detect winner-mode, and display the winner-undo key binding instead of

Kevin Rodgers <address@hidden>

reply via email to

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