GNU bug report logs - #51830
29.0.50; tab-line-mode will override (setq-default tab-line-format "xxx")

Previous Next

Package: emacs;

Reported by: "Feng Shu" <tumashu <at> 163.com>

Date: Sun, 14 Nov 2021 06:06:01 UTC

Severity: normal

Tags: moreinfo

Fixed in version 29.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: 51830 <at> debbugs.gnu.org, tumashu <at> 163.com, larsi <at> gnus.org
Subject: bug#51830: 29.0.50; tab-line-mode will override (setq-default tab-line-format "xxx")
Date: Sun, 14 Nov 2021 19:46:59 +0200
> From: Juri Linkov <juri <at> linkov.net>
> Date: Sun, 14 Nov 2021 19:40:28 +0200
> Cc: 51830 <at> debbugs.gnu.org, Feng Shu <tumashu <at> 163.com>
> 
> > Yes, tab-line-mode resets the variable unconditionally:
> >
> > (define-minor-mode tab-line-mode
> >   "Toggle display of tab line in the windows displaying the current buffer."
> >   :lighter nil
> >   (setq tab-line-format (when tab-line-mode '(:eval (tab-line-format)))))
> >
> > Perhaps that should be done only when the variable's value is nil?
> 
> This needs also to keep the original value while disabling the mode.
> Do you think this should be installed in Emacs 28?

We had that code since Emacs 27.  Is it really urgent to fix that in
Emacs 28?




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

Previous Next


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