unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Documentation of tab-bar-show and friends
Date: Mon, 06 Sep 2021 18:24:15 +0300	[thread overview]
Message-ID: <874kaxj0qo.fsf@mail.linkov.net> (raw)
In-Reply-To: <83mtoqrul8.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 06 Sep 2021 11:12:19 +0300")

> 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.



  reply	other threads:[~2021-09-06 15:24 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 [this message]
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
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=874kaxj0qo.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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).