emacs-devel
[Top][All Lists]
Advanced

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

Re: master 6a2ee981c3: Add new functions for splitting the root window


From: Sean Whitton
Subject: Re: master 6a2ee981c3: Add new functions for splitting the root window
Date: Wed, 14 Sep 2022 09:52:26 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Hello,

On Wed 14 Sep 2022 at 09:53AM +03, Juri Linkov wrote:

>>>  - tear-off-window   - C-x w ^   - detach window to a new frame
>>>  - tab-window-detach - C-x t ^ w - detach window to a new tab
>>>  - tab-detach        - C-x t ^ f - detach tab to a new frame
>>
>> My own intuition is that C-x t is for operations *on* tabs, and C-x w
>> for operations *on* windows, so what do you (and others) think about:
>>
>> C-x w ^ f                     -- tear-off-window
>> C-x w ^ t                     -- tab-window-detach
>> C-x t ^                       -- tab-detach
>
> Nice, these keys also have transitional semantics:
>
>   w ^ f   - from window to frame
>   w ^ t   - from window to tab

Indeed!

> So for consistency tab-detach also could be:
>
>   t ^ f   - from tab to frame
>
> if another key also makes sense:
>
>   t ^ w   - from tab to window

Do you think it does?

Or perhaps we should do it anyway in case we later want to put another
detach command under the submap -- perhaps we'll want C-x t ^ F for some
variant on tab-detach, since '^' can't be capitalised.

Here is a patch for review, though it's pretty trivial -- I am wondering
if an additional NEWS entry is warranted or not.  I don't believe there
are any manual updates required.

Nice to resolve this subthread.

-- 
Sean Whitton

Attachment: 0001-Use-key-for-detach-command-bindings.patch
Description: Text Data


reply via email to

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