emacs-devel
[Top][All Lists]
Advanced

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

Re: Allow controlling the effect of visibility on buffer switching


From: Eli Zaretskii
Subject: Re: Allow controlling the effect of visibility on buffer switching
Date: Sun, 30 Jan 2022 18:51:19 +0200

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: luangruo@yahoo.com,  thuna.cing@gmail.com,  emacs-devel@gnu.org
> Date: Sun, 30 Jan 2022 11:08:59 -0500
> 
> >> I think this discussion would benefit from a more constructive argument
> >> than habit.  Can you describe use cases where `C-x b`s current default
> >> is indeed the one the user wants yet it is not the last buffer (because
> >> the last buffer is already visible elsewhere)?
> >
> > I can: when I mistakenly display (or cause Emacs to display) a buffer
> > in the wrong window/frame.  Then the fix is:
> >
> >    . C-x b RET
> >    . go to the "correct" window/frame
> >    . C-x b RET
> 
> Hmm... I don't understand why you think this is an example: the first
> `C-x b` will only be guaranteed to do what you intended if `C-x b`
> chooses "the latest buffer" rather than "the latest buffer that's not
> visible", so it seems to be an argument in favor of the proposed change.

I meant the second "C-x b", not the first.  The first just removes the
mistaken display from the "wrong" window.



reply via email to

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