GNU bug report logs - #78953
31.0.50; tab-bar-format-align-right alignment breaks if field widths change

Previous Next

Package: emacs;

Reported by: Daniel Mendler <mail <at> daniel-mendler.de>

Date: Fri, 4 Jul 2025 06:41:02 UTC

Severity: normal

Fixed in version 31.0.50

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

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: Daniel Mendler <mail <at> daniel-mendler.de>
Cc: 78953 <at> debbugs.gnu.org, Stéphane Marks <shipmints <at> gmail.com>
Subject: bug#78953: 31.0.50; tab-bar-format-align-right alignment breaks if field widths change
Date: Fri, 11 Jul 2025 19:13:04 +0300
>>> This looks interesting. But I just naively tried the following and Emacs
>>> hangs up as result.
>>>
>>> (setq tab-bar-auto-width t
>>>       tab-bar-auto-width-functions (list #'always))
>>
>> This is a new bug report.

Actually, 'tab-bar-auto-width-functions' is intended to return non-nil
only on tab items, not on separators or global strings.  This is
described in its docstring.  There is an example in
'tab-bar-auto-width-predicate-default' that uses
(string-match-p "\\`\\(?:current-tab\\|\\(?:group\\|tab\\)-\\)"
(symbol-name (nth 0 item))) to match tabs only.




This bug report was last modified 13 days ago.

Previous Next


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