GNU bug report logs - #51247
28.0.60; Insufficient documentation of tab-bar.el internal functions

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Sun, 17 Oct 2021 08:57:01 UTC

Severity: minor

Found in version 28.0.60

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 51247 <at> debbugs.gnu.org
Subject: bug#51247: 28.0.60; Insufficient documentation of tab-bar.el internal functions
Date: Sun, 17 Oct 2021 22:48:37 +0300
>> Everything is right, except this sentence:
>>
>> > @@ -705,11 +705,14 @@ tab-bar-format
>> > +Adding a function to the list causes the tab bar to show
>> > +that string, or display a menu with those menu items when
>> > +you click on the tab bar.
>>
>> Since menu items are used to display tabs, something like this
>> would be more correct:
>>
>>   Adding a function to the list causes the tab bar to show
>>   that string, or display tabs represented by menu items
>>   on the tab bar.
>
> But that's not what I see.  What I see is a single tab called "Menu",
> which, when clicked, shows the global menu.

The menu from the tab called "Menu" is displayed with 'popup-menu'.

> Or what do you mean by "tabs represented by menu items"?  How can a
> tab be represented by a menu item?

Menu items are transformed to tab strings in parse_tab_bar_item.




This bug report was last modified 3 years and 210 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.