emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] New tab-bar-detach-tab command


From: Juri Linkov
Subject: Re: [PATCH] New tab-bar-detach-tab command
Date: Tue, 05 Oct 2021 09:49:35 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)

>> Indeed, the key doesn't need to be the first letter of the command name.
>> For example, since 'C-x t d' was already bound to 'dired-other-tab',
>> for 'tab-duplicate' I added 'C-x t n' with the mnemonic of "new".
>>
>> But a month ago a new command 'clone-frame' was added with the
>> keybinding 'C-x 5 c'.  So now we have two similar commands with
>> different keys: 'c' - clone frame, and 'n' - duplicate tab.
>>
>> Or maybe these commands are quite different?  I tried 'clone-frame',
>> but it neither clones nor duplicates the frame - it creates
>> a completely new window configuration on the new frame.
>
> I suppose a `tab-clone' command would be more concise than
> `tab-duplicate', and it would also fit with other commands like
> `clone-buffer' (I don't see any other commands in my Emacs with
> "duplicate" in the name).  Then the binding could be "C-x t c".

The command was named "duplicate" because web browsers
provide the menu item "Duplicate tab".

Also since 'clone-frame' doesn't duplicate the frame,
we could add a new command 'duplicate-frame' as well.



reply via email to

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