From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Claudio Grondi Newsgroups: gmane.emacs.bugs Subject: bug#62575: 29.0.60; Tabs are not showing the right names of the buffers Date: Sat, 1 Apr 2023 13:19:51 +0200 Message-ID: <67687ee4-089d-7997-f9a3-afde7be8b05e@freenet.de> References: <7f7b17d6-63e2-d7fc-1091-802f972f9a62@freenet.de> <83cz4o17tp.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7175"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Cc: 62575@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 01 13:20:31 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 1piZHZ-0001ZS-L9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Apr 2023 13:20:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piZHB-0005uy-Ne; Sat, 01 Apr 2023 07:20:06 -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 1piZH9-0005um-97 for bug-gnu-emacs@gnu.org; Sat, 01 Apr 2023 07:20: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 1piZH9-0003Vg-0d for bug-gnu-emacs@gnu.org; Sat, 01 Apr 2023 07:20:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1piZH8-0003cB-Ia for bug-gnu-emacs@gnu.org; Sat, 01 Apr 2023 07:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Claudio Grondi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Apr 2023 11:20: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.168034799613879 (code B ref 62575); Sat, 01 Apr 2023 11:20:02 +0000 Original-Received: (at 62575) by debbugs.gnu.org; 1 Apr 2023 11:19:56 +0000 Original-Received: from localhost ([127.0.0.1]:35618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piZH2-0003bn-8t for submit@debbugs.gnu.org; Sat, 01 Apr 2023 07:19:56 -0400 Original-Received: from mout1.freenet.de ([195.4.92.91]:59636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piZH0-0003be-VL for 62575@debbugs.gnu.org; Sat, 01 Apr 2023 07:19:55 -0400 Original-Received: from [195.4.92.119] (helo=sub0.freenet.de) by mout1.freenet.de with esmtpa (ID claudio.grondi@freenet.de) (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==; Original-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@freenet.de) (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 Content-Language: de-DE, en-US In-Reply-To: <83cz4o17tp.fsf@gnu.org> X-FN-MUUID: 1680347992960C09CC6A72O X-Originated-At: 109.42.240.50!4698 X-Scan-TS: Sat, 01 Apr 2023 13:19:52 +0200 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:259045 Archived-At: 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 >> >> 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.