[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Documentation of tab-bar-show and friends
From: |
Juri Linkov |
Subject: |
Re: Documentation of tab-bar-show and friends |
Date: |
Mon, 06 Sep 2021 18:24:15 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
> The current documentation of this seems to be incomplete and for some
> reason hides some of the functionality.
>
> First, the NEWS entry for tab-bar-show says:
>
> *** The tab bar is frame-local when 'tab-bar-show' is a number.
> Show/hide the tab bar independently for each frame, according to the
> value of 'tab-bar-show'.
>
> What does it mean "frame-local" in this case? Does it mean one should
> use a frame parameter called tab-bar-show? Or does it mean something
> else?
This means it affects each frame separately.
> Next, the above says "a number", but the doc string of tab-bar-show,
> the defcustom forms, and the manual only describe one value: 1.
> However, the code does:
>
> ((natnump tab-bar-show)
> (if (> (length (funcall tab-bar-tabs-function frame)) tab-bar-show) 1
> 0))))
>
> So tab-bar-show can be meaningfully set to a number other than 1.
> This is undocumented, for some reason. Is that intentional?
Probably no one would want to use a number other than 1.
- Documentation of tab-bar-show and friends, Eli Zaretskii, 2021/09/06
- Re: Documentation of tab-bar-show and friends,
Juri Linkov <=
- Re: Documentation of tab-bar-show and friends, Eli Zaretskii, 2021/09/06
- Re: Documentation of tab-bar-show and friends, Juri Linkov, 2021/09/09
- Re: Documentation of tab-bar-show and friends, Eli Zaretskii, 2021/09/09
- Re: Documentation of tab-bar-show and friends, Juri Linkov, 2021/09/09
- Re: Documentation of tab-bar-show and friends, Eli Zaretskii, 2021/09/09
- Re: Documentation of tab-bar-show and friends, Juri Linkov, 2021/09/09
- Re: Documentation of tab-bar-show and friends, Eli Zaretskii, 2021/09/11
- Re: Documentation of tab-bar-show and friends, Juri Linkov, 2021/09/11
- Re: Documentation of tab-bar-show and friends, Eli Zaretskii, 2021/09/12
- Re: Documentation of tab-bar-show and friends, Juri Linkov, 2021/09/12