emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tab-rename broken/changed?


From: Juri Linkov
Subject: Re: tab-rename broken/changed?
Date: Mon, 22 Mar 2021 20:56:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

> Could you perhaps provide a simple tab-bar-tab-name function for use
> from outside tab-bar (emacspeak in my case) to stay robust?

Maybe such function could be added as part of some new Tab API.
But now at least the internal function was reverted to its
previous behavior.

> For now I'm accessing  the name of the current tab like so:
>
> (format "%s"
>            (cdr
>              (assoc 'name (assoc 'current-tab (tab-bar-tabs)))))

Your change is even more reliable than using internal functions
and until a more general API is implemented.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]