all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ruijie Yu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Claudio Grondi <claudio.grondi@freenet.de>
Cc: Eli Zaretskii <eliz@gnu.org>, 62575@debbugs.gnu.org
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	[thread overview]
Message-ID: <sdvedp33jsq.fsf@fw.net.yu> (raw)
In-Reply-To: <67687ee4-089d-7997-f9a3-afde7be8b05e@freenet.de>


Claudio Grondi <claudio.grondi@freenet.de> 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

-- 
Best,


RY





  reply	other threads:[~2023-04-01 11:38 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-31 21:06 bug#62575: 29.0.60; Tabs are not showing the right names of the buffers Claudio Grondi
2023-04-01  5:37 ` Eli Zaretskii
2023-04-01 11:19   ` Claudio Grondi
2023-04-01 11:38     ` Ruijie Yu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2023-04-01 12:28       ` Claudio Grondi
2023-04-01 12:32         ` Eli Zaretskii
2023-04-01 11:55     ` Eli Zaretskii
2023-04-01 14:07     ` Eli Zaretskii
2023-04-02  6:48       ` Juri Linkov
2023-04-02 15:26         ` Claudio Grondi
2023-04-02 16:29           ` Juri Linkov
2023-04-02 21:45             ` Claudio Grondi
2023-04-03  6:30               ` Juri Linkov
2023-04-03 12:37                 ` Claudio Grondi
2023-04-03 16:11                   ` Juri Linkov
2023-04-03 18:06                     ` Claudio Grondi
2023-04-04  6:56                       ` Juri Linkov
2024-05-02 18:12                         ` Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sdvedp33jsq.fsf@fw.net.yu \
    --to=bug-gnu-emacs@gnu.org \
    --cc=62575@debbugs.gnu.org \
    --cc=claudio.grondi@freenet.de \
    --cc=eliz@gnu.org \
    --cc=ruijie@netyu.xyz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.