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: Stefan Monnier
Subject: Re: Allow controlling the effect of visibility on buffer switching
Date: Sun, 30 Jan 2022 11:08:59 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>> 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.

What am I missing?


        Stefan




reply via email to

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