From: Eli Zaretskii <eliz@gnu.org>
To: Juri Linkov <juri@linkov.net>
Cc: emacs-devel@gnu.org
Subject: Re: Documentation of tab-bar-show and friends
Date: Sat, 11 Sep 2021 15:02:32 +0300 [thread overview]
Message-ID: <83mtojgw13.fsf@gnu.org> (raw)
In-Reply-To: <87pmthk0zf.fsf@mail.linkov.net> (message from Juri Linkov on Thu, 09 Sep 2021 22:22:44 +0300)
> From: Juri Linkov <juri@linkov.net>
> Cc: emacs-devel@gnu.org
> Date: Thu, 09 Sep 2021 22:22:44 +0300
>
> >> Generally, there are two levels of customization:
> >>
> >> 1. The global tab-bar-show that defines when to show/hide the tab bar
> >> depending on the number of tabs. This variable affects all frames.
> >>
> >> 2. It's possible to override the aforementioned behavior
> >> by explicitly calling toggle-frame-tab-bar on a frame.
> >> Then the value of tab-bar-show has no effect on that frame.
> >
> > Then I don't understand why NEWS says
> >
> > *** The tab bar is frame-local when 'tab-bar-show' is a number.
> > You can show/hide the tab bar independently for each frame, according
> > to the value of 'tab-bar-show'.
> >
> > If you say that frame-local tab bar _overrides_ tab-bar-show, then how
> > come the value of tab-bar-show is described here as _causing_ the tab
> > bar to be frame-local?
>
> The tab bar is frame-local in the sense that it is enabled/disabled
> depending on the number of its tabs. So e.g. on a frame with one tab
> there is no tab bar, on another frame with two tabs there is a tab bar,
> when tab-bar-show is 1, and toggle-frame-tab-bar was not used.
So the heading in NEWS, viz.:
*** The tab bar is frame-local when 'tab-bar-show' is a number.
is incorrect, and should instead say that the tab bar can be made
frame-local by using toggle-frame-tab-bar, is that correct? Because
the above heading tells me "if tab-show is set to a number, the tab
bar becomes frame-local", which is not correct, right?
Suppose now I did use toggle-frame-tab-bar, it still only allows me
only to enable and disable the tab bar for specific frames, but the
value of tab-bar-show is still the same for all the frames that do
display the tab bar. Correct?
Thanks.
next prev parent reply other threads:[~2021-09-11 12:02 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-06 8:12 Documentation of tab-bar-show and friends Eli Zaretskii
2021-09-06 15:24 ` Juri Linkov
2021-09-06 16:00 ` Eli Zaretskii
2021-09-09 7:54 ` Juri Linkov
2021-09-09 17:47 ` Eli Zaretskii
2021-09-09 18:47 ` Juri Linkov
2021-09-09 19:04 ` Eli Zaretskii
2021-09-09 19:22 ` Juri Linkov
2021-09-11 12:02 ` Eli Zaretskii [this message]
2021-09-11 19:10 ` Juri Linkov
2021-09-12 7:03 ` Eli Zaretskii
2021-09-12 16:03 ` Juri Linkov
2021-09-12 16:23 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83mtojgw13.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=juri@linkov.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).