[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tab-bar autoclose question
From: |
Juri Linkov |
Subject: |
Re: Tab-bar autoclose question |
Date: |
Sun, 12 Jul 2020 03:08:06 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
>>> I am wondering if maybe there is a simple method to autohide/autoclose the
>>> tabbar in some condition. For example, when I close all the other tabs and
>>> there is only one.
>>>
>>> Is it a straightforward/out_of_the_box method to customize that?
>>
>> Please try to customize ‘tab-bar-show’ to the value ‘1’
>> that means to hide the tab-bar when it has only one tab.
>
> I tried this and it works pretty fine auto hiding the tab-bar. But I
> have an issue.
>
> when I add this to my init file:
>
> (setq-default tab-bar-show 1)
>
> then, if I open a tab with `C-x t 2` it shows the tab-bar and the new
> tab, but I don't get bindings like `C-TAB`; but I get the `C-x t o`
>
> After some checks I see that the problem is that in spite of I see the
> tabs, the variable tab-bar-mode is still nil.
>
> Any help?
This feature is currently under active development in
https://debbugs.gnu.org/42052
Please help to work out the details.