Subject: bug#38681: Emacs 27.0.50: [Feature request for tabs] Create new tab with a name.

From: Juri Linkov <[email-masked]>
Date: Sun, 22 Dec 2019 01:21:28 +0200

> I’m using macOS. Tab-bar-mode UI is not supported on macOS. The UI is not too important to me.
> I want to use tabs like this:
>
> 1. create new every tab with a name
> 2. switch to a named tab
>
> For 1, can tab-new prompts for a name to create the tab? Like when
> running with C-u M-x tab-new? Or provide a new command like
> tab-new-with-name?
>
> For 2, is there a command which can switch to a named tab? It prompts
> for the name of the tab to switch to.

Yes, there is the new command 'C-x t RET' developed in bug#38624.

What do you think about using 'C-x t RET' to create a new tab
with the provided name?

This could work like 'C-x b': when there is a buffer with that name
already exists, then switch to it, otherwise create a new buffer
with that name.

'C-x t RET' could work the same way: when there is a tab with that name
already exists, then switch to it, otherwise create a new tab
with that name.