From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#51247: 28.0.60; Insufficient documentation of tab-bar.el internal functions Date: Mon, 18 Oct 2021 19:36:39 +0300 Message-ID: <83a6j6e1d4.fsf@gnu.org> 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> <87a6j7v3e2.fsf@mail.linkov.net> <83bl3mftqm.fsf@gnu.org> <87czo2peob.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36356"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51247@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 18 18:38:11 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 1mcVeN-0009Hs-5y for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 18 Oct 2021 18:38:11 +0200 Original-Received: from localhost ([::1]:60554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcVeM-0007cL-0q for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 18 Oct 2021 12:38:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36532) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcVdG-0005yu-VP for bug-gnu-emacs@gnu.org; Mon, 18 Oct 2021 12:37:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36832) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mcVdG-0002AB-Kf for bug-gnu-emacs@gnu.org; Mon, 18 Oct 2021 12:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mcVdG-0003tV-C6 for bug-gnu-emacs@gnu.org; Mon, 18 Oct 2021 12:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Oct 2021 16:37:02 +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.163457500014940 (code B ref 51247); Mon, 18 Oct 2021 16:37:02 +0000 Original-Received: (at 51247) by debbugs.gnu.org; 18 Oct 2021 16:36:40 +0000 Original-Received: from localhost ([127.0.0.1]:48378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mcVct-0003su-Ti for submit@debbugs.gnu.org; Mon, 18 Oct 2021 12:36:40 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mcVcs-0003sg-1j for 51247@debbugs.gnu.org; Mon, 18 Oct 2021 12:36:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46514) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcVcm-0001c7-KO; Mon, 18 Oct 2021 12:36:32 -0400 Original-Received: from [87.69.77.57] (port=3644 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcVcm-0005bG-7h; Mon, 18 Oct 2021 12:36:32 -0400 In-Reply-To: <87czo2peob.fsf@mail.linkov.net> (message from Juri Linkov on Mon, 18 Oct 2021 18:53:40 +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:217500 Archived-At: > From: Juri Linkov > Cc: 51247@debbugs.gnu.org > Date: Mon, 18 Oct 2021 18:53:40 +0300 > > > In any case, I don't see the importance of the fine difference between > > "menu items" and "menu items that represent tabs" in this case. > > AFAIU, whatever menu is produced by that option is what's displayed on > > the tab bar; the items in the menu are entirely up to the function > > which produces the menu. Isn't that right? > > This text is still wrong: > > 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. > > The tab called "Menu" displays menu items from the global menu-bar, > not from those menu items mentioned in the doc string. > Those menu items are used only to display tabs. Then please point me to a function out of those mentioned in tab-bar-format's :options that returns a list of menu items. The sentence in the doc string "Every item in the list is a function that returns a string, or a list of menu-item elements, or nil" wasn't mine, it was yours. What did you have in mind when you wrote that?