[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: |
Sun, 20 Oct 2019 19:17:40 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) |
>> Something else I would like input on - if you try to close the only tab
>> in the frame, then it loses its explicit name if it has one. This is
>> because the tab closing function blindly deletes the entry from the tabs
>> alist, and hence the explicit-name attribute. What should we do? I think
>> we need to signal user-error or similar in interactive contexts, but
>> what about when calling from Lisp programs?
>
> Indeed, signaling user-error when closing a single tab would be
> the right thing even when called programmatically, because the caller
> can check the number of tabs before calling tab-bar-close-tab.
Actually web browsers allow closing the last tab, so we should
not prohibit closing too. What they do after closing, varies:
some close the whole application after closing the last tab -
doing the same in Emacs makes no sense. Then some of them show
the default page as in the new tab - and this is what we could do.
- [PATCH] Enable persistent naming for tabs, Robert Cochran, 2019/10/08
- Re: [PATCH] Enable persistent naming for tabs, Robert Cochran, 2019/10/09
- Re: [PATCH] Enable persistent naming for tabs, Juri Linkov, 2019/10/10
- Message not available
- Re: [PATCH] Enable persistent naming for tabs, Juri Linkov, 2019/10/13
- Re: [PATCH] Enable persistent naming for tabs, Juri Linkov, 2019/10/15
- Re: [PATCH] Enable persistent naming for tabs,
Juri Linkov <=
- Re: [PATCH] Enable persistent naming for tabs, T.V Raman, 2019/10/20
- Re: [PATCH] Enable persistent naming for tabs, Juri Linkov, 2019/10/21
- Re: [PATCH] Enable persistent naming for tabs, Robert Cochran, 2019/10/23
- Re: [PATCH] Enable persistent naming for tabs, Juri Linkov, 2019/10/23
- Re: [PATCH] Enable persistent naming for tabs, Robert Cochran, 2019/10/25
- Re: [PATCH] Enable persistent naming for tabs, Robert Cochran, 2019/10/25
- Re: [PATCH] Enable persistent naming for tabs, Juri Linkov, 2019/10/26
- Re: [PATCH] Enable persistent naming for tabs, Robert Cochran, 2019/10/30
- Re: [PATCH] Enable persistent naming for tabs, Juri Linkov, 2019/10/30
- Re: [PATCH] Enable persistent naming for tabs, Juri Linkov, 2019/10/30