From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mickey Petersen Newsgroups: gmane.emacs.bugs Subject: bug#59721: 30.0.50; tab bar groups are not ordered properly Date: Wed, 30 Nov 2022 16:43:21 +0000 Organization: Mastering Emacs Message-ID: <871qpk1jcl.fsf@masteringemacs.org> References: <87iliw206h.fsf@masteringemacs.org> <86o7soii72.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38392"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.11; emacs 30.0.50 Cc: 59721@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 30 19:49:46 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 1p0S9Q-0009gD-MO for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Nov 2022 19:49:45 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p0S8n-0006xE-Tq; Wed, 30 Nov 2022 13:49:05 -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 1p0S8l-0006wK-KU for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2022 13:49:03 -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 1p0S8l-00085s-3R for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2022 13:49:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p0S8k-00027o-VU for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2022 13:49:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mickey Petersen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Nov 2022 18:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59721 X-GNU-PR-Package: emacs Original-Received: via spool by 59721-submit@debbugs.gnu.org id=B59721.16698340948118 (code B ref 59721); Wed, 30 Nov 2022 18:49:02 +0000 Original-Received: (at 59721) by debbugs.gnu.org; 30 Nov 2022 18:48:14 +0000 Original-Received: from localhost ([127.0.0.1]:34453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0S7x-00026m-G6 for submit@debbugs.gnu.org; Wed, 30 Nov 2022 13:48:14 -0500 Original-Received: from mail-lo2gbr01on2096.outbound.protection.outlook.com ([40.107.10.96]:6069 helo=GBR01-LO2-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0QDx-00075g-3U for 59721@debbugs.gnu.org; Wed, 30 Nov 2022 11:46:19 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d0P0GZMu4C+v9iWtzbt0EFWy5npPihiTNH2S3OQ1zGPxXPKZMP7T/JQgPqgBdEmh0PMzuNWEVMNVOHRaQR9PxpzVYGOZd6myMds15oI3i2cH32pVs8JbQVNpKm29B3KWeOqXwTju1ChWQHS+lLwDzYvn+a9yCRLCQzly89maxg2DYKk80UWcQlWCmLlmxigFkR98swl9IAmRWrTjL0kznRVLiH4cWDmvD5Gu8TUnoRmhEQHJOC4xj4C87hhPb730rFrjWlWQNPsq6+YiuZkeg4RcgeTC6k/O0qrRuhvbHr1K6vjbNOdmqeY4zyO1F4vi+Kx3ZkOdqnSdnixbVuMS2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=y+vym7NFKmWWONXeKawFzdDZRUMiSWU99XaawzoJqVA=; b=Lai06b4VDXhxpb+Et8Kj74sOxifGeVqOZTfWgANN45np7LB/uIsr1NOk76Ru8MeruD/JpQ0r2i90M/lZfiUU2hVdsnfRN1nAPoFZmqIFH7iLCshduKttFW/tsoNKhD173Rkyr6L4GuPltYAOphjkNrh01UauT84XZORa2uSLHhjhiuO26CRZ+bdjgfLOGuhEpdGNipawetOHQmI3rVw18aIeBUyTk9v1MOGpHICLJCGoEYI3t6KCCJTJm4SFAtYF42sH4p/jot1NOrOfNX/YLwKqPDGpC9Wx+SG9K9glE/zt31LCuB4/k2R8cI0ucI2ZgC8V+yXP+GjxTVz1M43j0Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 178.79.136.144) smtp.rcpttodomain=debbugs.gnu.org smtp.mailfrom=masteringemacs.org; dmarc=pass (p=none sp=none pct=100) action=none header.from=masteringemacs.org; dkim=pass (signature was verified) header.d=masteringemacs.org; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semantical.onmicrosoft.com; s=selector1-semantical-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=y+vym7NFKmWWONXeKawFzdDZRUMiSWU99XaawzoJqVA=; b=XA6mN+3DHBwINgK52uGD24z4uvAp6EBRW5tbX442T2KGFkV5O1XnMwLJZ9JKD8ZPR4tCHEmVzrLWQ7RX74myaD0DqLsPiRunHueF460DDb9N/eFT3x0M/qHfNlvgZkr78ojzbCJTkUSLsu7DmbL8ydVkWOw2SOCw2UPYgiMF7cU= Original-Received: from LO4P123CA0603.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:295::19) by LO0P265MB6629.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2fd::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.23; Wed, 30 Nov 2022 16:46:05 +0000 Original-Received: from LO2GBR01FT023.eop-gbr01.prod.protection.outlook.com (2603:10a6:600:295:cafe::a9) by LO4P123CA0603.outlook.office365.com (2603:10a6:600:295::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.23 via Frontend Transport; Wed, 30 Nov 2022 16:46:05 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 178.79.136.144) smtp.mailfrom=masteringemacs.org; dkim=pass (signature was verified) header.d=masteringemacs.org;dmarc=pass action=none header.from=masteringemacs.org; Received-SPF: Pass (protection.outlook.com: domain of masteringemacs.org designates 178.79.136.144 as permitted sender) receiver=protection.outlook.com; client-ip=178.79.136.144; helo=semantical.co.uk; pr=C Original-Received: from semantical.co.uk (178.79.136.144) by LO2GBR01FT023.mail.protection.outlook.com (10.152.42.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.23 via Frontend Transport; Wed, 30 Nov 2022 16:46:05 +0000 Original-Received: by semantical.co.uk (Postfix, from userid 5001) id 36DD7114002; Wed, 30 Nov 2022 16:46:05 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=masteringemacs.org; s=masteringemacs.org; t=1669826765; bh=iXflAW923PW8zIYrck31iPqBbgmSMhQyBqIsht2XU6o=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=xndPUhCiddXykki2g6QJAcdXce2eoTD7MzSnI8iOLuFUV6ooKLUS/NOdIhaNOp0jC 4/QMeeTa8R7+ehatIPNyipYa1+K1tC3+/p5s4ZgMpZxfP+uy7m3vmJ3hVcZ557wzDO +ErDcZKoSCQ0LwliH76vadZiXnkteqY3ViekWtGQ= In-reply-to: <86o7soii72.fsf@mail.linkov.net> X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LO2GBR01FT023:EE_|LO0P265MB6629:EE_ X-MS-Office365-Filtering-Correlation-Id: 121b5631-4893-4fd2-4b54-08dad2f25fab X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XrYiSE8ZEekTvXu97OcHBJwavWEi//UZo4MVDcp1Rrw8aobD1626YfAlGGdQ72j9QXzPx9Jf+h+5Wrpll5LHMBYsZaxmNFMlQOlh81R6JP4yJBFE+Odw44awFeuUILyfd/5a14+R8cZvbI+WPtXP1ClUnNNRPeoYQdu7MWhXJkgxDy8laQP7QhzH6JFZ1hPnnAo2OuCwCY/fw49GmxTqlApdJnUSnzoGRIgJ34HNb6s+drn4JL5dEa8hRAp66JGT6xRfD/L5cAeUNp3H7Ew0R2tfP0UeNJRdmqIfhBHinZX8z92gx8Ta9Gl/zuMYuiyGluMHu9WvndZqk6JkBHmLnhOj2VtJItFuYAnhWRBgyMaWX3lyoPs3uR9mCXVF78GZI5FqWaPpSqnju2UVFfXs3lnVhf3cRYWVMVJDdC7DqG6eEEZORRzHaOjrwT4E7zTCrbmjbQbHlUhaRB06cLIUYZBY7C5ubVz9PLtJ/FKezhVTc2yp0GnFE/S/du+8jAN9vuVZraJVTHGYANwuWqVBXkPsw7M9N4D76ShUsx5juQQjnZIGPW0bnY22oz1+2NtOP6fmL0NPEmvutWkU/5Hn37c8hiOmCXy5KGtc5owxQJOx8yY0jqjXhaDLqNItFngal+PijMnSI3vlbByAD6CZy39ALQ4kRId+efhGbneDix9/h1/xczRAjFoeBLufcR1U3a0gn44vg7X1asKWvAj/zz9g6vpW/SC5bZAGj2J2Cd9coWQo2wVzr89oRAsVV iN0 X-Forefront-Antispam-Report: CIP:178.79.136.144; CTRY:GB; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:semantical.co.uk; PTR:semantical.co.uk; CAT:NONE; SFS:(13230022)(39830400003)(136003)(346002)(396003)(376002)(451199015)(36840700001)(46966006)(2906002)(7636003)(36860700001)(70206006)(4326008)(41300700001)(186003)(36756003)(316002)(8676002)(6862004)(8936002)(70586007)(5660300002)(36916002)(86362001)(478600001)(6266002)(26005)(7596003)(2616005)(82310400005)(42186006)(6666004)(336012)(47076005)(40480700001)(356005)(38230200001)(14776008)(79816003); DIR:OUT; SFP:1102; X-OriginatorOrg: masteringemacs.org X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Nov 2022 16:46:05.5014 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 121b5631-4893-4fd2-4b54-08dad2f25fab X-MS-Exchange-CrossTenant-Id: a4e27e3d-bab0-45e8-8942-e64cf9fbd34f X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=a4e27e3d-bab0-45e8-8942-e64cf9fbd34f; Ip=[178.79.136.144]; Helo=[semantical.co.uk] X-MS-Exchange-CrossTenant-AuthSource: LO2GBR01FT023.eop-gbr01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: LO0P265MB6629 X-Mailman-Approved-At: Wed, 30 Nov 2022 13:48:10 -0500 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:249554 Archived-At: Juri Linkov writes: >> 1. Enable tab-bar-mode and then alter tab-bar-format to show >> groups. Something like this: >> >> (setq tab-bar-format '(tab-bar-format-history >> tab-bar-format-tabs-groups tab-bar-separator >> tab-bar-format-add-tab)) >> >> 2. Create three tabs: A, B, C. Now switch to A and use M-x >> tab-bar-change-tab-group and name it "foo". Now switch to C and name >> it "foo" also. >> >> 3. The tab bar groups are _not_ merged; with a large array of tab >> bars, this causes endless confusion as there are man duplicae tab >> groups. You would expect a tab group to coalesce like tab group >> members into a singular tab group --- that is after all their purpose. > > Thanks for the bug report. We had a discussion about this problem > in the past, and in the result we arrived at such a solution that the > customizable variable `tab-bar-tab-post-change-group-functions' provides > an option `tab-bar-move-tab-to-group', so that when you select it, > then after changing the group name the tab is moved to its tab group. I did not check if that solves it, but this issue -- and how I discovered it -- manifests itself when you use `display-buffer-in-[new]-tab' and set a tab group that way. This can result in a large amount of distinct tab group entries for the same tab group; does `tab-bar-tab-post-change-group-functions' also resolve this? Because just about anybody who'd use said display buffer action would find themselves in this predicament and that variable (and subsequently adding that function to it) is... unintuitive.