[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Display info nodes names in tabs.
From: |
Robert Pluim |
Subject: |
Re: Display info nodes names in tabs. |
Date: |
Thu, 15 Sep 2022 16:45:25 +0200 |
>>>>> On Thu, 15 Sep 2022 15:20:58 +0200, Michael Heerdegen
>>>>> <michael_heerdegen@web.de> said:
Michael> Robert Pluim <rpluim@gmail.com> writes:
Michael> Would be nice, yes. Do you use the tab-bar or the tab-line?
>>
>> See `tab-bar-tab-name-function' and `tab-line-tab-name-function', both
>> of which allow you to write custom functions.
Michael> The problem with `tab-line-tab-name-function' (I guess with
Michael> `tab-bar-tab-name-function' too, but I didn't check) is that it is
not
Michael> called often enough - because of the tab-line cache. The
tab-line-cache
Michael> key never changes/ gets invalid for Info buffers (no tracked
parameter
Michael> ever changes while you browse), so the tab name is never
refreshed. I
Michael> need to invalidate the cache explicitly to make it work, e.g. with
a
Michael> very ugly hack like this:
So tab-line should switch to using the info node name? That sounds
like you should use M-x report-emacs-bug to request an enhancement (or
perhaps we can figure out a way to disable the cache for Info mode
buffers).
Robert
--