GNU bug report logs - #79159
[PATCH] Do not display in the tab line tabs that are excluded.

Previous Next

Package: emacs;

Reported by: Elijah Gabe Pérez <eg642616 <at> gmail.com>

Date: Sat, 2 Aug 2025 20:02:02 UTC

Severity: normal

Tags: patch

Fixed in version 31.0.50

Done: Juri Linkov <juri <at> linkov.net>

Full log


Message #20 received at 79159 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 79159 <at> debbugs.gnu.org,
 Elijah Gabe Pérez <eg642616 <at> gmail.com>
Subject: Re: bug#79159: [PATCH] Do not display in the tab line tabs that are
 excluded.
Date: Tue, 05 Aug 2025 09:28:30 +0300
> But I won't object to adding a knob to have the behavior you want, if
> Juri agrees, and there are no other objections.  However, this must be
> an opt-in behavior, by default off.

Better to make it opt-out because currently display of excluded buffers
on the tab-line is too glitchy.  Example:

0. emacs -Q
1. M-x global-tab-line-mode RET
2. C-x b foo RET
3. C-x b SPC *bar* RET
4. C-x <left>
   Now the buffer name " *bar*" is visible on the tab-line.
5. C-x <left>
   But now " *bar*" suddenly goes away.

This is because handling of excluded buffers is hard-coded
in many window.el functions.

So not showing excluded buffers by default will avoid this snag.




This bug report was last modified 4 days ago.

Previous Next


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