From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ruijie Yu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#62575: 29.0.60; Tabs are not showing the right names of the buffers Date: Sat, 01 Apr 2023 19:38:00 +0800 Message-ID: References: <7f7b17d6-63e2-d7fc-1091-802f972f9a62@freenet.de> <83cz4o17tp.fsf@gnu.org> <67687ee4-089d-7997-f9a3-afde7be8b05e@freenet.de> Reply-To: Ruijie Yu Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24137"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.9.22; emacs 30.0.50 Cc: Eli Zaretskii , 62575@debbugs.gnu.org To: Claudio Grondi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 01 13:49:27 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1piZjb-00062v-2x for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Apr 2023 13:49:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piZjF-00070f-BJ; Sat, 01 Apr 2023 07:49:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1piZjD-00070E-8m for bug-gnu-emacs@gnu.org; Sat, 01 Apr 2023 07:49:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1piZjC-0000E7-Tv for bug-gnu-emacs@gnu.org; Sat, 01 Apr 2023 07:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1piZjC-0006oL-Q2 for bug-gnu-emacs@gnu.org; Sat, 01 Apr 2023 07:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ruijie Yu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Apr 2023 11:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62575 X-GNU-PR-Package: emacs Original-Received: via spool by 62575-submit@debbugs.gnu.org id=B62575.168034971526124 (code B ref 62575); Sat, 01 Apr 2023 11:49:02 +0000 Original-Received: (at 62575) by debbugs.gnu.org; 1 Apr 2023 11:48:35 +0000 Original-Received: from localhost ([127.0.0.1]:35647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piZik-0006nG-ID for submit@debbugs.gnu.org; Sat, 01 Apr 2023 07:48:34 -0400 Original-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 ) id 1piZii-0006n6-M1 for 62575@debbugs.gnu.org; Sat, 01 Apr 2023 07:48:33 -0400 Original-Received: from fw.net.yu.netyu.xyz ( [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) In-reply-to: <67687ee4-089d-7997-f9a3-afde7be8b05e@freenet.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:259046 Archived-At: Claudio Grondi 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