GNU bug report logs - #62575
29.0.60; Tabs are not showing the right names of the buffers

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Claudio Grondi <claudio.grondi@HIDDEN>; Done: Juri Linkov <juri@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
bug marked as fixed in version 30.0.50, send any further explanations to 62575 <at> debbugs.gnu.org and Claudio Grondi <claudio.grondi@HIDDEN> Request was from Juri Linkov <juri@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 62575 <at> debbugs.gnu.org:


Received: (at 62575) by debbugs.gnu.org; 2 May 2024 18:13:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 02 14:13:25 2024
Received: from localhost ([127.0.0.1]:45145 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s2avt-0003CU-DN
	for submit <at> debbugs.gnu.org; Thu, 02 May 2024 14:13:25 -0400
Received: from relay1-d.mail.gandi.net ([217.70.183.193]:55947)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>)
 id 1s2avq-0003CK-Mx; Thu, 02 May 2024 14:13:23 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id CD72824000A;
 Thu,  2 May 2024 18:12:52 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Claudio Grondi <claudio.grondi@HIDDEN>
Subject: Re: bug#62575: 29.0.60; Tabs are not showing the right names of the
 buffers
In-Reply-To: <86ttxwxhhc.fsf@HIDDEN> (Juri Linkov's message of "Tue, 
 04 Apr 2023 09:56:03 +0300")
Organization: LINKOV.NET
References: <7f7b17d6-63e2-d7fc-1091-802f972f9a62@HIDDEN>
 <83cz4o17tp.fsf@HIDDEN>
 <67687ee4-089d-7997-f9a3-afde7be8b05e@HIDDEN>
 <83sfdjy9va.fsf@HIDDEN> <86355iixt1.fsf@HIDDEN>
 <3e479430-7e02-67de-8bb5-663a2769e6c0@HIDDEN>
 <86h6tyckn8.fsf@HIDDEN>
 <e7e7ae23-2953-2431-ce7e-ed5ef64819a6@HIDDEN>
 <86a5zpo6dd.fsf@HIDDEN>
 <81644d5a-561c-95d5-14a3-5399c75dc4ea@HIDDEN>
 <86zg7p860a.fsf@HIDDEN>
 <6225c9ae-eb72-4c3b-919b-b67832ed4e6c@HIDDEN>
 <86ttxwxhhc.fsf@HIDDEN>
Date: Thu, 02 May 2024 21:12:14 +0300
Message-ID: <86le4s5bi9.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 62575
Cc: Eli Zaretskii <eliz@HIDDEN>, 62575 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

close 62575 30.0.50
thanks

>>> Probably this is because you enabled buffer-local 'tab-line-mode'
>>> instead of 'global-tab-line-mode'.
>>
>> OK, I have put
>>
>> (setq global-tab-line-mode t)
>>
>> into my initialization file. But this didn't help either.
>
> Actually, in your initialization file it should be used
> as a command: (global-tab-line-mode 1) or you can customize it
> as a variable: (custom-set-variables '(global-tab-line-mode t))

Some problems from this request were already addressed, so it's time to
close it.  You can open a new if you have more ideas.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62575; Package emacs. Full text available.

Message received at 62575 <at> debbugs.gnu.org:


Received: (at 62575) by debbugs.gnu.org; 4 Apr 2023 07:09:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 04 03:09:15 2023
Received: from localhost ([127.0.0.1]:46397 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pjan5-00061u-2x
	for submit <at> debbugs.gnu.org; Tue, 04 Apr 2023 03:09:15 -0400
Received: from relay1-d.mail.gandi.net ([217.70.183.193]:57505)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1pjan3-00061Q-Hj
 for 62575 <at> debbugs.gnu.org; Tue, 04 Apr 2023 03:09:13 -0400
Received: (Authenticated sender: juri@HIDDEN)
 by mail.gandi.net (Postfix) with ESMTPSA id DB51324000B;
 Tue,  4 Apr 2023 07:09:05 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Claudio Grondi <claudio.grondi@HIDDEN>
Subject: Re: bug#62575: 29.0.60; Tabs are not showing the right names of the
 buffers
In-Reply-To: <6225c9ae-eb72-4c3b-919b-b67832ed4e6c@HIDDEN> (Claudio
 Grondi's message of "Mon, 3 Apr 2023 20:06:27 +0200")
Organization: LINKOV.NET
References: <7f7b17d6-63e2-d7fc-1091-802f972f9a62@HIDDEN>
 <83cz4o17tp.fsf@HIDDEN>
 <67687ee4-089d-7997-f9a3-afde7be8b05e@HIDDEN>
 <83sfdjy9va.fsf@HIDDEN> <86355iixt1.fsf@HIDDEN>
 <3e479430-7e02-67de-8bb5-663a2769e6c0@HIDDEN>
 <86h6tyckn8.fsf@HIDDEN>
 <e7e7ae23-2953-2431-ce7e-ed5ef64819a6@HIDDEN>
 <86a5zpo6dd.fsf@HIDDEN>
 <81644d5a-561c-95d5-14a3-5399c75dc4ea@HIDDEN>
 <86zg7p860a.fsf@HIDDEN>
 <6225c9ae-eb72-4c3b-919b-b67832ed4e6c@HIDDEN>
Date: Tue, 04 Apr 2023 09:56:03 +0300
Message-ID: <86ttxwxhhc.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 62575
Cc: Eli Zaretskii <eliz@HIDDEN>, 62575 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>> Probably this is because you enabled buffer-local 'tab-line-mode'
>> instead of 'global-tab-line-mode'.
>
> OK, I have put
>
> (setq global-tab-line-mode t)
>
> into my initialization file. But this didn't help either.

Actually, in your initialization file it should be used
as a command: (global-tab-line-mode 1) or you can customize it
as a variable: (custom-set-variables '(global-tab-line-mode t))

> What I am wondering about is, how does it come that I am bumping in all
> these problems?

To avoid all these problems, I recommend you to read the manual
that explains the details.  Here are some relevant nodes:

https://www.gnu.org/software/emacs/manual/html_node/emacs/Tab-Line.html
https://www.gnu.org/software/emacs/manual/html_node/emacs/Tab-Bars.html




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62575; Package emacs. Full text available.

Message received at 62575 <at> debbugs.gnu.org:


Received: (at 62575) by debbugs.gnu.org; 3 Apr 2023 18:06:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 03 14:06:34 2023
Received: from localhost ([127.0.0.1]:45204 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pjOZe-0005Tu-8t
	for submit <at> debbugs.gnu.org; Mon, 03 Apr 2023 14:06:34 -0400
Received: from mout3.freenet.de ([195.4.92.93]:38398)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <prvs=0457ca79f0=claudio.grondi@HIDDEN>)
 id 1pjOZb-0005Tl-2y
 for 62575 <at> debbugs.gnu.org; Mon, 03 Apr 2023 14:06:33 -0400
Received: from [195.4.92.126] (helo=sub7.freenet.de)
 by mout3.freenet.de with esmtpa (ID claudio.grondi@HIDDEN) (port 25) (Exim
 4.94.2 #2) id 1pjOZS-00BxHU-SG; Mon, 03 Apr 2023 20:06:28 +0200
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=freenet.de; 
 s=mjaymdexmjqk;
 h=In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date
 :Message-ID:Content-Type:Sender:Reply-To:Content-Transfer-Encoding:Content-ID
 :Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:
 Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe
 :List-Post:List-Owner:List-Archive;
 bh=uY2GohXt/u1Bzheo7LLBnmyEN9HJqhqEgoEIAaben9A=; b=r4pS0q6b5hUs5coPu6Viv4ZEsx
 WG49DFlCnhqRKA2dOK+kRBRHntmcZfQpksmLXJaMQXVepLjV8GS+RSbXLW3exihu5U+7QYuXbxiaK
 ZBTUye6E0hgCU9fpgOShtotsbp3C5rwhEEKpyexVLKU0ECuN4Dt9Iic6Hz5k2GtUCiLQ8tK8GSbIS
 +HGg6IUdOAPnTjwNOTrlGmN7Wu8QIqVBCibZ3f+/2VKKydCPZJ+Bb+eCTNBApRouMJO8AsgSMjLuA
 Bt7XIUhzLE0rFaS+wO7NgDH934bEJ/Nj/a6cRZnBxcAfV0R79Nw2Z/6zb/FnOIKrVPXeII84ISTpo
 xR3v0Zbg==;
Received: from ip-109-42-240-50.web.vodafone.de ([109.42.240.50]:31854
 helo=[192.168.8.100])
 by sub7.freenet.de with esmtpsa (ID claudio.grondi@HIDDEN)
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (port 587) (Exim
 4.94.2 #2) id 1pjOZY-00CfKF-96; Mon, 03 Apr 2023 20:06:28 +0200
Content-Type: multipart/mixed; boundary="------------M8oQ0wYDc3CKEyYPLE0yycN0"
Message-ID: <6225c9ae-eb72-4c3b-919b-b67832ed4e6c@HIDDEN>
Date: Mon, 3 Apr 2023 20:06:27 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.4.2
Subject: Re: bug#62575: 29.0.60; Tabs are not showing the right names of the
 buffers
To: Juri Linkov <juri@HIDDEN>
References: <7f7b17d6-63e2-d7fc-1091-802f972f9a62@HIDDEN>
 <83cz4o17tp.fsf@HIDDEN> <67687ee4-089d-7997-f9a3-afde7be8b05e@HIDDEN>
 <83sfdjy9va.fsf@HIDDEN> <86355iixt1.fsf@HIDDEN>
 <3e479430-7e02-67de-8bb5-663a2769e6c0@HIDDEN>
 <86h6tyckn8.fsf@HIDDEN>
 <e7e7ae23-2953-2431-ce7e-ed5ef64819a6@HIDDEN>
 <86a5zpo6dd.fsf@HIDDEN>
 <81644d5a-561c-95d5-14a3-5399c75dc4ea@HIDDEN>
 <86zg7p860a.fsf@HIDDEN>
Content-Language: de-DE, en-US
From: Claudio Grondi <claudio.grondi@HIDDEN>
In-Reply-To: <86zg7p860a.fsf@HIDDEN>
X-FN-MUUID: 1680545188F6A866E0B46DO
X-Originated-At: 109.42.240.50!31854
X-Scan-TS: Mon, 03 Apr 2023 20:06:28 +0200
X-Spam-Score: -1.8 (-)
X-Debbugs-Envelope-To: 62575
Cc: Eli Zaretskii <eliz@HIDDEN>, 62575 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.8 (--)

This is a multi-part message in MIME format.
--------------M8oQ0wYDc3CKEyYPLE0yycN0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit


On 4/3/23 18:11, Juri Linkov wrote:
>> I have now in my .emacs:
>>
>> (custom-set-variables
>>    '(tab-line-exclude-modes nil)
>>
>> but this haven't changed the behavior. The tab-line is still disappearing
>> when viewing *xxx* buffers.
>>
>> What am I still missing?
> Probably this is because you enabled buffer-local 'tab-line-mode'
> instead of 'global-tab-line-mode'.

OK, I have put

(setq global-tab-line-mode t)

into my initialization file. But this didn't help either.

Do I understand it right that the tab-line-mode is NOT as I am expecting 
and maybe erroneously assuming a property/switch of a window, but a 
property/switch of a single buffer viewed in the window??? Or is it just 
only a symbol value which might, but not must be respected while running 
rendering of the graphics of the area between the toolbar and the 
minibuffer?

And if in the buffer the local tab-line-mode is for some weird reason 
switched-off the window showing that buffer does not show the tab-line???

Coupled with not taking seriously the state of the switch shown in the 
Options -> Show/Hide -> Window Tab Line (it's just a switch showing some 
not valid switch state, like a label on a tab-bar just showing some 
non-existing buffer name as label is also considered OK and not a bug), 
this above will explain all the weird behavior I experience.

What I am wondering about is, how does it come that I am bumping in all 
these problems? Because I am trying to understand how it works and 
testing all the possible edge cases? Making around 150 windows shown in 
a "root window" sometimes called "frame" sometimes "window 
configuration" and experiencing then weird behavior on reload from the 
.desktop file, where most of the tab-lines are lost and the window sizes 
are not as before exiting and saving the .desktop file? Without being 
able to discover any clear rule or some reproducible pattern in what I 
can observe?

It seems to be not possible to create a perfectly adjusted pattern of 
100 and more windows and then store it to a .desktop file being sure 
they will be recreated on next start as seen on the screen. OK - somehow 
is it maybe misusing of an text editor for creating patterns of 
rectangles, but if the underlying programming would work the right way 
it should be possible to use it also for the unique experience of typing 
at 100 and more places on the screen at the same time.

Attached a desktop file with many, many windows which were originally 
perfectly distributed giving a nice regular pattern. The work of 
positioning the windows was not worth the effort - the restored pattern 
is all, but not as created.


--------------M8oQ0wYDc3CKEyYPLE0yycN0
Content-Type: application/x-bzip; name="emacs.desktop.tar.bz2"
Content-Disposition: attachment; filename="emacs.desktop.tar.bz2"
Content-Transfer-Encoding: base64

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

--------------M8oQ0wYDc3CKEyYPLE0yycN0--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62575; Package emacs. Full text available.

Message received at 62575 <at> debbugs.gnu.org:


Received: (at 62575) by debbugs.gnu.org; 3 Apr 2023 16:29:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 03 12:29:57 2023
Received: from localhost ([127.0.0.1]:45070 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pjN49-0000Al-Fy
	for submit <at> debbugs.gnu.org; Mon, 03 Apr 2023 12:29:57 -0400
Received: from relay9-d.mail.gandi.net ([217.70.183.199]:52607)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1pjN46-0000AJ-Qr
 for 62575 <at> debbugs.gnu.org; Mon, 03 Apr 2023 12:29:55 -0400
Received: (Authenticated sender: juri@HIDDEN)
 by mail.gandi.net (Postfix) with ESMTPSA id BD7A8FF802;
 Mon,  3 Apr 2023 16:29:47 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Claudio Grondi <claudio.grondi@HIDDEN>
Subject: Re: bug#62575: 29.0.60; Tabs are not showing the right names of the
 buffers
In-Reply-To: <81644d5a-561c-95d5-14a3-5399c75dc4ea@HIDDEN> (Claudio
 Grondi's message of "Mon, 3 Apr 2023 14:37:35 +0200")
Organization: LINKOV.NET
References: <7f7b17d6-63e2-d7fc-1091-802f972f9a62@HIDDEN>
 <83cz4o17tp.fsf@HIDDEN>
 <67687ee4-089d-7997-f9a3-afde7be8b05e@HIDDEN>
 <83sfdjy9va.fsf@HIDDEN> <86355iixt1.fsf@HIDDEN>
 <3e479430-7e02-67de-8bb5-663a2769e6c0@HIDDEN>
 <86h6tyckn8.fsf@HIDDEN>
 <e7e7ae23-2953-2431-ce7e-ed5ef64819a6@HIDDEN>
 <86a5zpo6dd.fsf@HIDDEN>
 <81644d5a-561c-95d5-14a3-5399c75dc4ea@HIDDEN>
Date: Mon, 03 Apr 2023 19:11:49 +0300
Message-ID: <86zg7p860a.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 62575
Cc: Eli Zaretskii <eliz@HIDDEN>, 62575 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> I have now in my .emacs:
>
> (custom-set-variables
>   '(tab-line-exclude-modes nil)
>
> but this haven't changed the behavior. The tab-line is still disappearing
> when viewing *xxx* buffers.
>
> What am I still missing?

Probably this is because you enabled buffer-local 'tab-line-mode'
instead of 'global-tab-line-mode'.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62575; Package emacs. Full text available.

Message received at 62575 <at> debbugs.gnu.org:


Received: (at 62575) by debbugs.gnu.org; 3 Apr 2023 12:37:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 03 08:37:43 2023
Received: from localhost ([127.0.0.1]:43645 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pjJRO-0007Zr-Ud
	for submit <at> debbugs.gnu.org; Mon, 03 Apr 2023 08:37:43 -0400
Received: from mout1.freenet.de ([195.4.92.91]:49198)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <prvs=0457ca79f0=claudio.grondi@HIDDEN>)
 id 1pjJRM-0007Zg-33
 for 62575 <at> debbugs.gnu.org; Mon, 03 Apr 2023 08:37:40 -0400
Received: from [195.4.92.125] (helo=sub6.freenet.de)
 by mout1.freenet.de with esmtpa (ID claudio.grondi@HIDDEN) (port 25) (Exim
 4.94.2 #2) id 1pjJRE-00CyWW-Mc; Mon, 03 Apr 2023 14:37:36 +0200
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=freenet.de; 
 s=mjaymdexmjqk;
 h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From:
 References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=pMI/VhhE4Rzthjv8sb7EYjHed+ToGSmQqNAQGQo4MHc=; b=nmx2OeE4aZSng+YNjPsypjQfAl
 OANE4ssyWLBw3eywC7IV3d99m5B4PQxJ2E/HgxgfCfBVJeLa89c+akmRJ+7IEnsNgb2rhSVoJuIBa
 ylEFVJxTZyujkCwN9FNe/ttVFX7/rTWU/+KAr2SZtepPANrKxAOoV3NNfQGdGkdq0zPgKp8W0Brjd
 pu2R6ZDLZEppZ6jQHMqJnhdioGfinUu21kcWS35gJ8gRiaERWVEhGkuJ+uo7WaqMsYa+7dDW9FPQV
 zKnfWPfU9Ei6H7JLpkVa70eyF2UABJZ9DnWqDzx3URo5hN3pG+mEnfIi4POcRpJwbIBvkoXQSM9Fb
 uhJzlZYw==;
Received: from ip-109-42-240-50.web.vodafone.de ([109.42.240.50]:22903
 helo=[192.168.8.100])
 by sub6.freenet.de with esmtpsa (ID claudio.grondi@HIDDEN)
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (port 587) (Exim
 4.94.2 #2) id 1pjJRI-0086uw-8j; Mon, 03 Apr 2023 14:37:36 +0200
Message-ID: <81644d5a-561c-95d5-14a3-5399c75dc4ea@HIDDEN>
Date: Mon, 3 Apr 2023 14:37:35 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.4.2
Subject: Re: bug#62575: 29.0.60; Tabs are not showing the right names of the
 buffers
Content-Language: de-DE, en-US
To: Juri Linkov <juri@HIDDEN>
References: <7f7b17d6-63e2-d7fc-1091-802f972f9a62@HIDDEN>
 <83cz4o17tp.fsf@HIDDEN> <67687ee4-089d-7997-f9a3-afde7be8b05e@HIDDEN>
 <83sfdjy9va.fsf@HIDDEN> <86355iixt1.fsf@HIDDEN>
 <3e479430-7e02-67de-8bb5-663a2769e6c0@HIDDEN>
 <86h6tyckn8.fsf@HIDDEN>
 <e7e7ae23-2953-2431-ce7e-ed5ef64819a6@HIDDEN>
 <86a5zpo6dd.fsf@HIDDEN>
From: Claudio Grondi <claudio.grondi@HIDDEN>
In-Reply-To: <86a5zpo6dd.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-FN-MUUID: 16805254564EAF33B7CFEFO
X-Originated-At: 109.42.240.50!22903
X-Scan-TS: Mon, 03 Apr 2023 14:37:36 +0200
X-Spam-Score: -1.8 (-)
X-Debbugs-Envelope-To: 62575
Cc: Eli Zaretskii <eliz@HIDDEN>, 62575 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.8 (--)


I have now in my .emacs:

(custom-set-variables
   '(tab-line-exclude-modes nil)

but this haven't changed the behavior. The tab-line is still 
disappearing when viewing *xxx* buffers.

What am I still missing?


On 4/3/23 08:30, Juri Linkov wrote:
>> The "bug" is that clicking on the now visible tab *Completions* in the
>> tab-line will show the *Completions* buffer, but there will be no tab-line
>> anymore there to click to get back to the other buffers.
>>
>> Is it a bug of a tab-line or a feature?
> It's a feature.  You can customize 'tab-line-exclude-modes'
> and remove 'completion-list-mode' from its default value.





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62575; Package emacs. Full text available.

Message received at 62575 <at> debbugs.gnu.org:


Received: (at 62575) by debbugs.gnu.org; 3 Apr 2023 06:42:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 03 02:42:19 2023
Received: from localhost ([127.0.0.1]:43237 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pjDtT-0002w2-4W
	for submit <at> debbugs.gnu.org; Mon, 03 Apr 2023 02:42:19 -0400
Received: from relay3-d.mail.gandi.net ([217.70.183.195]:48427)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1pjDtP-0002ve-1X
 for 62575 <at> debbugs.gnu.org; Mon, 03 Apr 2023 02:42:17 -0400
Received: (Authenticated sender: juri@HIDDEN)
 by mail.gandi.net (Postfix) with ESMTPSA id B2F436000D;
 Mon,  3 Apr 2023 06:42:07 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Claudio Grondi <claudio.grondi@HIDDEN>
Subject: Re: bug#62575: 29.0.60; Tabs are not showing the right names of the
 buffers
In-Reply-To: <e7e7ae23-2953-2431-ce7e-ed5ef64819a6@HIDDEN> (Claudio
 Grondi's message of "Sun, 2 Apr 2023 23:45:47 +0200")
Organization: LINKOV.NET
References: <7f7b17d6-63e2-d7fc-1091-802f972f9a62@HIDDEN>
 <83cz4o17tp.fsf@HIDDEN>
 <67687ee4-089d-7997-f9a3-afde7be8b05e@HIDDEN>
 <83sfdjy9va.fsf@HIDDEN> <86355iixt1.fsf@HIDDEN>
 <3e479430-7e02-67de-8bb5-663a2769e6c0@HIDDEN>
 <86h6tyckn8.fsf@HIDDEN>
 <e7e7ae23-2953-2431-ce7e-ed5ef64819a6@HIDDEN>
Date: Mon, 03 Apr 2023 09:30:18 +0300
Message-ID: <86a5zpo6dd.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 62575
Cc: Eli Zaretskii <eliz@HIDDEN>, 62575 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> The "bug" is that clicking on the now visible tab *Completions* in the
> tab-line will show the *Completions* buffer, but there will be no tab-line
> anymore there to click to get back to the other buffers.
>
> Is it a bug of a tab-line or a feature?

It's a feature.  You can customize 'tab-line-exclude-modes'
and remove 'completion-list-mode' from its default value.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62575; Package emacs. Full text available.

Message received at 62575 <at> debbugs.gnu.org:


Received: (at 62575) by debbugs.gnu.org; 2 Apr 2023 21:45:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 02 17:45:56 2023
Received: from localhost ([127.0.0.1]:42876 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pj5WO-0003lj-3Z
	for submit <at> debbugs.gnu.org; Sun, 02 Apr 2023 17:45:56 -0400
Received: from mout1.freenet.de ([195.4.92.91]:54424)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <prvs=0456f5e338=claudio.grondi@HIDDEN>)
 id 1pj5WJ-0003lW-1z
 for 62575 <at> debbugs.gnu.org; Sun, 02 Apr 2023 17:45:54 -0400
Received: from [195.4.92.122] (helo=sub3.freenet.de)
 by mout1.freenet.de with esmtpa (ID claudio.grondi@HIDDEN) (port 25) (Exim
 4.94.2 #2) id 1pj5WC-00GEaP-MG; Sun, 02 Apr 2023 23:45:48 +0200
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=freenet.de; 
 s=mjaymdexmjqk;
 h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From:
 References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=JdSLP1oPlGXI7AChJB8TjGGBb5Ohv9MHX0jlrvYz7kw=; b=vZ/9jZofSSAoJBUZqcpa6cAjib
 Z/FvsFYRcNwgF9IMRDkfMIO+gdqRNOWDiaemnAxvoFbQcSjBxHK4OduOcE8LspSCXTBckhDYjiBJI
 qpSudmFsYSk+vF6mDyUDMfMn+rxTafHTi0QaJNckfrSNVsx4Z7lka1WrQkp3dMEv1oQD0HT3yvo2u
 8U4B5WJvZzsKmsrshwVJ8iSqaQEcy/Jm7DdOT3tI6HdrQjasjwuPtDTXZClI05n0kMu5d3vywDDOl
 rsCuxxbiORFHYxEZAOoWlqcuPacwQJNVQV1TTtEk5RaIrYonQonPPHjLSLEiN5nqFCIrE9iRdbuD+
 F42ws9Pg==;
Received: from ip-109-42-240-50.web.vodafone.de ([109.42.240.50]:31158
 helo=[192.168.8.100])
 by sub3.freenet.de with esmtpsa (ID claudio.grondi@HIDDEN)
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (port 587) (Exim
 4.94.2 #2) id 1pj5WG-00CoKU-9N; Sun, 02 Apr 2023 23:45:48 +0200
Message-ID: <e7e7ae23-2953-2431-ce7e-ed5ef64819a6@HIDDEN>
Date: Sun, 2 Apr 2023 23:45:47 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.4.2
Subject: Re: bug#62575: 29.0.60; Tabs are not showing the right names of the
 buffers
To: Juri Linkov <juri@HIDDEN>
References: <7f7b17d6-63e2-d7fc-1091-802f972f9a62@HIDDEN>
 <83cz4o17tp.fsf@HIDDEN> <67687ee4-089d-7997-f9a3-afde7be8b05e@HIDDEN>
 <83sfdjy9va.fsf@HIDDEN> <86355iixt1.fsf@HIDDEN>
 <3e479430-7e02-67de-8bb5-663a2769e6c0@HIDDEN>
 <86h6tyckn8.fsf@HIDDEN>
Content-Language: de-DE, en-US
From: Claudio Grondi <claudio.grondi@HIDDEN>
In-Reply-To: <86h6tyckn8.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-FN-MUUID: 1680471948C0B7081546E7O
X-Originated-At: 109.42.240.50!31158
X-Scan-TS: Sun, 02 Apr 2023 23:45:48 +0200
X-Spam-Score: -1.8 (-)
X-Debbugs-Envelope-To: 62575
Cc: Eli Zaretskii <eliz@HIDDEN>, 62575 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.8 (--)


OK ... I have tried it out, but the tab-line seems also to have its 
problems. Here how to reproduce what I mean should not happen:

1. emacs -Q

2. switch to visible tab-line.

3. create a help buffer, visit the *Messages* buffer and then:

4. type M-x TAB TAB to create a list of completions.

5. Use the modeline of the window showing *scratch*, *Messages*, ...  to 
show the buffer *Completions*

6. Use the modeline to get back to one of the other buffers

The "bug" is that clicking on the now visible tab *Completions* in the 
tab-line will show the *Completions* buffer, but there will be no 
tab-line anymore there to click to get back to the other buffers.

Is it a bug of a tab-line or a feature?

 From my perspective just only weird and not consistent behavior.


On 4/2/23 18:29, Juri Linkov wrote:
>> Am ** I ** insane expecting that clicking a button labeled "show me buffer
>> X" will show me buffer X???
> Then maybe you need to use the tab-line.  Clicking on a tab with
> a buffer name in global-tab-line-mode will always show you that buffer.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62575; Package emacs. Full text available.

Message received at 62575 <at> debbugs.gnu.org:


Received: (at 62575) by debbugs.gnu.org; 2 Apr 2023 16:41:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 02 12:41:24 2023
Received: from localhost ([127.0.0.1]:42501 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pj0lg-0000vV-Nq
	for submit <at> debbugs.gnu.org; Sun, 02 Apr 2023 12:41:24 -0400
Received: from relay3-d.mail.gandi.net ([217.70.183.195]:51543)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1pj0le-0000ur-VY
 for 62575 <at> debbugs.gnu.org; Sun, 02 Apr 2023 12:41:23 -0400
Received: (Authenticated sender: juri@HIDDEN)
 by mail.gandi.net (Postfix) with ESMTPSA id E00C460002;
 Sun,  2 Apr 2023 16:41:15 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Claudio Grondi <claudio.grondi@HIDDEN>
Subject: Re: bug#62575: 29.0.60; Tabs are not showing the right names of the
 buffers
In-Reply-To: <3e479430-7e02-67de-8bb5-663a2769e6c0@HIDDEN> (Claudio
 Grondi's message of "Sun, 2 Apr 2023 17:26:09 +0200")
Organization: LINKOV.NET
References: <7f7b17d6-63e2-d7fc-1091-802f972f9a62@HIDDEN>
 <83cz4o17tp.fsf@HIDDEN>
 <67687ee4-089d-7997-f9a3-afde7be8b05e@HIDDEN>
 <83sfdjy9va.fsf@HIDDEN> <86355iixt1.fsf@HIDDEN>
 <3e479430-7e02-67de-8bb5-663a2769e6c0@HIDDEN>
Date: Sun, 02 Apr 2023 19:29:47 +0300
Message-ID: <86h6tyckn8.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 62575
Cc: Eli Zaretskii <eliz@HIDDEN>, 62575 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> Am ** I ** insane expecting that clicking a button labeled "show me buffer
> X" will show me buffer X???

Then maybe you need to use the tab-line.  Clicking on a tab with
a buffer name in global-tab-line-mode will always show you that buffer.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62575; Package emacs. Full text available.

Message received at 62575 <at> debbugs.gnu.org:


Received: (at 62575) by debbugs.gnu.org; 2 Apr 2023 15:26:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 02 11:26:19 2023
Received: from localhost ([127.0.0.1]:42456 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pizb0-0007K0-Re
	for submit <at> debbugs.gnu.org; Sun, 02 Apr 2023 11:26:19 -0400
Received: from mout3.freenet.de ([195.4.92.93]:46668)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <prvs=0456f5e338=claudio.grondi@HIDDEN>)
 id 1pizav-0007Jn-Ou
 for 62575 <at> debbugs.gnu.org; Sun, 02 Apr 2023 11:26:17 -0400
Received: from [195.4.92.122] (helo=sub3.freenet.de)
 by mout3.freenet.de with esmtpa (ID claudio.grondi@HIDDEN) (port 25) (Exim
 4.94.2 #2) id 1pizan-0040MC-L7; Sun, 02 Apr 2023 17:26:10 +0200
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=freenet.de; 
 s=mjaymdexmjqk;
 h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From:
 References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=pVkArrYTqQjAHq6GqkFgLFEnfii4dyYFGnxzA1VTtBg=; b=q/7cJHYQjYhOuw/BSWvbv5apDX
 NpQiIZpASzuaPo9JunIIVvNGkKBVrBFflxxfpAbaq/dgUVOrHzJr7NY7MAr2nwVTckxuJ2VYGAsPv
 UbSuEEE979ALf1Eiznrv05zO+1PQJbs2urjsHybeLh8Yy8sIwRhjq6uyElJf12yKpBGqeXoBps7Ay
 RkFey//2dg/aC7ZC5EI260RdP2geX3Q1B+l8dJP63As9jRSZ7kwgj9cM8FDeyWoXTNT8dPfaFEWrt
 CyDdZUYbBdpmsRKIVgZYTxz8C7YpmsYIA91gwH1zwc7HVDD9KSCR7F2VoHoiBcjOUY7X/sVruVDzQ
 JWkFoCTQ==;
Received: from ip-109-42-240-50.web.vodafone.de ([109.42.240.50]:31767
 helo=[192.168.8.100])
 by sub3.freenet.de with esmtpsa (ID claudio.grondi@HIDDEN)
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (port 587) (Exim
 4.94.2 #2) id 1pizas-007WTA-Jn; Sun, 02 Apr 2023 17:26:10 +0200
Message-ID: <3e479430-7e02-67de-8bb5-663a2769e6c0@HIDDEN>
Date: Sun, 2 Apr 2023 17:26:09 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.4.2
Subject: Re: bug#62575: 29.0.60; Tabs are not showing the right names of the
 buffers
To: Juri Linkov <juri@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>
References: <7f7b17d6-63e2-d7fc-1091-802f972f9a62@HIDDEN>
 <83cz4o17tp.fsf@HIDDEN> <67687ee4-089d-7997-f9a3-afde7be8b05e@HIDDEN>
 <83sfdjy9va.fsf@HIDDEN> <86355iixt1.fsf@HIDDEN>
Content-Language: de-DE, en-US
From: Claudio Grondi <claudio.grondi@HIDDEN>
In-Reply-To: <86355iixt1.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-FN-MUUID: 168044917082FB8BCBA20EO
X-Originated-At: 109.42.240.50!31767
X-Scan-TS: Sun, 02 Apr 2023 17:26:10 +0200
X-Spam-Score: -1.8 (-)
X-Debbugs-Envelope-To: 62575
Cc: 62575 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.8 (--)


 From what I understand reading Juris response the core of the problem 
and reason for the issue is lack of unambiguous concept of what a Tab 
Bar is and what the Tabs in the Tab Bar represent.

On one side the Tab Bar is considered as an aid helping to switch view 
to another buffer by clicking on a Tab, on the other side what is 
actually shown after clicking a Tab Bar is not a visualization of a 
buffer but visualization of what is sometimes called "root window", 
sometimes "window configuration", sometimes "window" and sometimes a 
"frame" (it is the messing around with concepts what makes it so hard to 
know what is right and what is wrong).

To my current state of knowledge the Tabs in the Tab Bar represent in 
the context of Emacs what in context of an OS Desktop is called 
Workspace. The only difference of an Emacs Tab to a Workspace is that 
the Emacs Tab does not allow empty space not filled with a window 
showing visualization of some elisp object called a buffer.

It is on one side a mess to call the file saving Emacs state 
.emacs.desktop suggesting that it is a desktop saved and not a 'frame' 
or a 'set of window configurations', on the other side in my eyes 
already the right wording for saving the state of all of the Workspaces 
called Tabs in a Tab Bar.

My suggestion in this context would be not to work on a patch or on 
adding one more option, but to fix the problem with lack of an 
unambiguous concepts for 'frame', 'window', 'root window', 'window 
configuration', 'tab in tab-bar' first. I am aware that doing this would 
require to rewrite almost the entire Emacs documentation - but it 
appears in my eyes worth it considering the future benefits of a clear 
structure and well defined vocabulary to use while speaking about Emacs.

Anyway: if you click a button labeled "OK" you expect that the result of 
it would be confirmation and not a change of a button label to "Cancel". 
If you click a Menu item labeled "Open File" you expect that it will 
result in a process of opening a file and not in changing the label 
"Open File" to "Close File" or another one. Generally you expect by 
clicking on a button or a Tab or elsewhere that it would result in what 
is stated as text labeling it.

How much of overall confusion is needed in order to not be able to see 
such an obvious fact? Considering keeping a label on a button which text 
does not represent the action which will be triggered by clicking it a 
"design decision" worth to be preserved appears in my eyes just insane. 
How does it come you don't see it the same way I do???

Am ** I ** insane expecting that clicking a button labeled "show me 
buffer X" will show me buffer X???

---

By the way:

I have placed the below provided code into my Emacs initialization file 
and the issue is gone. On killing the buffer the labels on Tabs in the 
Tab Bar are updated. Thanks :) .

What still remains is the issue with renaming a buffer, enforcing my 
believe that fixing the problem with lack of a well unambiguous 
concept/definition of what a buffer, a tab-bar, a window, a tab, etc. 
actually represent will fix this and all similar issues just as a 
side-effect.


On 4/2/23 08:48, Juri Linkov wrote:
>>> The bug: the third Tab still keeps its  .emacs  label, the click on the
>>> second Tab labeled  .emacs  did not show the .emacs file, but the buffer
>>> *Messages*.
>> After looking at the code, I'm not sure this is a bug.  The tab names
>> are just labels, although they are conveniently set to the name of the
>> buffer in the window to be selected when the tab is current.  But
>> otherwise they are just labels.  When you click on the tab, its name
>> is updated to reflect the buffer shown in the selected window, so I
>> think Emacs is behaving correctly, although it might be a bit
>> unexpected.
>>
>> Juri, am I right?  If not, where is the code that's supposed to update
>> the labels when some buffers or windows are deleted or renamed?
> Right, tab names are just labels, or by another analogy are "bookmarks".
> It was a design decision to keep labels even after a buffer is killed,
> so the users know what buffer was displayed in the tab created to
> display that buffer.
>
> What we could do is to help to create additional code that could be
> used to update tab names according to user wishes.
>
> But the problem is that there are too many ways to do this,
> so the implementation logic is too fuzzy and not well defined.
> Here are some considerations that could be took into account:
>
> 1. First there is no need to update tabs with names set explicitly
>     by 'tab-rename' (C-x t r).
>
> 2. Also no need to update a tab name when non-current buffers
>     are killed on a window configuration saved to the tab,
>     in case when tab-bar-tab-name-function is unchanged from
>     its default value tab-bar-tab-name-current.  However,
>     when it's customized to tab-bar-tab-name-all, then
>     killing any buffer on the window configuration can change
>     the tab name.  There are other values that may or may not
>     change the tab name after the buffer is killed.
>
> 3. It seems the reported wish was to rename the tab
>     after the buffer was killed.  But I imagine some users
>     instead might prefer to automatically close all tabs that
>     displayed the killed buffer.  This also makes sense.
>
> 4. As noted by Ruijie, the code should react not only
>     to killing a buffer, but also to renaming a buffer.
>     This means that instead of using kill-buffer-hook,
>     it should rely on buffer-list-update-hook, but
>     the problem is that buffer-list-update-hook is
>     not called with a buffer name, so need to develop
>     much more complicated code.
>
> I invite Claudio and anyone to try the code I wrote
> for bug#52019 and bug#60096 as a staring point.
> Then after fulfilling the expectations, it could be
> later added to tab-bar.el as an option:
>
> ;; Visit affected tabs to update their names:
> (add-hook 'kill-buffer-hook
>            (lambda ()
>              (let ((tabs (reverse
>                           (mapcar (lambda (tab) (1+ (alist-get 'index tab)))
>                                   (tab-bar-get-buffer-tab nil t nil t)))))
>                (run-with-timer
>                 0 nil
>                 (lambda (tabs) (dolist (tab tabs) (tab-bar-select-tab tab)))
>                 tabs))))




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62575; Package emacs. Full text available.

Message received at 62575 <at> debbugs.gnu.org:


Received: (at 62575) by debbugs.gnu.org; 2 Apr 2023 07:02:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 02 03:02:18 2023
Received: from localhost ([127.0.0.1]:39162 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pirjG-0003tl-L4
	for submit <at> debbugs.gnu.org; Sun, 02 Apr 2023 03:02:18 -0400
Received: from relay9-d.mail.gandi.net ([217.70.183.199]:33069)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1pirjE-0003tT-Fj
 for 62575 <at> debbugs.gnu.org; Sun, 02 Apr 2023 03:02:16 -0400
Received: (Authenticated sender: juri@HIDDEN)
 by mail.gandi.net (Postfix) with ESMTPSA id C4004FF805;
 Sun,  2 Apr 2023 07:02:09 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#62575: 29.0.60; Tabs are not showing the right names of the
 buffers
In-Reply-To: <83sfdjy9va.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 01 Apr
 2023 17:07:05 +0300")
Organization: LINKOV.NET
References: <7f7b17d6-63e2-d7fc-1091-802f972f9a62@HIDDEN>
 <83cz4o17tp.fsf@HIDDEN>
 <67687ee4-089d-7997-f9a3-afde7be8b05e@HIDDEN>
 <83sfdjy9va.fsf@HIDDEN>
Date: Sun, 02 Apr 2023 09:48:58 +0300
Message-ID: <86355iixt1.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 62575
Cc: 62575 <at> debbugs.gnu.org, Claudio Grondi <claudio.grondi@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>> The bug: the third Tab still keeps its  .emacs  label, the click on the 
>> second Tab labeled  .emacs  did not show the .emacs file, but the buffer 
>> *Messages*.
>
> After looking at the code, I'm not sure this is a bug.  The tab names
> are just labels, although they are conveniently set to the name of the
> buffer in the window to be selected when the tab is current.  But
> otherwise they are just labels.  When you click on the tab, its name
> is updated to reflect the buffer shown in the selected window, so I
> think Emacs is behaving correctly, although it might be a bit
> unexpected.
>
> Juri, am I right?  If not, where is the code that's supposed to update
> the labels when some buffers or windows are deleted or renamed?

Right, tab names are just labels, or by another analogy are "bookmarks".
It was a design decision to keep labels even after a buffer is killed,
so the users know what buffer was displayed in the tab created to
display that buffer.

What we could do is to help to create additional code that could be
used to update tab names according to user wishes.

But the problem is that there are too many ways to do this,
so the implementation logic is too fuzzy and not well defined.
Here are some considerations that could be took into account:

1. First there is no need to update tabs with names set explicitly
   by 'tab-rename' (C-x t r).

2. Also no need to update a tab name when non-current buffers
   are killed on a window configuration saved to the tab,
   in case when tab-bar-tab-name-function is unchanged from
   its default value tab-bar-tab-name-current.  However,
   when it's customized to tab-bar-tab-name-all, then
   killing any buffer on the window configuration can change
   the tab name.  There are other values that may or may not
   change the tab name after the buffer is killed.

3. It seems the reported wish was to rename the tab
   after the buffer was killed.  But I imagine some users
   instead might prefer to automatically close all tabs that
   displayed the killed buffer.  This also makes sense.

4. As noted by Ruijie, the code should react not only
   to killing a buffer, but also to renaming a buffer.
   This means that instead of using kill-buffer-hook,
   it should rely on buffer-list-update-hook, but
   the problem is that buffer-list-update-hook is
   not called with a buffer name, so need to develop
   much more complicated code.

I invite Claudio and anyone to try the code I wrote
for bug#52019 and bug#60096 as a staring point.
Then after fulfilling the expectations, it could be
later added to tab-bar.el as an option:

;; Visit affected tabs to update their names:
(add-hook 'kill-buffer-hook
          (lambda ()
            (let ((tabs (reverse
                         (mapcar (lambda (tab) (1+ (alist-get 'index tab)))
                                 (tab-bar-get-buffer-tab nil t nil t)))))
              (run-with-timer
               0 nil
               (lambda (tabs) (dolist (tab tabs) (tab-bar-select-tab tab)))
               tabs))))




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62575; Package emacs. Full text available.

Message received at 62575 <at> debbugs.gnu.org:


Received: (at 62575) by debbugs.gnu.org; 1 Apr 2023 14:06:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 01 10:06:59 2023
Received: from localhost ([127.0.0.1]:38351 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pibsh-0003ON-IJ
	for submit <at> debbugs.gnu.org; Sat, 01 Apr 2023 10:06:59 -0400
Received: from eggs.gnu.org ([209.51.188.92]:50596)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1pibsf-0003O8-TM
 for 62575 <at> debbugs.gnu.org; Sat, 01 Apr 2023 10:06:58 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1pibsZ-0005rK-DB; Sat, 01 Apr 2023 10:06:51 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=OnMbzVoK2+SvntESxrTN5WQl2vcwPNy/EFXmw+8ehvI=; b=YrycvKYhGpMm1/0CVZ70
 eakb7XoiiNlpsOvZoV/n4B0yjuGSUr6n8AussBmmJxnsgEf5gZ2lfMeZFyVFCCRtfGPlvYHmnjuMW
 KlR6isHo0aLH+pMEwaCeLFN8MLozCK77ZBiv+UnjBzVSTC1sb2d3osyKDMMG4Q+zI04TkHQ2wMtFR
 WPFUK8cr3aoXUwcHdicJXGseDEBM+RykaPOk1zx4y6XJJi8Uo3cX7/NfgWWqNcNNAdaadK90TiUnl
 LFnj+UNJZ8qJrh/ElkzW3vPpB7pyWG/j6fu+VfQhRG9jeAkGsuO1orUPC7y7DMrwHAq6k2PhsJRgR
 agS6DyaD/nBfMw==;
Received: from [87.69.77.57] (helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1pibsY-0005q5-Bi; Sat, 01 Apr 2023 10:06:50 -0400
Date: Sat, 01 Apr 2023 17:07:05 +0300
Message-Id: <83sfdjy9va.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Claudio Grondi <claudio.grondi@HIDDEN>, Juri Linkov <juri@HIDDEN>
In-Reply-To: <67687ee4-089d-7997-f9a3-afde7be8b05e@HIDDEN> (message from
 Claudio Grondi on Sat, 1 Apr 2023 13:19:51 +0200)
Subject: Re: bug#62575: 29.0.60; Tabs are not showing the right names of the
 buffers
References: <7f7b17d6-63e2-d7fc-1091-802f972f9a62@HIDDEN>
 <83cz4o17tp.fsf@HIDDEN> <67687ee4-089d-7997-f9a3-afde7be8b05e@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 62575
Cc: 62575 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Sat, 1 Apr 2023 13:19:51 +0200
> Cc: 62575 <at> debbugs.gnu.org
> From: Claudio Grondi <claudio.grondi@HIDDEN>
> 
> Below the steps required to reproduce the bug:
> 
> 1. ~ $ emacs -Q
> 2. Menu -> Options -> Show/Hide -> Tab Bar (gives Tab *scratch*)
> 3. 1x click on rightmost * in the Tab Bar to create a new Tab (gives 2x 
> *scratch* Tabs)
> 4. With the rightmost (second) Tab open ~/.emacs (gives 1x *scratch* and 
> 1x .emacs Tabs)
> 5. 2x click on rightmost * in the Tab Bar to create twp new Tabs (gives 
> 1x *scratch* and 3x .emacs Tabs)
> 6. with rightmost Tab active kill the .emacs buffer [C-x k] (the Tabs 
> label turns  to *scratch the other two Tabs labeled .emacs keep their 
> labels, so there are 1x *scratch*, 2x .emacs, 1x *scratch* Tabs)
> 7. *click the second Tab labeled* .emacs' (result: the label of the Tab 
> turns to *Messages*. the Tab Bar shows *scratch* *Messages* .emacs 
> *scratch* )
> 
> The bug: the third Tab still keeps its  .emacs  label, the click on the 
> second Tab labeled  .emacs  did not show the .emacs file, but the buffer 
> *Messages*.

After looking at the code, I'm not sure this is a bug.  The tab names
are just labels, although they are conveniently set to the name of the
buffer in the window to be selected when the tab is current.  But
otherwise they are just labels.  When you click on the tab, its name
is updated to reflect the buffer shown in the selected window, so I
think Emacs is behaving correctly, although it might be a bit
unexpected.

Juri, am I right?  If not, where is the code that's supposed to update
the labels when some buffers or windows are deleted or renamed?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62575; Package emacs. Full text available.

Message received at 62575 <at> debbugs.gnu.org:


Received: (at 62575) by debbugs.gnu.org; 1 Apr 2023 12:32:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 01 08:32:27 2023
Received: from localhost ([127.0.0.1]:35677 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1piaPD-00083u-I3
	for submit <at> debbugs.gnu.org; Sat, 01 Apr 2023 08:32:27 -0400
Received: from eggs.gnu.org ([209.51.188.92]:43606)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1piaPC-00083f-H3
 for 62575 <at> debbugs.gnu.org; Sat, 01 Apr 2023 08:32:27 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1piaP6-0007gB-Sv; Sat, 01 Apr 2023 08:32:20 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=Op2YdNbx2GZTidWQX6MMFEnxNjpiRGoK9ksbuF2CJ5E=; b=RAysQdpXkccK
 Y8tjR8bq/PXdBCGMNwvb0ycHrJD7c7zqXZB3A8q/yesfndCgKQelM+IEuhpYu3594YQn7vNOvM86Y
 sNiPN5oZIu/Tu18VY8M8876yozf0jI3qIysThem8xPB/EUS2pPvfKTbcYaNAZnb0ojUOqLAB1KcG+
 bh8NE+afeKwbnrE721KY6m0muGIM77AvJ4vn9Vi4UfNzLfB2UilspXyn+74LIq4gUeRVu3lteqJY3
 BA/tb3pe3rp+35kt255IF/6YqPh51xlEIyRotYGv/ZXrPHQ/FivXNJd4GKEuJLtjHbJWCO59x65p7
 vREx+aLqBjcKuF2tNGTklg==;
Received: from [87.69.77.57] (helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1piaP6-00026o-0w; Sat, 01 Apr 2023 08:32:20 -0400
Date: Sat, 01 Apr 2023 15:32:36 +0300
Message-Id: <835yafzst7.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Claudio Grondi <claudio.grondi@HIDDEN>
In-Reply-To: <98caff99-1890-cf9e-9b49-7f4882c89caa@HIDDEN> (message from
 Claudio Grondi on Sat, 1 Apr 2023 14:28:14 +0200)
Subject: Re: bug#62575: 29.0.60; Tabs are not showing the right names of the
 buffers
References: <7f7b17d6-63e2-d7fc-1091-802f972f9a62@HIDDEN>
 <83cz4o17tp.fsf@HIDDEN> <67687ee4-089d-7997-f9a3-afde7be8b05e@HIDDEN>
 <sdvedp33jsq.fsf@HIDDEN> <98caff99-1890-cf9e-9b49-7f4882c89caa@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 62575
Cc: ruijie@HIDDEN, 62575 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Sat, 1 Apr 2023 14:28:14 +0200
> Cc: Eli Zaretskii <eliz@HIDDEN>, 62575 <at> debbugs.gnu.org
> From: Claudio Grondi <claudio.grondi@HIDDEN>
> 
> 
> Along with this I have also noticed following problem:
> 
> 1. ~ $ emacs -Q
> 2. Menu -> Options -> Show/Hide -> Tab Bar (gives Tab *scratch*)
> 3. resize the Emacs window to a small one, but large enough to show some Tab labels
> 3. 1x click on rightmost * in the Tab Bar to create a new Tab
> 
> The bug: No new Tab will be created and the minibuf and *Messages* show:
> 
>    split-window: Window #<window 3 on *Messages*> too small for splitting
> 
> Is it worth a new bug number?

Yes, please.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62575; Package emacs. Full text available.

Message received at 62575 <at> debbugs.gnu.org:


Received: (at 62575) by debbugs.gnu.org; 1 Apr 2023 12:28:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 01 08:28:27 2023
Received: from localhost ([127.0.0.1]:35672 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1piaLK-0007w6-Rg
	for submit <at> debbugs.gnu.org; Sat, 01 Apr 2023 08:28:27 -0400
Received: from mout1.freenet.de ([195.4.92.91]:33452)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <prvs=0455f10216=claudio.grondi@HIDDEN>)
 id 1piaLI-0007vy-RS
 for 62575 <at> debbugs.gnu.org; Sat, 01 Apr 2023 08:28:25 -0400
Received: from [195.4.92.125] (helo=sub6.freenet.de)
 by mout1.freenet.de with esmtpa (ID claudio.grondi@HIDDEN) (port 25) (Exim
 4.94.2 #2) id 1piaL6-003blk-AX; Sat, 01 Apr 2023 14:28:16 +0200
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=freenet.de; 
 s=mjaymdexmjqk;
 h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From:
 References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=wc/Ts6WLF3KMG++hNIEMiN5gV7FV+qa8IHCos3QJgO8=; b=EcLE7rS3+g4aoitsNxwuJkImbc
 Ez5b0INfhH3erwrRG5vFR0hxnDtLcW8Gw6bjNrXuJGoAcAdvooH9pSqZ89ifesjg+agG0xe7IVUmt
 BQJc3QxFSShj9zadct+S8Vgzs+odhXAwpJ0O4nhJL7npXS/WRAaB6msvQACl496TOoA3BpdOqJm4g
 AvYKSzOfeCxTdoV6RKThrHAI+LEXrnjEA7e42phehuhmwbR8kH/E+N56O3Scy+aSgYyP7EC0V9FXA
 eXaw5jqG1kvIAXf37OqAsKVaaovjb8EMQYmU4xViKO0KJOmOoRHQk1QfIutN2mPFj92y4v4T0N/lL
 53G13jgA==;
Received: from ip-109-42-240-50.web.vodafone.de ([109.42.240.50]:11212
 helo=[192.168.8.100])
 by sub6.freenet.de with esmtpsa (ID claudio.grondi@HIDDEN)
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (port 587) (Exim
 4.94.2 #2) id 1piaL9-002nNc-RK; Sat, 01 Apr 2023 14:28:15 +0200
Message-ID: <98caff99-1890-cf9e-9b49-7f4882c89caa@HIDDEN>
Date: Sat, 1 Apr 2023 14:28:14 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.4.2
Subject: Re: bug#62575: 29.0.60; Tabs are not showing the right names of the
 buffers
To: Ruijie Yu <ruijie@HIDDEN>
References: <7f7b17d6-63e2-d7fc-1091-802f972f9a62@HIDDEN>
 <83cz4o17tp.fsf@HIDDEN> <67687ee4-089d-7997-f9a3-afde7be8b05e@HIDDEN>
 <sdvedp33jsq.fsf@HIDDEN>
Content-Language: de-DE, en-US
From: Claudio Grondi <claudio.grondi@HIDDEN>
In-Reply-To: <sdvedp33jsq.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-FN-MUUID: 16803520951A775A4EA4C2O
X-Originated-At: 109.42.240.50!11212
X-Scan-TS: Sat, 01 Apr 2023 14:28:15 +0200
X-Spam-Score: -1.8 (-)
X-Debbugs-Envelope-To: 62575
Cc: Eli Zaretskii <eliz@HIDDEN>, 62575 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.8 (--)


Along with this I have also noticed following problem:

1. ~ $ emacs -Q
2. Menu -> Options -> Show/Hide -> Tab Bar (gives Tab *scratch*)
3. resize the Emacs window to a small one, but large enough to show some Tab labels
3. 1x click on rightmost * in the Tab Bar to create a new Tab

The bug: No new Tab will be created and the minibuf and *Messages* show:

   split-window: Window #<window 3 on *Messages*> too small for splitting

Is it worth a new bug number?


On 4/1/23 13:38, Ruijie Yu wrote:

> Claudio Grondi <claudio.grondi@HIDDEN> writes:
>
>> Below the steps required to reproduce the bug:
>>
>> 1. ~ $ emacs -Q
>> 2. Menu -> Options -> Show/Hide -> Tab Bar (gives Tab *scratch*)
>> 3. 1x click on rightmost * in the Tab Bar to create a new Tab (gives 2x
>> *scratch* Tabs)
>> 4. With the rightmost (second) Tab open ~/.emacs (gives 1x *scratch* and 1x
>> .emacs Tabs)
>> 5. 2x click on rightmost * in the Tab Bar to create twp new Tabs (gives 1x
>> *scratch* and 3x .emacs Tabs)
>> 6. with rightmost Tab active kill the .emacs buffer [C-x k] (the Tabs label
>> turns  to *scratch the other two Tabs labeled .emacs keep their labels, so there
>> are 1x *scratch*, 2x .emacs, 1x *scratch* Tabs)
>> 7. *click the second Tab labeled* .emacs' (result: the label of the Tab turns to
>> *Messages*. the Tab Bar shows *scratch* *Messages* .emacs *scratch* )
>>
>> The bug: the third Tab still keeps its  .emacs  label, the click on the second
>> Tab labeled  .emacs  did not show the .emacs file, but the buffer *Messages*.
> Can reproduce in 30 (db7e95531ac36ae842787b6c5f2859d0642c78cc) and 28.2
> (tagged) -- so even if this is a regression, it would not be a recent
> one.
>
> Essentially, the reported bug can be summarized as: the tab names on a
> tab bar do not respond to situations where a buffer has been deleted.
>
> In addition, I noticed that this behavior extends to renaming a buffer
> as well (tried it in 30, not in 28.2).  The reproducer is to replace (6)
> above with the following, and observe that the other tabs do not update
> their names until you click on them.
>
>      C-x x r hello RET
>




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62575; Package emacs. Full text available.

Message received at 62575 <at> debbugs.gnu.org:


Received: (at 62575) by debbugs.gnu.org; 1 Apr 2023 11:55:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 01 07:55:40 2023
Received: from localhost ([127.0.0.1]:35656 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1piZpc-00077A-HL
	for submit <at> debbugs.gnu.org; Sat, 01 Apr 2023 07:55:40 -0400
Received: from eggs.gnu.org ([209.51.188.92]:49046)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1piZpb-00076z-Bq
 for 62575 <at> debbugs.gnu.org; Sat, 01 Apr 2023 07:55:39 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1piZpV-0001Dw-Er; Sat, 01 Apr 2023 07:55:33 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=Cnbk8/PmjgyNYJ4EWhd14MyIGPx9egoELiYaklqOX+E=; b=XP0Z3vmHT9/xxDVZTJ0x
 rNr0xD2D1vB1OmYwoGQA2N+fHJA9iHVH+kf+UyOjij4pK+TqTsg+g2skVbyGhGrMc8xxxNVJGeJMC
 TVvuUt6Z5qBjQmk8w9qp6uW+Y1GZhiOW2wX7pdSKKvGPArxX58trc+eOa897DV2Oc92gRQnQlYDxU
 gL4bn0t8ajXwSOjj0YP0FW2bvDy/xxqlbiMZIS46Bt20YCLaVgEPYPSnW0RngbdmPHxKth2ohv9SG
 P7tZPWqDrSe7+8TZNXgC3yv+bzwmgmKBSTVTeM35MnuSFRJjtG51ok7meXAWi5Iwn5q3soYtpmO3i
 TKFX4hxvk0z++w==;
Received: from [87.69.77.57] (helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1piZpU-0004I7-OJ; Sat, 01 Apr 2023 07:55:33 -0400
Date: Sat, 01 Apr 2023 14:55:49 +0300
Message-Id: <837cuvzuii.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Claudio Grondi <claudio.grondi@HIDDEN>
In-Reply-To: <67687ee4-089d-7997-f9a3-afde7be8b05e@HIDDEN> (message from
 Claudio Grondi on Sat, 1 Apr 2023 13:19:51 +0200)
Subject: Re: bug#62575: 29.0.60; Tabs are not showing the right names of the
 buffers
References: <7f7b17d6-63e2-d7fc-1091-802f972f9a62@HIDDEN>
 <83cz4o17tp.fsf@HIDDEN> <67687ee4-089d-7997-f9a3-afde7be8b05e@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 62575
Cc: 62575 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Sat, 1 Apr 2023 13:19:51 +0200
> Cc: 62575 <at> debbugs.gnu.org
> From: Claudio Grondi <claudio.grondi@HIDDEN>
> 
> Below the steps required to reproduce the bug:
> 
> 1. ~ $ emacs -Q
> 2. Menu -> Options -> Show/Hide -> Tab Bar (gives Tab *scratch*)
> 3. 1x click on rightmost * in the Tab Bar to create a new Tab (gives 2x 
> *scratch* Tabs)
> 4. With the rightmost (second) Tab open ~/.emacs (gives 1x *scratch* and 
> 1x .emacs Tabs)
> 5. 2x click on rightmost * in the Tab Bar to create twp new Tabs (gives 
> 1x *scratch* and 3x .emacs Tabs)
> 6. with rightmost Tab active kill the .emacs buffer [C-x k] (the Tabs 
> label turns  to *scratch the other two Tabs labeled .emacs keep their 
> labels, so there are 1x *scratch*, 2x .emacs, 1x *scratch* Tabs)
> 7. *click the second Tab labeled* .emacs' (result: the label of the Tab 
> turns to *Messages*. the Tab Bar shows *scratch* *Messages* .emacs 
> *scratch* )
> 
> The bug: the third Tab still keeps its  .emacs  label, the click on the 
> second Tab labeled  .emacs  did not show the .emacs file, but the buffer 
> *Messages*.

Thanks.  Now I see the problem and can work on fixing it.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62575; Package emacs. Full text available.

Message received at 62575 <at> debbugs.gnu.org:


Received: (at 62575) by debbugs.gnu.org; 1 Apr 2023 11:48:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 01 07:48:35 2023
Received: from localhost ([127.0.0.1]:35647 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1piZik-0006nG-ID
	for submit <at> debbugs.gnu.org; Sat, 01 Apr 2023 07:48:34 -0400
Received: from netyu.xyz ([152.44.41.246]:49462 helo=mail.netyu.xyz)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ruijie@HIDDEN>) id 1piZii-0006n6-M1
 for 62575 <at> debbugs.gnu.org; Sat, 01 Apr 2023 07:48:33 -0400
Received: from fw.net.yu.netyu.xyz (<unknown> [27.18.235.88])
 by netyu.xyz (OpenSMTPD) with ESMTPSA id 0fdb4651
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Sat, 1 Apr 2023 11:48:31 +0000 (UTC)
References: <7f7b17d6-63e2-d7fc-1091-802f972f9a62@HIDDEN>
 <83cz4o17tp.fsf@HIDDEN> <67687ee4-089d-7997-f9a3-afde7be8b05e@HIDDEN>
User-agent: mu4e 1.9.22; emacs 30.0.50
From: Ruijie Yu <ruijie@HIDDEN>
To: Claudio Grondi <claudio.grondi@HIDDEN>
Subject: Re: bug#62575: 29.0.60; Tabs are not showing the right names of the
 buffers
Date: Sat, 01 Apr 2023 19:38:00 +0800
In-reply-to: <67687ee4-089d-7997-f9a3-afde7be8b05e@HIDDEN>
Message-ID: <sdvedp33jsq.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 62575
Cc: Eli Zaretskii <eliz@HIDDEN>, 62575 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)


Claudio Grondi <claudio.grondi@HIDDEN> writes:

> Below the steps required to reproduce the bug:
>
> 1. ~ $ emacs -Q
> 2. Menu -> Options -> Show/Hide -> Tab Bar (gives Tab *scratch*)
> 3. 1x click on rightmost * in the Tab Bar to create a new Tab (gives 2x
> *scratch* Tabs)
> 4. With the rightmost (second) Tab open ~/.emacs (gives 1x *scratch* and =
1x
> .emacs Tabs)
> 5. 2x click on rightmost * in the Tab Bar to create twp new Tabs (gives 1x
> *scratch* and 3x .emacs Tabs)
> 6. with rightmost Tab active kill the .emacs buffer [C-x k] (the Tabs lab=
el
> turns=C2=A0 to *scratch the other two Tabs labeled .emacs keep their labe=
ls, so there
> are 1x *scratch*, 2x .emacs, 1x *scratch* Tabs)
> 7. *click the second Tab labeled* .emacs' (result: the label of the Tab t=
urns to
> *Messages*. the Tab Bar shows *scratch* *Messages* .emacs *scratch* )
>
> The bug: the third Tab still keeps its=C2=A0 .emacs=C2=A0 label, the clic=
k on the second
> Tab labeled=C2=A0 .emacs=C2=A0 did not show the .emacs file, but the buff=
er *Messages*.

Can reproduce in 30 (db7e95531ac36ae842787b6c5f2859d0642c78cc) and 28.2
(tagged) -- so even if this is a regression, it would not be a recent
one.

Essentially, the reported bug can be summarized as: the tab names on a
tab bar do not respond to situations where a buffer has been deleted.

In addition, I noticed that this behavior extends to renaming a buffer
as well (tried it in 30, not in 28.2).  The reproducer is to replace (6)
above with the following, and observe that the other tabs do not update
their names until you click on them.

    C-x x r hello RET

--=20
Best,


RY




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62575; Package emacs. Full text available.

Message received at 62575 <at> debbugs.gnu.org:


Received: (at 62575) by debbugs.gnu.org; 1 Apr 2023 11:19:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 01 07:19:56 2023
Received: from localhost ([127.0.0.1]:35618 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1piZH2-0003bn-8t
	for submit <at> debbugs.gnu.org; Sat, 01 Apr 2023 07:19:56 -0400
Received: from mout1.freenet.de ([195.4.92.91]:59636)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <prvs=0455f10216=claudio.grondi@HIDDEN>)
 id 1piZH0-0003be-VL
 for 62575 <at> debbugs.gnu.org; Sat, 01 Apr 2023 07:19:55 -0400
Received: from [195.4.92.119] (helo=sub0.freenet.de)
 by mout1.freenet.de with esmtpa (ID claudio.grondi@HIDDEN) (port 25) (Exim
 4.94.2 #2) id 1piZGv-002ZM3-5e; Sat, 01 Apr 2023 13:19:53 +0200
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=freenet.de; 
 s=mjaymdexmjqk;
 h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From:
 References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=VYoc7FiUtpgUaaBewNW7U0VeoczKEIajr7Q/bp0ImZk=; b=YFjxAZ1TtkCKrO25NoiZe6LfGs
 5YuzwELLKs8Rz7n9LQLRLDSuXfRmfUp2duh1ke2YAs1kHSQC41HjRP6SqbJ/z359VtW+MVqyhYdz3
 r586aAC3lX8MhjFCIrC7xy12J2NSuq3scAblgiKcdHZ/yLH0Bjr5LOmVXCvDmmFjuVXhaYHKDt6uB
 kZ4qn9YMu013YqQ93obKkrdEGntOHyJCABbxFNP29lVW21enPBzoTTbmOSSgSzvQbiF+s138bTEku
 HoI0Z9n+0nuRWiEcWUW/mJ3L6ZOu0NrkZ3qMdQwO6rJVSd0+Z1iH34SGyVhT5jsgh+rttcGkHQdZg
 dHDRMuQA==;
Received: from ip-109-42-240-50.web.vodafone.de ([109.42.240.50]:4698
 helo=[192.168.8.100])
 by sub0.freenet.de with esmtpsa (ID claudio.grondi@HIDDEN)
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (port 587) (Exim
 4.94.2 #2) id 1piZGy-001Y35-Op; Sat, 01 Apr 2023 13:19:52 +0200
Message-ID: <67687ee4-089d-7997-f9a3-afde7be8b05e@HIDDEN>
Date: Sat, 1 Apr 2023 13:19:51 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.4.2
Subject: Re: bug#62575: 29.0.60; Tabs are not showing the right names of the
 buffers
Content-Language: de-DE, en-US
To: Eli Zaretskii <eliz@HIDDEN>
References: <7f7b17d6-63e2-d7fc-1091-802f972f9a62@HIDDEN>
 <83cz4o17tp.fsf@HIDDEN>
From: Claudio Grondi <claudio.grondi@HIDDEN>
In-Reply-To: <83cz4o17tp.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-FN-MUUID: 1680347992960C09CC6A72O
X-Originated-At: 109.42.240.50!4698
X-Scan-TS: Sat, 01 Apr 2023 13:19:52 +0200
X-Spam-Score: -1.8 (-)
X-Debbugs-Envelope-To: 62575
Cc: 62575 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.8 (--)

Below the steps required to reproduce the bug:

1. ~ $ emacs -Q
2. Menu -> Options -> Show/Hide -> Tab Bar (gives Tab *scratch*)
3. 1x click on rightmost * in the Tab Bar to create a new Tab (gives 2x 
*scratch* Tabs)
4. With the rightmost (second) Tab open ~/.emacs (gives 1x *scratch* and 
1x .emacs Tabs)
5. 2x click on rightmost * in the Tab Bar to create twp new Tabs (gives 
1x *scratch* and 3x .emacs Tabs)
6. with rightmost Tab active kill the .emacs buffer [C-x k] (the Tabs 
label turns  to *scratch the other two Tabs labeled .emacs keep their 
labels, so there are 1x *scratch*, 2x .emacs, 1x *scratch* Tabs)
7. *click the second Tab labeled* .emacs' (result: the label of the Tab 
turns to *Messages*. the Tab Bar shows *scratch* *Messages* .emacs 
*scratch* )

The bug: the third Tab still keeps its  .emacs  label, the click on the 
second Tab labeled  .emacs  did not show the .emacs file, but the buffer 
*Messages*.

See also  https://emacs.stackexchange.com/a/76601/40171


On 4/1/23 07:37, Eli Zaretskii wrote:
>> Date: Fri, 31 Mar 2023 23:06:02 +0200
>> From: Claudio Grondi <claudio.grondi@HIDDEN>
>>
>> I have switched in between from gtk to lucid observing the mentioned issue.
>>
>> See
>> https://emacs.stackexchange.com/questions/76593/bug-or-feature-click-on-tab-does-not-give-the-buffer-with-the-shown-buffer-name
> Please always report bugs with all the details included in the
> report.  Please do NOT just cite a report posted elsewhere, but
> include all the details here.  We want our bug tracker to have all the
> information, and do not want to depend on some other site, which may
> or may not keep this information for the years to come.
>
>> This should be easy to reproduce, right?
> I don't know, because you didn't show the steps for reproducing the
> problem, neither here nor on SE.  The description on SE starts in the
> middle of a situation without telling how to get to that situation
> starting from "emacs -Q".  Can you describe those steps, please?
>
>> Can you reproduce it?
> Not if I try to do so naïvely.  Here's what I tried:
>
>    emacs -Q
>    M-x tab-bar-mode RET
>    click on the "+" to add a new tab
>    C-x C-f ~/.emacs RET
>
> Now I have two tabs: one showing "*scratch*", the other showing
> ".emacs".  Clicking on a tab causes Emacs to display the buffer whose
> name is on the tab I click.
>
> Does this mean the problem is not reproduced here?

No, you haven't created the situation shown in the images with 3x .emacs 
Tabs.

You ask probably only to force me to provide a textual description as I 
assume you know exactly that what you described can't show the buggy 
behavior.






Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62575; Package emacs. Full text available.

Message received at 62575 <at> debbugs.gnu.org:


Received: (at 62575) by debbugs.gnu.org; 1 Apr 2023 05:37:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 01 01:37:34 2023
Received: from localhost ([127.0.0.1]:35200 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1piTvh-0007Ih-SB
	for submit <at> debbugs.gnu.org; Sat, 01 Apr 2023 01:37:34 -0400
Received: from eggs.gnu.org ([209.51.188.92]:43248)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1piTve-0007IS-FK
 for 62575 <at> debbugs.gnu.org; Sat, 01 Apr 2023 01:37:31 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1piTvX-0003QN-Qe; Sat, 01 Apr 2023 01:37:23 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=EOzRnoaf60G6q1vWm9gnrH/D5s1ODRoy6lGE2izoM0A=; b=dsTMAS4F2iUpvItHucAx
 WzqwT1dDTLFyJp8jToNr5LZ7femwCRN1wQQTyriInOC6hQSnvVxEIThQfc0XYa2nenhmj04IVf2cG
 8PWarZz4hETSYZk5lvfrgc/zqjwVSHq0DkPawmXv/AqX/hkSalf9BREOqoS+iMFmFijP8YtZPniuj
 ndHtqcpry/SgdOwHvNyDARQWOhiOhDNQ4YQ0juBSlvQt1rj35EQOi+bA3cr2+53Ndk7e7gjsF3P/Y
 nYUUlYwf8VuPdI4Uryb+q/wfs45p5aS321MFDEqV5X9GP+sb7uCyzK3gb5kalQo1u1qOibQNNVNGI
 JcIUNnRmmwIC/A==;
Received: from [87.69.77.57] (helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1piTvW-0001dN-NQ; Sat, 01 Apr 2023 01:37:23 -0400
Date: Sat, 01 Apr 2023 08:37:38 +0300
Message-Id: <83cz4o17tp.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Claudio Grondi <claudio.grondi@HIDDEN>
In-Reply-To: <7f7b17d6-63e2-d7fc-1091-802f972f9a62@HIDDEN> (message from
 Claudio Grondi on Fri, 31 Mar 2023 23:06:02 +0200)
Subject: Re: bug#62575: 29.0.60;
 Tabs are not showing the right names of the buffers
References: <7f7b17d6-63e2-d7fc-1091-802f972f9a62@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 62575
Cc: 62575 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Fri, 31 Mar 2023 23:06:02 +0200
> From: Claudio Grondi <claudio.grondi@HIDDEN>
> 
> I have switched in between from gtk to lucid observing the mentioned issue.
> 
> See 
> https://emacs.stackexchange.com/questions/76593/bug-or-feature-click-on-tab-does-not-give-the-buffer-with-the-shown-buffer-name

Please always report bugs with all the details included in the
report.  Please do NOT just cite a report posted elsewhere, but
include all the details here.  We want our bug tracker to have all the
information, and do not want to depend on some other site, which may
or may not keep this information for the years to come.

> This should be easy to reproduce, right?

I don't know, because you didn't show the steps for reproducing the
problem, neither here nor on SE.  The description on SE starts in the
middle of a situation without telling how to get to that situation
starting from "emacs -Q".  Can you describe those steps, please?

> Can you reproduce it?

Not if I try to do so naïvely.  Here's what I tried:

  emacs -Q
  M-x tab-bar-mode RET
  click on the "+" to add a new tab
  C-x C-f ~/.emacs RET

Now I have two tabs: one showing "*scratch*", the other showing
".emacs".  Clicking on a tab causes Emacs to display the buffer whose
name is on the tab I click.

Does this mean the problem is not reproduced here?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62575; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 31 Mar 2023 21:06:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 31 17:06:16 2023
Received: from localhost ([127.0.0.1]:34690 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1piLwt-0000dz-GN
	for submit <at> debbugs.gnu.org; Fri, 31 Mar 2023 17:06:16 -0400
Received: from lists.gnu.org ([209.51.188.17]:47618)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <prvs=045473e923=claudio.grondi@HIDDEN>)
 id 1piLws-0000ds-2e
 for submit <at> debbugs.gnu.org; Fri, 31 Mar 2023 17:06:14 -0400
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 <prvs=045473e923=claudio.grondi@HIDDEN>)
 id 1piLwr-00054O-HA
 for bug-gnu-emacs@HIDDEN; Fri, 31 Mar 2023 17:06:13 -0400
Received: from mout3.freenet.de ([2001:748:100:40::2:5])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1)
 (envelope-from <prvs=045473e923=claudio.grondi@HIDDEN>)
 id 1piLwn-00023W-VT
 for bug-gnu-emacs@HIDDEN; Fri, 31 Mar 2023 17:06:12 -0400
Received: from [195.4.92.121] (helo=sub2.freenet.de)
 by mout3.freenet.de with esmtpa (ID claudio.grondi@HIDDEN) (port 25) (Exim
 4.94.2 #2) id 1piLwc-00B4fS-Sn
 for bug-gnu-emacs@HIDDEN; Fri, 31 Mar 2023 23:06:03 +0200
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=freenet.de; 
 s=mjaymdexmjqk;
 h=Content-Transfer-Encoding:Content-Type:Subject:From:To:
 MIME-Version:Date:Message-ID:Sender:Reply-To:Cc:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=PP3Ww8YpqAR6Qx1jjdIdTCPrvScxKhVlpZ0iU7jUKKI=; b=iQ36U4o5B3VimbJGrQBVZChQmk
 0KsCv35sAI5Z3U7O1IDmGhV2BEt7iev5GcV65WU5eE8hi5/j3uM1SJTsGRXmLrosSXLIAa2Vb7KqB
 WfM0P/vDeIrN7gMA1X5dpUWEAyLQW8HaSuOw4CcKZ12ct7eIvxpBGZFVoqwtnVfTiOlnY8t/ihS06
 o/Z/v/xREDplr6iSezVgB8CIfvApj7I//VstmX5sgY9zWpAciKxia7nJtaCRA3S5LoX4LpBSpzsva
 Kl2po+vz/8a4qbEyaxzwqfiJ0ERX5RML6ACdga2FxdfSt1usFsm5PgBJsXu1yfPMw0f8pJtZtonpv
 BcJQejRA==;
Received: from ip-109-42-240-50.web.vodafone.de ([109.42.240.50]:17150
 helo=[192.168.8.100])
 by sub2.freenet.de with esmtpsa (ID claudio.grondi@HIDDEN)
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (port 587) (Exim
 4.94.2 #2) id 1piLwh-006gx1-CS
 for bug-gnu-emacs@HIDDEN; Fri, 31 Mar 2023 23:06:03 +0200
Message-ID: <7f7b17d6-63e2-d7fc-1091-802f972f9a62@HIDDEN>
Date: Fri, 31 Mar 2023 23:06:02 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.4.2
Content-Language: de-DE, en-US
To: bug-gnu-emacs@HIDDEN
From: Claudio Grondi <claudio.grondi@HIDDEN>
Subject: 29.0.60; Tabs are not showing the right names of the buffers
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-FN-MUUID: 16802967633B3A0E97696CO
X-Originated-At: 109.42.240.50!17150
X-Scan-TS: Fri, 31 Mar 2023 23:06:03 +0200
Received-SPF: pass client-ip=2001:748:100:40::2:5;
 envelope-from=prvs=045473e923=claudio.grondi@HIDDEN; helo=mout3.freenet.de
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

To: bug-gnu-emacs@HIDDEN
Subject: 29.0.60; Tabs are not showing the right names of the buffers

--text follows this line--

I have switched in between from gtk to lucid observing the mentioned issue.

See 
https://emacs.stackexchange.com/questions/76593/bug-or-feature-click-on-tab-does-not-give-the-buffer-with-the-shown-buffer-name

This should be easy to reproduce, right?

Can you reproduce it?



In GNU Emacs 29.0.60 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo
  version 1.16.0, Xaw3d scroll bars) of 2023-03-30 built on OoO
Repository revision: 4508a024e81834cfb01c6f7984182e1a6cbb91ea
Repository branch: emacs-29
Windowing system distributor 'The X.Org Foundation', version 11.0.12101003
System Description: Linux Mint 21

Configured using:
  'configure --with-x-toolkit=lucid --with-imagemagick'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ
IMAGEMAGICK JPEG LCMS2 LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XAW3D XDBE XIM XINPUT2 XPM
LUCID ZLIB

Important settings:
   value of $LC_MONETARY: C.UTF-8
   value of $LC_NUMERIC: C.UTF-8
   value of $LC_TIME: C.UTF-8
   value of $LANG: C.UTF-8
   value of $XMODIFIERS: @im=none
   locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
   shell-dirtrack-mode: t
   delete-selection-mode: t
   save-place-mode: t
   display-time-mode: t
   cua-mode: t
   tooltip-mode: t
   global-eldoc-mode: t
   eldoc-mode: t
   show-paren-mode: t
   electric-indent-mode: t
   mouse-wheel-mode: t
   tool-bar-mode: t
   tab-bar-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   column-number-mode: t
   line-number-mode: t
   indent-tabs-mode: t
   transient-mark-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t

Load-path shadows:
/home/neo/.emacs.d/elpa/svg-1.1/svg hides 
/usr/local/share/emacs/29.0.60/lisp/svg
/home/neo/.emacs.d/elpa/cl-lib-0.7.1/cl-lib hides 
/usr/local/share/emacs/29.0.60/lisp/emacs-lisp/cl-lib

Features:
(shadow sort mail-extr emacsbug message yank-media puny rfc822 mml
mml-sec epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils find-func ffap
descr-text cus-edit wid-edit battery thingatpt cus-start ido
find-desktop cua-rect rect tramp-archive tramp-gvfs tramp-cache
time-stamp zeroconf dbus xml tramp tramp-loaddefs trampver
tramp-integration tramp-compat parse-time iso8601 ls-lisp format-spec
mule-util display-line-numbers sh-script smie executable files-x shell
pcomplete cl-print ielm pp shortdoc text-property-search help-fns
radix-tree python rx project pcase treesit comint ansi-osc ring
ansi-color dired-aux dired dired-loaddefs tab-line time-date nlinum
linum finder-inf cl-extra help-mode icons delsel saveplace time desktop
frameset cua-base cus-load moe-theme-autoloads system-packages-autoloads
rainbow-mode-autoloads paredit-autoloads info orderless-autoloads
mines-autoloads luwak-autoloads tiny-autoloads which-key-autoloads
edit-indirect-autoloads shell-command+-autoloads dired-du-autoloads
svg-autoloads svg-lib-autoloads smooth-scroll-autoloads
treeview-autoloads ascii-art-to-unicode-autoloads vlf-autoloads
smartparens-autoloads grip-mode-autoloads wgrep-autoloads
good-scroll-autoloads sublimity-autoloads nlinum-autoloads
minimap-autoloads relint-autoloads xr-autoloads package browse-url url
url-proxy url-privacy url-expand url-methods url-history url-cookie
generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse
auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x
map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc
iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode lisp-mode prog-mode register
page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer nadvice seq simple cl-generic indonesian philippine
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp
files window text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget keymap hashtable-print-readable backquote
threads dbusbind inotify lcms2 dynamic-setting system-font-setting
font-render-setting cairo x-toolkit xinput2 x multi-tty
make-network-process emacs)

Memory information:
((conses 16 311408 42936)
  (symbols 48 17954 0)
  (strings 32 85419 3768)
  (string-bytes 1 2223226)
  (vectors 16 31835)
  (vector-slots 8 401609 16274)
  (floats 8 180 376)
  (intervals 56 5171 4520)
  (buffers 984 22))






Acknowledgement sent to Claudio Grondi <claudio.grondi@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#62575; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 2 May 2024 18:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.