emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fix width tabs


From: Juri Linkov
Subject: Re: Fix width tabs
Date: Sat, 05 Nov 2022 20:20:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)

>> When tab-bar-fixed-width is non-nil, tabs are distributed evenly
>> across the tab-bar.  When also tab-bar-fixed-width-max is a number,
>> then tab names are truncated to the defined width.
>
> Ok, and what happens when tab-bar-fixed-width is nil?

When tab-bar-fixed-width is nil, then the tabs have the same widths
as the text of the tab names.

When tab-bar-fixed-width is non-nil, the available tab-bar space
is divided by the number of tabs to get the average tab width.
When its value is bigger than tab-bar-fixed-width-max, then
it's decreased to tab-bar-fixed-width-max.  Then tabs whose names
are shorter than the average tab width, are filled with whitespace.
And longer tab names are truncated to the average tab width.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]