Subject: Re: bug#68679: 30.0.50; Burying a buffer shows an already displayed buffer

From: martin rudalics <[email-masked]>
Date: Thu, 25 Jan 2024 10:40:07 +0100

>> ISTR that quit-window and bury-buffer made sure that the
 >> replacement/newly displayed buffer is not shown in any other window (at
 >> least that was my intention when I wrote quit-window many years ago).
 >>
 >> Right now I see that C-x b (switch-to-buffer) offers a good candidate
 >> (IOW, other-buffer returns a buffer that is not currently shown), but
 >> both quit-window and bury-buffer replace the current buffer with one
 >> that is already displayed in another window in the current frame.

More precisely "may replace".

 >> Is there a way to restore the original behavior of never displaying an
 >> already visible buffer?
 >>
 >> Is this a (known) bug?

Can you try customizing 'switch-to-prev-buffer-skip'?

martin