From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: tab-rename broken/changed? Date: Mon, 22 Mar 2021 12:27:21 -0700 Message-ID: <24664.61337.255132.47604@retriever.mtv.corp.google.com> References: <20210321134744.826BEC20E44@raman-glaptop.localdomain> <87zgyw6znx.fsf@mail.linkov.net> <874kh3xbiv.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40257"; mail-complaints-to="usenet@ciao.gmane.io" Cc: raman@google.com, emacs-devel@gnu.org To: juri@linkov.net Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 22 20:29:13 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lOQEi-000ALw-He for ged-emacs-devel@m.gmane-mx.org; Mon, 22 Mar 2021 20:29:12 +0100 Original-Received: from localhost ([::1]:38250 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOQEh-0000Oj-Ft for ged-emacs-devel@m.gmane-mx.org; Mon, 22 Mar 2021 15:29:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47342) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOQD1-0006zB-9o for emacs-devel@gnu.org; Mon, 22 Mar 2021 15:27:27 -0400 Original-Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]:45571) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lOQCz-00080w-K4 for emacs-devel@gnu.org; Mon, 22 Mar 2021 15:27:26 -0400 Original-Received: by mail-pf1-x432.google.com with SMTP id h3so11734733pfr.12 for ; Mon, 22 Mar 2021 12:27:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:mime-version:content-transfer-encoding:message-id:date:to:cc :subject:in-reply-to:references; bh=w6F9hO0WP0hZzvj97dzu6kYVXP7IzM9ZMTLcEW3GiXs=; b=RtJN5t43LiT47/79slKjuv5Xsf7pL9oQb12wW5WVhkr/nKVkTGkBRrFGtQxIl9+c8C 90d3aCxNgjDXsEtpsDvOx4eBAgn57kiCxfJkh/AiPL01KddA3hkmcuaDIPv5P8vGQ98z lAmGgntP6+6+VPB6E4SX2lxaSZtiYC7vmk34fieLhCw4pwxpC1HKee16kQqClfjnug1R rdSNhuUupEXu5obcKw+B+FG7UwcPlAVhe0CTIXAcJXwWMuruhkODiGBvYkVQsl2chRsl XdYnkCKjLhAI1kFfR+wWNtje51G6a3YtbYMmWmnc0TibYq6Zhe0HDrMN+56g2keyVFLk r2IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:content-transfer-encoding :message-id:date:to:cc:subject:in-reply-to:references; bh=w6F9hO0WP0hZzvj97dzu6kYVXP7IzM9ZMTLcEW3GiXs=; b=Q67wuhcehHAW1uHVzk6RgLhOn3bO2KY1bZL76J6jUbHmzeOPAAG6PZseavZCTlHcM8 QS263tCCXOHptO1pNhTkm5/IoKsXhvJ2IGsCDBXNYaSGkkohvgQFg9TZ5kT8WceP6Zf+ xNW5ILaoFzHPI7kVErcPWm8H8j4uMZSiVclAjeZAhkVlIq4AC70DzXlOOJW9e8dX0NHh RTSnemC8eI9qameZEIcI0NN/Te/G8zJdNJwOwSL9oSgrWQx6uWrb5LKAts7CgBRJoULt edkQfTWpXStAA9qwm1RU7usUzGoQUSqzYYLqPNKY2+ThxZLFQsBsUrEDyADoHlktL3oQ 6lpQ== X-Gm-Message-State: AOAM5324sMExQTY6wkK6Lpc3XeLGjdU6ySlCPqLfAp+DI1afsswzYM+q 1VdRRCBhJ6PtHIbUeY2f/HrKKn2lr0chLw== X-Google-Smtp-Source: ABdhPJwZ8SEQKefKbxXjdNPH6I2EJatY5wpApd9mMUbN3zbGCgCAwbjE5zdChV7CUJFyikFrWmur6w== X-Received: by 2002:a63:e84f:: with SMTP id a15mr911836pgk.249.1616441243102; Mon, 22 Mar 2021 12:27:23 -0700 (PDT) Original-Received: from retriever.mtv.corp.google.com ([2620:0:1000:1510:bc20:732:f635:4177]) by smtp.gmail.com with ESMTPSA id y8sm15067558pfp.140.2021.03.22.12.27.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Mar 2021 12:27:22 -0700 (PDT) Original-Received: by retriever.mtv.corp.google.com (Postfix, from userid 13930) id 50F5E1800223; Mon, 22 Mar 2021 12:27:21 -0700 (PDT) In-Reply-To: <874kh3xbiv.fsf@mail.linkov.net> X-Mailer: VM 8.1.1 under 28.0.50 (x86_64-pc-linux-gnu) Received-SPF: pass client-ip=2607:f8b0:4864:20::432; envelope-from=raman@google.com; helo=mail-pf1-x432.google.com X-Spam_score_int: -175 X-Spam_score: -17.6 X-Spam_bar: ----------------- X-Spam_report: (-17.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:266798 Archived-At: :-) 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 u= se > > from outside tab-bar (emacspeak in my case) to stay robust=3F >=20 > 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. >=20 > > For now I'm accessing the name of the current tab like so: > > > > (format "%s" > > (cdr > > (assoc 'name (assoc 'current-tab (tab-bar-tabs))))) >=20 > Your change is even more reliable than using internal functions > and until a more general API is implemented. --=20 =E2=99=89Id: kg:/m/0285kf1 =F0=9F=A6=AE=E2=99=89 -- ♉Id: kg:/m/0285kf1 🦮♉