From: "T.V Raman" <raman@google.com>
To: juri@linkov.net
Cc: raman@google.com, emacs-devel@gnu.org
Subject: Re: tab-rename broken/changed?
Date: Mon, 22 Mar 2021 12:27:21 -0700 [thread overview]
Message-ID: <24664.61337.255132.47604@retriever.mtv.corp.google.com> (raw)
In-Reply-To: <874kh3xbiv.fsf@mail.linkov.net>
:-) 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 🦮♉
next prev parent reply other threads:[~2021-03-22 19:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-21 13:47 tab-rename broken/changed? T.V Raman
2021-03-21 20:05 ` Juri Linkov
2021-03-22 1:34 ` T.V Raman
2021-03-22 18:56 ` Juri Linkov
2021-03-22 19:27 ` T.V Raman [this message]
2021-03-23 18:37 ` Juri Linkov
2021-03-21 20:55 ` Juri Linkov
2021-03-22 1:35 ` T.V Raman
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=24664.61337.255132.47604@retriever.mtv.corp.google.com \
--to=raman@google.com \
--cc=emacs-devel@gnu.org \
--cc=juri@linkov.net \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).