emacs-devel
[Top][All Lists]
Advanced

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

Re: Tab bar tabs landed on master


From: Juri Linkov
Subject: Re: Tab bar tabs landed on master
Date: Wed, 23 Oct 2019 23:59:21 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

> tab-new could support the prefix argument as well, but
> I don't know whether to interpret its numeric prefix argument
> as absolute or relative position because both ways are useful:
>
> C-2 C-x t 2 - could create a new tab as the second tab in the tab-bar
>
> OR
>
> C-2 C-x t 2 - create a new tab as the second next
>               to the right from the current tab
> C-u -2 C-x t 2 - create a new tab as the second previous
>                  to the left from the current tab
>
> Maybe to add a rule that if tab-bar-new-tab-to option has a relative value
> like 'right' then M-x tab-new should interpret its arg as relative, or if
> tab-bar-new-tab-to option has an absolute value like 'rightmost' then M-x
> tab-new should interpret arg as absolute?
>
> Or maybe to add a new command tab-add as a wrapper for tab-new
> to translate its relative arg to absolute number for tab-new?

Now there are two commands:

C-2 M-x tab-new adds a new tab two positions to the right from the current tab;
C-2 M-x tab-new-to adds a new tab as the second tab in the tab-bar.



reply via email to

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