GNU bug report logs -
#49806
28.0.50; tab-bar-format with global mode string doesn't always remove global-mode-string
Previous Next
Reported by: Philip Kaludercic <philipk <at> posteo.net>
Date: Sun, 1 Aug 2021 12:56:02 UTC
Severity: normal
Tags: fixed
Fixed in version 28.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
tags 49806 fixed
close 49806 28.0.50
thanks
> In GNU Emacs 28.0.50 (build 3, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw scroll bars)
> of 2021-07-27 built on icterid
> Repository revision: fb27708f51fb0fd60cd00cd8ea7bfc9248eb0040
> Repository branch: feature/rcirc-update
Maybe your branch is not updated to the recent master?
We fixed this a week ago. But it would be nice
to find such solution that would avoid the need
to update tab-bar--define-keys manually every time
when the default value of mode-line-misc-info changes:
> When I change this to
>
> (member '(global-mode-string ("" global-mode-string))
> mode-line-misc-info)
>
> reflecting the default value of mode-line-misc-info, it works.
>
> I am uncertain if this is intentional, or if even
>
> (assq 'global-mode-string mode-line-misc-info)
>
> would do the job.
The intention was to check if mode-line-misc-info contains
the default value of 'global-mode-string', and update
only the default value. But (assq 'global-mode-string mode-line-misc-info)
will be called every time, even when the value was already changed.
This bug report was last modified 3 years and 353 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.