all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Aaron Jensen <aaronjensen@gmail.com>
Cc: Eli Zaretskii <eliz@gnu.org>, 60340@debbugs.gnu.org
Subject: bug#60340: 29.0.60; force-mode-line-update does not update tab line
Date: Wed, 28 Dec 2022 19:49:20 +0200	[thread overview]
Message-ID: <86v8lvo1un.fsf@mail.linkov.net> (raw)
In-Reply-To: <CAHyO48x1U4feTMduJgSOyFm0KaMkAAfwUq9NNZeB+vBBW4Ws=Q@mail.gmail.com> (Aaron Jensen's message of "Mon, 26 Dec 2022 12:55:11 -0500")

>> (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.





  reply	other threads:[~2022-12-28 17:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-26 16:40 bug#60340: 29.0.60; force-mode-line-update does not update tab line Aaron Jensen
2022-12-26 17:04 ` Eli Zaretskii
2022-12-26 17:55   ` Aaron Jensen
2022-12-28 17:49     ` Juri Linkov [this message]
2022-12-29 22:46       ` Aaron Jensen
2022-12-26 17:34 ` Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86v8lvo1un.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=60340@debbugs.gnu.org \
    --cc=aaronjensen@gmail.com \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.