emacs-devel
[Top][All Lists]
Advanced

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

Re: improving function "mode-line-unbury-buffer" in bindings.el


From: Richard Stallman
Subject: Re: improving function "mode-line-unbury-buffer" in bindings.el
Date: Thu, 18 Jul 2002 08:56:05 -0600 (MDT)

    Here is what is CLAIMED to happen with bury-buffer:

    When you use bury-buffer to bury the buffer in the selected window,
    the NEXT buffer to be shown in the selected window is chosen with a
    preference to show a buffer which has previously been shown in a
    window.

What I see in the code of Fother_buffer is that it prefers the buffers
that have been shown in this frame before.  However, burying a buffer
removes it from the frame's buffer list (this is a recent bug fix).
So as you cycle in this way, the frame's buffer list will empty out
and you will indeed get all the non-hidden buffers.

    - doing bury-buffer once will bury xyz and show *scratch*, and
    - doing bury-buffer again will bury *scratch* and show xyz.

I get *Messages* the third time now.



reply via email to

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