GNU bug report logs - #60340
29.0.60; force-mode-line-update does not update tab line

Previous Next

Package: emacs;

Reported by: Aaron Jensen <aaronjensen <at> gmail.com>

Date: Mon, 26 Dec 2022 16:41:01 UTC

Severity: normal

Found in version 29.0.60

Done: Aaron Jensen <aaronjensen <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Aaron Jensen <aaronjensen <at> gmail.com>
To: Juri Linkov <juri <at> linkov.net>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 60340 <at> debbugs.gnu.org
Subject: Re: bug#60340: 29.0.60;
 force-mode-line-update does not update tab line
Date: Thu, 29 Dec 2022 17:46:07 -0500
On Wed, Dec 28, 2022 at 12:50 PM Juri Linkov <juri <at> linkov.net> wrote:
>
> >> (defun tab-line-cache-key-default (_tabs)
> >>   (list (random 1000)))
> >
> > Thank you for the pointer! I can do this and it works great:
> >
> > (set-window-parameter nil 'tab-line-cache nil)
> > (force-mode-line-update)
>
> Maybe this call is straightforward enough not to warrant a new special
> function to clear the cache.  Anyway, your complex use case prompted
> the need to allow more flexibility in tab-line-cache-key-function
> that now I improved as well.

A function may be useful just for discoverability purposes. At the
very least, it may make sense to add additional documentation to
`tab-line-tab-name-function` that its result is effectively cached.

Thanks,

Aaron




This bug report was last modified 2 years and 206 days ago.

Previous Next


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