From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Enable persistent naming for tabs Date: Wed, 09 Oct 2019 19:02:36 +0300 Message-ID: <83ftk1vrdv.fsf@gnu.org> References: <87d0f66fi5.fsf@cochranmail.com> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="101000"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: Robert Cochran Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 09 21:39:34 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iIHo6-000QCm-Q2 for ged-emacs-devel@m.gmane.org; Wed, 09 Oct 2019 21:39:34 +0200 Original-Received: from localhost ([::1]:55790 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIHo4-0000Jj-U7 for ged-emacs-devel@m.gmane.org; Wed, 09 Oct 2019 15:39:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46075) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIEQS-0002uU-S4 for emacs-devel@gnu.org; Wed, 09 Oct 2019 12:02:57 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42658) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iIEQR-0007v5-7r; Wed, 09 Oct 2019 12:02:55 -0400 Original-Received: from [176.228.60.248] (port=2577 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iIEQQ-000073-Ia; Wed, 09 Oct 2019 12:02:55 -0400 In-reply-to: <87d0f66fi5.fsf@cochranmail.com> (message from Robert Cochran on Tue, 08 Oct 2019 15:26:10 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:240788 Archived-At: > From: Robert Cochran > Date: Tue, 08 Oct 2019 15:26:10 -0700 > > The solution I went with was another value in the tabs frame-parameter > alist. A new cons with the name `no-auto-name` in the car is used. If > the cdr is nil, then the behavior we have now remains - the tab handling > functions will call the value of `tab-bar-tab-name-function` and update > the name immediately. With a non-nil value, any time > `tab-bar-tab-name-function` would be called, the existing name is > instead substituted. Isn't this unnecessarily complicated? Why not have the name assigned by tab-bar-tab-name-function stick instead? Thanks.