emacs-devel
[Top][All Lists]
Advanced

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

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


From: Juri Linkov
Subject: Re: [External] : Re: [PATCH] New tab-bar-detach-tab command
Date: Thu, 07 Oct 2021 10:29:27 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (x86_64-pc-linux-gnu)

>> But I'm not sure if 'clone-frame' should be rebound
>> from 'C-x 5 c' to 'C-x 5 n', like 'clone-buffer' is
>> bound to 'C-x x n',and 'tab-duplicate' is bound to
>> 'C-x t n'.
>
> (In Info, `clone-buffer' is bound to `M-n', BTW.
> And in Emacs prior to 28, at least, it has _no_
> global binding.)

(And in web browsers 'C-n' creates a new frame
that clones the frame parameters.)

> * `make-frame-command' (or no longer give it any key)
> * `clone-frame' - frame parameters
> * `clone-frame' - frame parameters and window config
>
> And all of that makes sense on `C-x 5 2', IMO.

But a new prefix arg could be added to `make-frame-command'
without rebinding its key `C-x 5 2'.  Then `make-frame-command'
could call `clone-frame' after typing `C-u C-x 5 2'.

But I wonder how the prefix arg of `C-u C-x 5 2' would be more
discoverable than the new key `C-x 5 c'?  The doc string
of `make-frame-command' could mention both: the prefix arg
that clones the frame, and `clone-frame' bound to `C-x 5 c'.



reply via email to

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