From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#58862: 29.0.50; tab-bar-mode doesn't display after display-time-mode with format option Date: Sun, 13 Nov 2022 20:23:55 +0200 Organization: LINKOV.NET Message-ID: <86leoe90hw.fsf@mail.linkov.net> References: <86mt9eecsc.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34404"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: 58862@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 13 19:25:31 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ouHff-0008pq-9y for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Nov 2022 19:25:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ouHfE-000367-Vv; Sun, 13 Nov 2022 13:25:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ouHfD-0002zh-9y for bug-gnu-emacs@gnu.org; Sun, 13 Nov 2022 13:25:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ouHfC-0005ov-Nf for bug-gnu-emacs@gnu.org; Sun, 13 Nov 2022 13:25:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ouHfC-0007oM-Iz for bug-gnu-emacs@gnu.org; Sun, 13 Nov 2022 13:25:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Nov 2022 18:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58862 X-GNU-PR-Package: emacs Original-Received: via spool by 58862-submit@debbugs.gnu.org id=B58862.166836389630003 (code B ref 58862); Sun, 13 Nov 2022 18:25:02 +0000 Original-Received: (at 58862) by debbugs.gnu.org; 13 Nov 2022 18:24:56 +0000 Original-Received: from localhost ([127.0.0.1]:52528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ouHf6-0007nq-73 for submit@debbugs.gnu.org; Sun, 13 Nov 2022 13:24:56 -0500 Original-Received: from relay1-d.mail.gandi.net ([217.70.183.193]:60317) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ouHf3-0007nY-Np; Sun, 13 Nov 2022 13:24:54 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 2650E240003; Sun, 13 Nov 2022 18:24:43 +0000 (UTC) In-Reply-To: (Stefan Kangas's message of "Sat, 12 Nov 2022 12:33:55 -0800") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:247807 Archived-At: 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.