From unknown Sat Jun 21 03:24:12 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#59721 <59721@debbugs.gnu.org> To: bug#59721 <59721@debbugs.gnu.org> Subject: Status: 30.0.50; tab bar groups are not ordered properly Reply-To: bug#59721 <59721@debbugs.gnu.org> Date: Sat, 21 Jun 2025 10:24:12 +0000 retitle 59721 30.0.50; tab bar groups are not ordered properly reassign 59721 emacs submitter 59721 Mickey Petersen severity 59721 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 30 09:07:07 2022 Received: (at submit) by debbugs.gnu.org; 30 Nov 2022 14:07:07 +0000 Received: from localhost ([127.0.0.1]:32999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0Njp-0005c4-Rg for submit@debbugs.gnu.org; Wed, 30 Nov 2022 09:07:07 -0500 Received: from lists.gnu.org ([209.51.188.17]:60014) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0KY2-0007HP-OK for submit@debbugs.gnu.org; Wed, 30 Nov 2022 05:42:39 -0500 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 1p0KY2-0000tC-Dt for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2022 05:42:38 -0500 Received: from mail-cwlgbr01on2114.outbound.protection.outlook.com ([40.107.11.114] helo=GBR01-CWL-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p0KY0-00053p-6i for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2022 05:42:38 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n+SEgD3WpC6i5FVX9EySYMGQO7PtiEli3StZD3Duyv2FHC7KUa4AlzAealafwRTp96je/8YVCMH4A7kGkfD7lZA5l5P5XrMg3BhhWQb6DP1GXtBAwqur6q5I7clv6q7CpK4AjVUMWp8V71+YHiNvMrdEjudfQt5PRyVIyah8s12Gg/gUhXR4lcCNHSRe0GWzAhsYYLDn4oT87IK+otBPvnsVw/dJHYUjy725fwvshdLnHB87PbJC/oXngD2WO3D9XBnEkHA/IifXgKHMOigIA7Disz0Uf1NEudnMUzVqqxI+ge8ylVM7XDx5jFNfbGgTGpZWwxodkxg4GZxaXzgo8w== 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=4e+U+Z/p1CYIybYogLh/brX5EQ5L1fBiHLJlne99IlI=; b=EM4R55UgIXldNFeS9fNaNvCCNK6vhaBeL1TYl4Nyfm0MZ2oRp9GJN52K+2sL19oM+ohetuhIutOfasZJlPciSbSoprhNOcvHngOA8MhdTutvXeEKj8VJWxef1szwlHDCrt8w5AA4vrWZXzp9wt5Heqllw7MumDv6EijNyNE1YlO7OBkraQxdUm9CPiGUUqg0GQ4XzBUgI4ndWGcK4jl2j1sV8f+nKWRfNUP6XozxyErvxcY9D4vH50yA1O1Uw7WbPdRwfrlRBxsrpC5QrHyCKmgFlrowvtLUuPTeFVPyDKr5WbSNQ8U5DaHS83MiIXaMRdkNKDuFetvPNSMUfC+AeQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 178.79.136.144) smtp.rcpttodomain=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=4e+U+Z/p1CYIybYogLh/brX5EQ5L1fBiHLJlne99IlI=; b=BbwITl6iadYBPtk/I1A8k8leVcJ/3LnluAzza9LliAZlylm4x2eP9jiNpCCiRl/euNPnLXEYlrNNp5Ls1GS1VkW7QGOYim8P/dzkXQB110T8abvi5bWMqAs9joSJBL4V2X7FYBhTc1I5ew975RhhG88aiEdunUcdVdVTN5ek5vw= Received: from CWLP265CA0363.GBRP265.PROD.OUTLOOK.COM (2603:10a6:401:5e::15) by CWXP265MB2456.GBRP265.PROD.OUTLOOK.COM (2603:10a6:400:9e::7) 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 10:42:33 +0000 Received: from CWLGBR01FT035.eop-gbr01.prod.protection.outlook.com (2603:10a6:401:5e:cafe::ef) by CWLP265CA0363.outlook.office365.com (2603:10a6:401:5e::15) 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 10:42:33 +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 Received: from semantical.co.uk (178.79.136.144) by CWLGBR01FT035.mail.protection.outlook.com (10.152.40.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.20 via Frontend Transport; Wed, 30 Nov 2022 10:42:32 +0000 Received: by semantical.co.uk (Postfix, from userid 5001) id 636B6114002; Wed, 30 Nov 2022 10:42:32 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=masteringemacs.org; s=masteringemacs.org; t=1669804952; bh=oeYRgVRwFoA3rKOg6+hBHIMqTvzDBvrb7ySSKfjE+Vg=; h=From:To:Subject:Date:From; b=Ru9EYHt2X5nBlRMn0jkfQKob7cH60m3mj+sAcpo1wt84+87hXqon+Dz5Q5igq2Ecd YiIg37NmSaQj9UEjHhO39g/mYNaLxOfpPD5N/XYgcn4R8CnkK256rNXOABj/+VZknj YHn7p8wTX1ERkC1QmMxcj7et3D111Qib2S1P68CA= X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on semantical.co.uk X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_RECEIVED, NO_RELAYS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 From: Mickey Petersen To: bug-gnu-emacs@gnu.org Subject: 30.0.50; tab bar groups are not ordered properly Date: Wed, 30 Nov 2022 10:42:30 +0000 Message-ID: <87iliw206h.fsf@masteringemacs.org> Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CWLGBR01FT035:EE_|CWXP265MB2456:EE_ MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: b0bb7ec9-c887-4dca-37ce-08dad2bf9658 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: De9bFKjDOuYumgnsxqW3qGupMKauOAbALt2O408nUFowUnssIs5DXfzXWCDpmUVXv9B6G3nodcdgNlxS5okEaPNPldWhfkeR7Qqj4hE4CBRC+mkxseq5/nWRWzwiOxZ3SwA0i/4lxLHs4Qv5G8FAT9VNyJA5FDmwRilnXzDrcPQWisIhXFWWHOTgzzeggu2JEl4zRZuAfa+doQyjJiUzj1mnhv3AYiYhSzgbNycKD9UF/vq5Jq7bbUk63EAUmbEVkkwm2s9bPTp0JmoMSooxyp7Ak2SlUKgzVVJ+Nr9kPkZYV9tn8xs7tcEvrNJkAzBeSnSH+1HJ8U68Ayw5l55NXG+UXKKS/CgxxwL1mx+shisQ5l//6IRLYA6LdnRcLLN6hCCYYz/GdxbKRnHl9Qyuyim7STaGnbDsVeWP7e0Ka1pKwc8Pz2hBRQG4wY/fV6r+Sl7l7CO+2nr2gYDaHOLTJQd6v+R7cw5rM38fOIKP28yMoilYXPLFw5KZdmWlJmz7HoUPcLS/BwRnPj7EodFW9banBQ8MtbdKnCv77qoXY840EEqr9waFFlBNfAm5rX+p+Cmd7wlgWxLwloufYniayDt7HnYUn8BoxfUNTIWe9ZpyHH/ZoIIPkDdLChkPwwVpcOq/BFnvIU+4xQlnu9oAEoNso7JhNUcYiJ3abB7RWRuCRofjvI8o/AK162AuQB1j6DvmLVH9k+UydeTe3c/l2lWYmbSrYUDZmvMNWzpli3ZBT2yIJ6ls9fMoaMWo9+fu 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)(396003)(376002)(136003)(346002)(39830400003)(451199015)(46966006)(36840700001)(186003)(70586007)(8936002)(5660300002)(86362001)(36756003)(41300700001)(42186006)(316002)(8676002)(36860700001)(47076005)(7596003)(356005)(40480700001)(82310400005)(2616005)(26005)(6266002)(70206006)(336012)(478600001)(6916009)(2906002)(4001150100001)(7636003)(38230200001)(14776008)(79816003); DIR:OUT; SFP:1102; X-OriginatorOrg: masteringemacs.org X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Nov 2022 10:42:32.8828 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b0bb7ec9-c887-4dca-37ce-08dad2bf9658 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: CWLGBR01FT035.eop-gbr01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CWXP265MB2456 Received-SPF: pass client-ip=40.107.11.114; envelope-from=mickey@masteringemacs.org; helo=GBR01-CWL-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 30 Nov 2022 09:06:54 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) 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. This fixes it as I sort the entries before changing the frame parameter. (defun tab-bar-tabs-set (tabs &optional frame) "Set a list of TABS on the FRAME." (set-frame-parameter frame 'tabs (seq-sort-by (lambda (el) (alist-get 'group el nil)) #'string-lessp tabs))) In GNU Emacs 30.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2022-11-29 built on mickey-work Repository revision: 7939184f8e0370e7a3397d492812c6d202c2a193 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12013000 System Description: Ubuntu 20.04.3 LTS Configured using: 'configure --with-native-compilation --with-json --with-mailutils --without-compress-install --with-imagemagick CC=gcc-10' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ IMAGEMAGICK JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LC_MONETARY: en_GB.UTF-8 value of $LC_NUMERIC: en_GB.UTF-8 value of $LC_TIME: en_GB.UTF-8 value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: EL Memory information: ((conses 16 1483854 167854) (symbols 48 84157 42) (strings 32 413180 15457) (string-bytes 1 12110186) (vectors 16 149413) (vector-slots 8 3697202 167267) (floats 8 844 449) (intervals 56 19443 3620) (buffers 992 60)) From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 30 11:42:02 2022 Received: (at 59721) by debbugs.gnu.org; 30 Nov 2022 16:42:02 +0000 Received: from localhost ([127.0.0.1]:33801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0Q9q-000738-6r for submit@debbugs.gnu.org; Wed, 30 Nov 2022 11:42:02 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:59803) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0Q9h-00072P-J2 for 59721@debbugs.gnu.org; Wed, 30 Nov 2022 11:41:57 -0500 Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 2285720005; Wed, 30 Nov 2022 16:41:43 +0000 (UTC) From: Juri Linkov To: Mickey Petersen Subject: Re: bug#59721: 30.0.50; tab bar groups are not ordered properly In-Reply-To: <87iliw206h.fsf@masteringemacs.org> (Mickey Petersen's message of "Wed, 30 Nov 2022 10:42:30 +0000") Organization: LINKOV.NET References: <87iliw206h.fsf@masteringemacs.org> Date: Wed, 30 Nov 2022 18:38:57 +0200 Message-ID: <86o7soii72.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 59721 Cc: 59721@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > 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. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 30 12:11:14 2022 Received: (at 59721) by debbugs.gnu.org; 30 Nov 2022 17:11:14 +0000 Received: from localhost ([127.0.0.1]:33964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0Qc5-0007LA-Q4 for submit@debbugs.gnu.org; Wed, 30 Nov 2022 12:11:14 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:35957) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0Qbz-0007Ka-AI for 59721@debbugs.gnu.org; Wed, 30 Nov 2022 12:11:10 -0500 Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id EAE5D40006; Wed, 30 Nov 2022 17:10:58 +0000 (UTC) From: Juri Linkov To: Mickey Petersen Subject: Re: bug#59721: 30.0.50; tab bar groups are not ordered properly In-Reply-To: <871qpk1jcl.fsf@masteringemacs.org> (Mickey Petersen's message of "Wed, 30 Nov 2022 16:43:21 +0000") Organization: LINKOV.NET References: <87iliw206h.fsf@masteringemacs.org> <86o7soii72.fsf@mail.linkov.net> <871qpk1jcl.fsf@masteringemacs.org> Date: Wed, 30 Nov 2022 19:09:46 +0200 Message-ID: <86pmd4fjxh.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 59721 Cc: 59721@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > 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? Your guess is right. After customizing this variable and using e.g. (add-to-list 'display-buffer-alist '("buffer1" . (display-buffer-in-tab (tab-name . "C") (tab-group . "foo")))) it merges the new tab with its group. > 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. So you suggest to make this value the default? Ok, the default value will be changed in the release branch. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 30 13:48:14 2022 Received: (at 59721) by debbugs.gnu.org; 30 Nov 2022 18:48:14 +0000 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 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= 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 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 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 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= X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on semantical.co.uk X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_RECEIVED, NO_RELAYS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 References: <87iliw206h.fsf@masteringemacs.org> <86o7soii72.fsf@mail.linkov.net> User-agent: mu4e 1.8.11; emacs 30.0.50 From: Mickey Petersen To: Juri Linkov Subject: Re: bug#59721: 30.0.50; tab bar groups are not ordered properly Date: Wed, 30 Nov 2022 16:43:21 +0000 Organization: Mastering Emacs In-reply-to: <86o7soii72.fsf@mail.linkov.net> Message-ID: <871qpk1jcl.fsf@masteringemacs.org> Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LO2GBR01FT023:EE_|LO0P265MB6629:EE_ MIME-Version: 1.0 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/SC5bZAGj2J2Cd9coWQo2wVzr89oRAsVViN0 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-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 59721 X-Mailman-Approved-At: Wed, 30 Nov 2022 13:48:10 -0500 Cc: 59721@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 30 13:48:19 2022 Received: (at 59721) by debbugs.gnu.org; 30 Nov 2022 18:48:19 +0000 Received: from localhost ([127.0.0.1]:34457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0S7z-000270-GB for submit@debbugs.gnu.org; Wed, 30 Nov 2022 13:48:19 -0500 Received: from mail-cwlgbr01on2117.outbound.protection.outlook.com ([40.107.11.117]:47617 helo=GBR01-CWL-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0S2i-00023K-Oh for 59721@debbugs.gnu.org; Wed, 30 Nov 2022 13:42:51 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DjXX5h5mL1SZh8bcPA8syg2jDo0++u6awZmd9eRLtGkq0Oz33NKujQ64P8Q+1uB29MwOVHZN7gPNjAru2F4qsmjHDa1kivzTXafMimY0DFjIhWC6QcZW2QfYOSSF8PK0a0YifRELVoItjKfK+BpZD04jn2Yp0xgFrKeptcfKzrwATm9G5VDRXWQ+RQQHK90kD4tlv79NQFuQatRL+2kfI4f0IQ6va9oSjzARA08ktDxNK1Ghe2UR9Ksig7QW3/BkyMzGSxMYUqRJNLb8kOHhIpNfEg9QmDXBaAGnOr3gqSwD45v4Sv9eK7t8q1kL1Upjju6iLk5nz3gnW2yoQf3snw== 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=z/rjtBMxRiwp0TkHA2gm79lE+USI1wYGRFARBp/pxB8=; b=RW0mXzXfV90UlbQplnysYXDLqmyPph6AmapWD1YI5szBpZjHLGYLUTialz8mHnQlgMH7/F1mGeI2NE5XgtU0XXBRm+ILWqzI+5950x+0kkLc57z4Kv7Nhsc+K8a6CRSUjFn2vVZ8wu7uCfoZjOwb44Td+WVANofWLbfpYXi2Eqls90aQBVtaIz1dVaJJG3TaeBOk3WeR10+DC6EW+orxImZ2ddbVPYwn/QUbSitS9E6pBZ3g9inQc5ieVOpycaS5DMwcb5EhDX2M+yJPkz/4Z1e0L+xC7mwo4sIe3jeobYLrHvoeX9HDUTxwHxsds+3jWriMztBYq/UYUSz3uTqWww== 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=z/rjtBMxRiwp0TkHA2gm79lE+USI1wYGRFARBp/pxB8=; b=tVHfLl5AooZLuXNkfGBESjQpOL52yuiJyqTpZPalZNLT2t/DwA0d+jPQdzkswopQp+HXI5RKhab88oYovbi00UCfi35OhgY/b2xOT73FumVZ07s7dlAvhKRI0+yl5QolB3E0NVxmYHLS7z9VvMXJDxlTdZVU7PUDGBkCEFyd32k= Received: from CWLP265CA0438.GBRP265.PROD.OUTLOOK.COM (2603:10a6:400:1d7::18) by LO4P265MB6949.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:34e::7) 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 18:42:41 +0000 Received: from CWLGBR01FT039.eop-gbr01.prod.protection.outlook.com (2603:10a6:400:1d7:cafe::9d) by CWLP265CA0438.outlook.office365.com (2603:10a6:400:1d7::18) 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 18:42:41 +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 Received: from semantical.co.uk (178.79.136.144) by CWLGBR01FT039.mail.protection.outlook.com (10.152.40.167) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.22 via Frontend Transport; Wed, 30 Nov 2022 18:42:41 +0000 Received: by semantical.co.uk (Postfix, from userid 5001) id EC8C0114002; Wed, 30 Nov 2022 18:42:40 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=masteringemacs.org; s=masteringemacs.org; t=1669833760; bh=nCyGSOPv602/ZL3TR+LCwaRZoLBZwgU1md1nIuQsFsM=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=dNFclqR3YcuRLw/NEZNEJFMJrDEtYdsyW4Ro4CGt70PrFzc2vGP2tzOtqYQbflBob s7zD/X/3+UYBhCgR8RdnN8ZmxoSC3bDo2w2iAK+VKmVaOlAQrBeetIjxZg1a3w9fBf ZvqmVETVHQDusl7qA5c7oeLUXuQNddM1oux3AYU0= X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on semantical.co.uk X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_RECEIVED, NO_RELAYS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 References: <87iliw206h.fsf@masteringemacs.org> <86o7soii72.fsf@mail.linkov.net> <871qpk1jcl.fsf@masteringemacs.org> <86pmd4fjxh.fsf@mail.linkov.net> User-agent: mu4e 1.8.11; emacs 30.0.50 From: Mickey Petersen To: Juri Linkov Subject: Re: bug#59721: 30.0.50; tab bar groups are not ordered properly Date: Wed, 30 Nov 2022 18:41:48 +0000 Organization: Mastering Emacs In-reply-to: <86pmd4fjxh.fsf@mail.linkov.net> Message-ID: <87wn7cz3kx.fsf@masteringemacs.org> Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CWLGBR01FT039:EE_|LO4P265MB6949:EE_ MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 6ca11278-35b9-4a1e-7112-08dad302a981 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HzVkcBRnI4Uh0h0plYk0OUjigB4AlSrFqRsAasnlurTl4+tEr+GgsTft8vbisWIXCUDEdlUTCpQ4iw5dhPB0t+eSyAMMHi12fpebzB5bQUabvP/nA8p7FMRqQstBuFPsK6Dz5vd9jAiWnfIbRSzmgAZmuUJDiiURbknn9JevTv5E6uYMueWxODt8+JTzGjx5fm7A5fyHuH1aD1G10DRQxhog9S006uvPyBzoZ6Ci7TEw/GuiqzVLT+IkzYFp18jyHZzWyf4FNEGIjSNOmMmKLxV0dzXJQ7cy2HoRky0O8hrv4fM2rTmJkUABmFWIl6Dfiz5qzy3f8VXj9jxShk9GdD6OjwZbYaydE0YzewdboDgQCQKgdiHE86sPl7kVoxt8HSoCooV0t1xQI/GZK5vU3+kJXTZEz0Ng4CDS1SeY65/dY+cyUos3oCMy8rwcBQ0nxlQDKKaBSVXJKg/WSht3/N7Z5Edo+aFDriUtRaI2CszJ2PbvgdppH+eN1STYP4vzkYvOVsX/0aw+q02hht8EtNR/dGDiP+E+iPN9iLqcpBGMITadbTRs+PXr45b6th9WXKwIl3A7b0iwoeRIGbUjIyBXYdVps+sVbzU6SLuXq9K1DEF+JESKMtJQYqSEJ+AXqvneBkbXcJVLaM9xxlNYd9uoU8OBqhqpSnqaF+yQgL6SOvVhGljNhDiGBFO+xPl7fgdsgzvhj8de3zks990SksPzHutlwx3LIUb/TBgip2xjT1q2bo3VB9h7MKOZJ2SB 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)(136003)(39830400003)(376002)(396003)(346002)(451199015)(46966006)(36840700001)(86362001)(36860700001)(478600001)(36916002)(26005)(42186006)(41300700001)(8936002)(2616005)(336012)(6266002)(47076005)(5660300002)(6862004)(40480700001)(36756003)(356005)(7596003)(2906002)(7636003)(316002)(186003)(8676002)(4326008)(70586007)(70206006)(82310400005)(38230200001)(79816003)(14776008); DIR:OUT; SFP:1102; X-OriginatorOrg: masteringemacs.org X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Nov 2022 18:42:41.3105 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6ca11278-35b9-4a1e-7112-08dad302a981 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: CWLGBR01FT039.eop-gbr01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: LO4P265MB6949 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 59721 X-Mailman-Approved-At: Wed, 30 Nov 2022 13:48:10 -0500 Cc: 59721@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Juri Linkov writes: >> 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? > > Your guess is right. After customizing this variable and using e.g. > > (add-to-list 'display-buffer-alist > '("buffer1" . > (display-buffer-in-tab > (tab-name . "C") > (tab-group . "foo")))) > > it merges the new tab with its group. > Good stuff. Thanks, Juri. >> 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. > > So you suggest to make this value the default? Ok, the default value > will be changed in the release branch. I feel it's what people expect to happen -- what do you think? From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 30 14:39:27 2022 Received: (at 59721) by debbugs.gnu.org; 30 Nov 2022 19:39:27 +0000 Received: from localhost ([127.0.0.1]:34681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0SvW-0002ZD-TV for submit@debbugs.gnu.org; Wed, 30 Nov 2022 14:39:27 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:46689) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0SvV-0002Z4-G3; Wed, 30 Nov 2022 14:39:26 -0500 Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 847302000A; Wed, 30 Nov 2022 19:39:15 +0000 (UTC) From: Juri Linkov To: Mickey Petersen Subject: Re: bug#59721: 30.0.50; tab bar groups are not ordered properly In-Reply-To: <87wn7cz3kx.fsf@masteringemacs.org> (Mickey Petersen's message of "Wed, 30 Nov 2022 18:41:48 +0000") Organization: LINKOV.NET References: <87iliw206h.fsf@masteringemacs.org> <86o7soii72.fsf@mail.linkov.net> <871qpk1jcl.fsf@masteringemacs.org> <86pmd4fjxh.fsf@mail.linkov.net> <87wn7cz3kx.fsf@masteringemacs.org> Date: Wed, 30 Nov 2022 21:38:28 +0200 Message-ID: <8635a0b5cb.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 59721 Cc: 59721@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) close 59721 29.1 thanks >>> 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. >> >> So you suggest to make this value the default? Ok, the default value >> will be changed in the release branch. > > I feel it's what people expect to happen -- what do you think? I was unsure about this, but now that you raised this question, I agree it would be natural for people to expect their groups don't get scattered over the whole tab bar. So now this is changed in emacs-29. Thanks for suggesting this before the next release, so we had a chance not to postpone this improvement for another release cycle. From unknown Sat Jun 21 03:24:12 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 29 Dec 2022 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator