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: Thu, 21 Oct 2021 20:12:33 +0300 Message-ID: <83mtn28fpa.fsf@gnu.org> References: <831r4kghcu.fsf@gnu.org> <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> <83a6j6e1d4.fsf@gnu.org> <87wnmal1u8.fsf@mail.linkov.net> <838ryqe0ll.fsf@gnu.org> <837deae081.fsf@gnu.org> <8735oyl10i.fsf@mail.linkov.net> <835ytudzky.fsf@gnu.org> <87ee8ijljn.fsf@mail.linkov.net> <834k9edyra.fsf@gnu.org> <871r4hldq8.fsf@mail.linkov.net> <83lf2pcj4h.fsf@gnu.org> <8735ow7rx4.fsf@mail.linkov.net> <83sfwwapzd.fsf@gnu.org> <87ee8f1vyq.fsf@mail.linkov.net> <831r4eab9m.fsf@gnu.org> <87ee8e1lap.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18669"; 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 Thu Oct 21 19:13:09 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 1mdbcr-0004aK-Ex for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 Oct 2021 19:13:09 +0200 Original-Received: from localhost ([::1]:50080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdbcq-0002CI-E4 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 Oct 2021 13:13:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58512) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdbck-0002C7-Ee for bug-gnu-emacs@gnu.org; Thu, 21 Oct 2021 13:13:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46909) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mdbck-00051p-64 for bug-gnu-emacs@gnu.org; Thu, 21 Oct 2021 13:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mdbcj-0006xE-Pd for bug-gnu-emacs@gnu.org; Thu, 21 Oct 2021 13:13:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Oct 2021 17:13: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.163483636326702 (code B ref 51247); Thu, 21 Oct 2021 17:13:01 +0000 Original-Received: (at 51247) by debbugs.gnu.org; 21 Oct 2021 17:12:43 +0000 Original-Received: from localhost ([127.0.0.1]:58455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdbcR-0006wc-Jf for submit@debbugs.gnu.org; Thu, 21 Oct 2021 13:12:43 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:32890) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdbcP-0006wM-TL for 51247@debbugs.gnu.org; Thu, 21 Oct 2021 13:12:42 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57568) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdbcJ-0004fB-SP; Thu, 21 Oct 2021 13:12:36 -0400 Original-Received: from [87.69.77.57] (port=2125 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 1mdbcJ-0006zT-EE; Thu, 21 Oct 2021 13:12:35 -0400 In-Reply-To: <87ee8e1lap.fsf@mail.linkov.net> (message from Juri Linkov on Thu, 21 Oct 2021 19:43:34 +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:217786 Archived-At: > From: Juri Linkov > Cc: 51247@debbugs.gnu.org > Date: Thu, 21 Oct 2021 19:43:34 +0300 > > > Thanks. What if the function in tab-bar-format returns nil -- how is > > that handled? > > Interesting question, I tried this > > (add-hook 'tab-bar-format 'ignore 1) > > and everything still works fine. I'm afraid this doesn't help me. The doc strings says: Every item in the list is a function that returns a string, or a list of menu-item elements, or nil. I now have a good idea what to say about return values that are strings and those that are lists of menu items. What do I say about return values of nil? what is their effect on the tab bar's appearance? Are you saying that there's no effect whatsoever?