bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#55582: 29.1; switch-to-buffer-other-tab doesn't set the buffer


From: Sean Whitton
Subject: bug#55582: 29.1; switch-to-buffer-other-tab doesn't set the buffer
Date: Sun, 22 May 2022 21:50:25 -0700
User-agent: Notmuch/0.36 Emacs/29.0.50 (x86_64-pc-linux-gnu)

Hello,

On Mon 23 May 2022 at 05:22am +03, Eli Zaretskii wrote:

>> Cc: juri@jurta.org
>> From: Sean Whitton <spwhitton@spwhitton.name>
>> Date: Sun, 22 May 2022 12:44:42 -0700
>>
>> 1. emacs -q
>> 2. M-: (progn (switch-to-buffer-other-tab "*Messages*") (buffer-name))
>> - Actual result: "*GNU Emacs*" in echo area.
>> - Expected result: "*Messages*" in echo area.
>
> Can you explain why you expected to see "*Messages*" in this case?

All the other pop-to-* and switch-to-* functions set the buffer, and the
language "switch to buffer" in Emacs includes making the target buffer
current.

I can't see any reason why switch-to-buffer-other-tab should be
different from its fellows.

> What kind of documentation says this is what should happen?

The documentation for switch-to-buffer-other-tab says that it is "Like
C-x 5 b", and switch-to-buffer-other-frame makes the target buffer
current.

-- 
Sean Whitton





reply via email to

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