[Top][All Lists]

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

Re: [PATCH] Enable persistent naming for tabs

From: Juri Linkov
Subject: Re: [PATCH] Enable persistent naming for tabs
Date: Thu, 31 Oct 2019 01:05:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

>> Another is if I open a new tab, and I want to be prompted to name the
>> tab automatically depending on the buffers that exist at the time of
>> creation - I have a tendency to segregate all of my Magit buffers for
>> a repository into a single tab, and I usually rename the tab so that
>> no matter what Magit sub-buffer I'm on, the tab still has a consistent
>> name. I can see myself doing similar for other 'task-oriented' sets of
>> windows and buffers such as gdb, mpd, etc.
> This looks like calling after the tab is created, so maybe a name like
>   tab-bar-post-new-tab-functions (tab)

I just realized we already have tab-bar-new-tab-choice.
Does it serve the same purpose?

Then what is still missing is tab-bar-close-tab-choice,
that is like tab-bar-close-last-tab-choice you added recently,
but could run a hook-like function on closing any tab.

reply via email to

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