From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#51247: 28.0.60; Insufficient documentation of tab-bar.el internal functions Date: Sun, 17 Oct 2021 22:48:37 +0300 Organization: LINKOV.NET Message-ID: <87a6j7v3e2.fsf@mail.linkov.net> References: <831r4kghcu.fsf@gnu.org> <87y26ry3vs.fsf@mail.linkov.net> <83mtn7frz3.fsf@gnu.org> <87tuhfv726.fsf@mail.linkov.net> <83lf2rforp.fsf@gnu.org> <87mtn7v4cw.fsf@mail.linkov.net> <83h7dffnlc.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28751"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: 51247@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 17 21:55:06 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mcCFO-0007IE-Jb for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 17 Oct 2021 21:55:06 +0200 Original-Received: from localhost ([::1]:33758 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcCFN-0004jP-LU for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 17 Oct 2021 15:55:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60834) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcCAU-0002o0-8j for bug-gnu-emacs@gnu.org; Sun, 17 Oct 2021 15:50:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33755) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mcCAT-0004Ic-Sx for bug-gnu-emacs@gnu.org; Sun, 17 Oct 2021 15:50:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mcCAT-0004WJ-Qf for bug-gnu-emacs@gnu.org; Sun, 17 Oct 2021 15:50:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Oct 2021 19:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51247 X-GNU-PR-Package: emacs Original-Received: via spool by 51247-submit@debbugs.gnu.org id=B51247.163450015017310 (code B ref 51247); Sun, 17 Oct 2021 19:50:01 +0000 Original-Received: (at 51247) by debbugs.gnu.org; 17 Oct 2021 19:49:10 +0000 Original-Received: from localhost ([127.0.0.1]:45301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mcC9e-0004V8-Gx for submit@debbugs.gnu.org; Sun, 17 Oct 2021 15:49:10 -0400 Original-Received: from relay4-d.mail.gandi.net ([217.70.183.196]:36037) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mcC9c-0004Ut-HI for 51247@debbugs.gnu.org; Sun, 17 Oct 2021 15:49:09 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id E7D71E0003; Sun, 17 Oct 2021 19:49:01 +0000 (UTC) In-Reply-To: <83h7dffnlc.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 17 Oct 2021 22:38:55 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:217435 Archived-At: >> 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.