[Top][All Lists]

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

Re: Change in list-buffers behavior in 24.4

From: Eli Zaretskii
Subject: Re: Change in list-buffers behavior in 24.4
Date: Mon, 13 Apr 2015 17:31:07 +0300

> From: Sam Varshavchik <address@hidden>
> Date: Sun, 12 Apr 2015 23:53:59 -0400
> The change in behavior is when there are already two buffers being shown,  
> with different files. So, with two files, a and b:
> $ emacs -Q a b
> I get just "b" displayed.
> ^X^B^Xo, cursor down, Enter.
> I get the "b" file in the top window, "a" file in the bottom window, with  
> the cursor in the "a" file's window.
> ^X^B
> The buffer window now replaces the "a" file, where the cursor was, and the  
> cursor now winds up in the buffer list window. That's the different behavior  
> than what I'm used to.
> Now, if instead of doing ^X^B at this point, I press ^Xo, moving the cursor  
> back to the "b" file's window, then ^X^B still opens the list buffer in the  
> "a" file's window (also).

That's a far cry from your original story.

> So, maybe the change in behavior is that list-buffers' window is "sticky",  
> and it tries to open the buffer window in the same window it was previously  
> shown in, apparently. If that window is showing another file buffer, even if  
> the cursor is still in that file buffer the buffer list window still gets  
> opened there, replacing the buffer the cursor was in.

Yes, the default behavior changed, so you need to customize
display-buffer's strategy to get what you want.

Since Martin requested to continue this discussion on the bug tracker,
I will reply there with a recipe that I think will do what you want.

reply via email to

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