unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Documentation of tab-bar-show and friends
@ 2021-09-06  8:12 Eli Zaretskii
  2021-09-06 15:24 ` Juri Linkov
  0 siblings, 1 reply; 13+ messages in thread
From: Eli Zaretskii @ 2021-09-06  8:12 UTC (permalink / raw)
  To: Juri Linkov; +Cc: emacs-devel

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?

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?

Please help me rectify these problems.

Thanks.



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2021-09-12 16:23 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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