From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#52019: 28.0.60; tab-bar is not updated when buffer is killed Date: Mon, 22 Nov 2021 20:30:30 +0200 Organization: LINKOV.NET Message-ID: <86lf1g11ru.fsf@mail.linkov.net> References: <01bd8ba6-0fb7-4ff4-dcc4-85e4b344df6e@matholka.se> <86h7c5shqm.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37983"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: 52019@debbugs.gnu.org To: Lars Ljung Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 22 19:33:15 2021 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 1mpE7v-0009iC-H0 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Nov 2021 19:33:15 +0100 Original-Received: from localhost ([::1]:59418 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpE7u-0002BN-2n for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Nov 2021 13:33:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52992) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpE7i-0002AS-Ti for bug-gnu-emacs@gnu.org; Mon, 22 Nov 2021 13:33:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37563) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpE7i-0007xg-Lv for bug-gnu-emacs@gnu.org; Mon, 22 Nov 2021 13:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mpE7i-0002Q7-Gg for bug-gnu-emacs@gnu.org; Mon, 22 Nov 2021 13:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Nov 2021 18:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52019 X-GNU-PR-Package: emacs Original-Received: via spool by 52019-submit@debbugs.gnu.org id=B52019.16376059548521 (code B ref 52019); Mon, 22 Nov 2021 18:33:02 +0000 Original-Received: (at 52019) by debbugs.gnu.org; 22 Nov 2021 18:32:34 +0000 Original-Received: from localhost ([127.0.0.1]:49107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpE7G-0002DD-2u for submit@debbugs.gnu.org; Mon, 22 Nov 2021 13:32:34 -0500 Original-Received: from relay4-d.mail.gandi.net ([217.70.183.196]:55897) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpE7C-00028G-FO; Mon, 22 Nov 2021 13:32:33 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id B623EE0006; Mon, 22 Nov 2021 18:32:22 +0000 (UTC) In-Reply-To: <86h7c5shqm.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 21 Nov 2021 19:30:13 +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" Xref: news.gmane.io gmane.emacs.bugs:220633 Archived-At: tags 52019 wontfix close 52019 29.0.50 quit >> The name of that tab will be updated when you switch to it. > > Ideally, the tab should show some placeholder for the killed buffer > after the user switches to it, so the tab name should keep its > original name. This would less confusing than showing some random > buffer instead of the killed buffer. But this is a separate feature > that could be discussed in a separate request. The same problem exists with all other uses of window-configuration. One example: the desktop saves all windows with their buffers. If a file was deleted before restoring the desktop, or a buffer saved to the desktop was non-persistent, then the desktop just deletes the window where the old buffer was displayed, or replaces the old buffer in the window with some other random buffer. This loses the window layout carefully created by the user. So instead of replacing the name of the killed buffer in the tab name with some other random buffer name, a more proper solution is to keep some placeholder in the window where the buffer was displayed. This is a bigger task, so a new request could be created to implement it.