From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#60073: 30.0.50; [PATCH] Tab bar group format not applied to current Date: Thu, 15 Dec 2022 20:05:55 +0200 Organization: LINKOV.NET Message-ID: <864jtw8ruk.fsf@mail.linkov.net> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6566"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) Cc: 60073@debbugs.gnu.org To: Gabriel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 15 19:07:25 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1p5sdf-0001V7-U1 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Dec 2022 19:07:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p5sdM-0006ec-98; Thu, 15 Dec 2022 13:07:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5sdK-0006e3-GC for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2022 13:07:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p5sdK-00037U-87 for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2022 13:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p5sdK-0005cd-3R for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2022 13:07:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Dec 2022 18:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60073 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 60073-submit@debbugs.gnu.org id=B60073.167112759121582 (code B ref 60073); Thu, 15 Dec 2022 18:07:02 +0000 Original-Received: (at 60073) by debbugs.gnu.org; 15 Dec 2022 18:06:31 +0000 Original-Received: from localhost ([127.0.0.1]:44097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5scp-0005bw-8m for submit@debbugs.gnu.org; Thu, 15 Dec 2022 13:06:31 -0500 Original-Received: from relay11.mail.gandi.net ([217.70.178.231]:39835) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5scn-0005bh-5t for 60073@debbugs.gnu.org; Thu, 15 Dec 2022 13:06:29 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 61C38100005; Thu, 15 Dec 2022 18:06:21 +0000 (UTC) In-Reply-To: (Gabriel's message of "Wed, 14 Dec 2022 17:16:24 -0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:251131 Archived-At: > Result: The 'tab-bar-tab-group-format-function' is not applied to format > the current group tab, only to other group tabs. See attach patch for a > proposed fix. If this behavior is intentional, I propose to update the > doc string. Indeed, this behavior was intentional because when tab-bar-tab-hints is non-nil then the number is already displayed on the current tab, so the group tab doesn't duplicate the same number. But you are right that tab-bar-tab-group-format-function should be called even for the current tab.