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


Message #95 received at 51247 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: 51247 <at> debbugs.gnu.org
Subject: Re: bug#51247: 28.0.60; Insufficient documentation of tab-bar.el
 internal functions
Date: Thu, 21 Oct 2021 20:12:33 +0300
> From: Juri Linkov <juri <at> linkov.net>
> Cc: 51247 <at> 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?




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.