Subject: Re: bug#58862: 29.0.50; tab-bar-mode doesn't display after display-time-mode with format option

From: Juri Linkov <[email-masked]>
Date: Sun, 13 Nov 2022 20:23:55 +0200

tags 58862 notabug
close 58862 29.0.50
thanks

>> The tab bar is not visible because an empty tab bar can't be displayed:
>>
>>   (tab-bar-format-list tab-bar-format)
>>   => ((global menu-item "" ignore))
>>
>> So it works fine when you change the initialization order to:
>>
>>     0. Evaluate
>>            (setq tab-bar-format '(tab-bar-format-global))
>>     1. M-x display-time-mode RET
>>     2. M-x tab-bar-mode RET
>
> Sorry for the late reply here.  I guess what surprised me is that the
> order mattered here.  If you don't think this is a bug, we can close
> this.  Thanks.

I really have no idea how to display an empty tab-bar.
Fortunately, this is not a frequent problem, just need
to be careful not to enable tab-bar-mode when
the tab-bar is empty.  But when someone will get
an idea how to handle it, this could be reopened.