emacs-devel
[Top][All Lists]
Advanced

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

Re: tab-rename broken/changed?


From: T.V Raman
Subject: Re: tab-rename broken/changed?
Date: Mon, 22 Mar 2021 12:27:21 -0700

:-) And rather than waiting for the grand internal API arrives,
perhaps clone the simple solution I have into a
tab-bar-current-tab-name function --- botom-up APIs usually point the
way to the final top-down API
Juri Linkov writes:
 > > 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.

-- 
♉Id: kg:/m/0285kf1  🦮♉

--
♉Id: kg:/m/0285kf1  🦮♉



reply via email to

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