GNU bug report logs -
#78953
31.0.50; tab-bar-format-align-right alignment breaks if field widths change
Previous Next
Full log
View this message in rfc822 format
> Since we are talking about the tab bar already I have another question -
> sometimes (rarely) my tab bar gets too long and then it wraps around,
It wraps around because the tab-bar is multi-line:
the number of tab-bar lines is defined by the frame parameter
'tab-bar-lines'. So you can use more lines for text that
doesn't fit on the first line.
> which I find undesirable.
Is this when you set tab-bar-auto-width to nil?
Or the global string is too long?
> I would prefer if the content were truncated.
Can you truncate the global string inside :eval, e.g.
(setq global-mode-string
'("|" (:eval (truncate-string-to-width (make-string 100 ?#) 10)) "|"))
> I suspect this is harder to address,
The wrapping is hard to disable. So it's easier to truncate
the overly long strings.
> e.g., via an option tab-bar-truncate/tab-line-truncate? In any case,
> this is a rare edge case in my usage.
There are truncation options only for tab names, not for the global string.
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.