[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Documentation of tab-bar-show and friends
From: |
Eli Zaretskii |
Subject: |
Re: Documentation of tab-bar-show and friends |
Date: |
Mon, 06 Sep 2021 19:00:16 +0300 |
> From: Juri Linkov <juri@linkov.net>
> Cc: emacs-devel@gnu.org
> Date: Mon, 06 Sep 2021 18:24:15 +0300
>
> > *** 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.
How does it do that? It's a good-faith question: I don't understand
how you make that happen, except by using frame parameters.
> > 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.
I don't think it's reasonable to second guess what the users would
like doing.
- Documentation of tab-bar-show and friends, Eli Zaretskii, 2021/09/06
- Re: Documentation of tab-bar-show and friends, Juri Linkov, 2021/09/06
- Re: Documentation of tab-bar-show and friends,
Eli Zaretskii <=
- 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
- Re: Documentation of tab-bar-show and friends, Eli Zaretskii, 2021/09/12