From unknown Fri Jun 20 19:53:25 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#60297 <60297@debbugs.gnu.org> To: bug#60297 <60297@debbugs.gnu.org> Subject: Status: 30.0.50; tab-bar-mode does not resize tabs without close button Reply-To: bug#60297 <60297@debbugs.gnu.org> Date: Sat, 21 Jun 2025 02:53:25 +0000 retitle 60297 30.0.50; tab-bar-mode does not resize tabs without close butt= on reassign 60297 emacs submitter 60297 Protesilaos Stavrou severity 60297 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 24 04:33:23 2022 Received: (at submit) by debbugs.gnu.org; 24 Dec 2022 09:33:23 +0000 Received: from localhost ([127.0.0.1]:41999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p90uB-00041B-CS for submit@debbugs.gnu.org; Sat, 24 Dec 2022 04:33:23 -0500 Received: from lists.gnu.org ([209.51.188.17]:35752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p90u9-000415-W7 for submit@debbugs.gnu.org; Sat, 24 Dec 2022 04:33:22 -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 1p90u9-00021v-PQ for bug-gnu-emacs@gnu.org; Sat, 24 Dec 2022 04:33:21 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p90u6-000086-SG for bug-gnu-emacs@gnu.org; Sat, 24 Dec 2022 04:33:21 -0500 Received: (Authenticated sender: public@protesilaos.com) by mail.gandi.net (Postfix) with ESMTPSA id 327D21C0004 for ; Sat, 24 Dec 2022 09:33:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protesilaos.com; s=gm1; t=1671874394; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=pj4d+lOHGzysJLozyFy4c+llkowEaAEzu6eUsS5p/+8=; b=i4tEs+XPbUQshr6QWN4Z9/MerfGAG9fkarPPhy4mQ3DjS7Be2WZfIOFI5wAW+aO0ceNqUx RMCuGrptKtDOZtaGCRqYaqCdeJV8qf9xedw1wLYJSBLte7DReeRe/7Z5epSwu1jbOYcH1b U0rgSEPNoRnykbswcQ2x8yO+zmdVxg0Iy8MIBdAuw2A4FtWfNoQuUF2NVSsORJiwDVulXt rEpdDK9jsHREgB9O52FnVzDOnoVBuz2xTmjwBFABhsh3LjeFGyjOt6NNxeSGEtloRMMnOv KGdlHHPJeLOSu4OiXd7jpC2LE3NKxQxMzXnxrPGXFddEGHBxuS7jhvqCYXcxIw== From: Protesilaos Stavrou To: bug-gnu-emacs@gnu.org Subject: 30.0.50; tab-bar-mode does not resize tabs without close button Date: Sat, 24 Dec 2022 11:33:11 +0200 Message-ID: <87a63d2lk8.fsf@protesilaos.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=217.70.183.197; envelope-from=info@protesilaos.com; helo=relay5-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit 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: -3.3 (---) Dear maintainers, The 'tab-bar-mode' can shrink tabs that exceed a certain width (see 'tab-bar-auto-width' and related). This does not work when 'tab-bar-close-button-show' is set to nil. In the scratch buffer of 'emacs -Q': - Evaluate (tab-bar-mode 1) - The tab shows the name of the buffer. - Now rename the buffer to something long: (rename-buffer "This is a very long title just to test if tabs have a max width as expected.") - The tab does not grow as much as the new name. - Now disable the close button: (setq tab-bar-close-button-show nil) - Evaluate again (tab-bar-mode 1) - The tab is not responding to 'tab-bar-auto-width'. All the best, Protesilaos (or simply "Prot") * * * In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.35, cairo version 1.17.6) of 2022-12-24 built on kronos Repository revision: 6c1413d5ef0d1fea639b0d8c83a0c0065d99359b Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101005 System Description: Arch Linux Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games --with-modules --without-libotf --without-m17n-flt --without-gconf --with-native-compilation=yes --with-xinput2 --with-x-toolkit=gtk3 --without-xaw3d --with-sound=no --with-tree-sitter --without-gpm --without-compress-install '--program-transform-name=s/\([ec]tags\)/\1.emacs/' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection' LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB -- Protesilaos Stavrou https://protesilaos.com From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 24 13:06:09 2022 Received: (at 60297) by debbugs.gnu.org; 24 Dec 2022 18:06:09 +0000 Received: from localhost ([127.0.0.1]:47106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p98uO-0003YV-TI for submit@debbugs.gnu.org; Sat, 24 Dec 2022 13:06:09 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:40771) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p98uI-0003Xc-Qe; Sat, 24 Dec 2022 13:06:07 -0500 Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id B7CA71C0002; Sat, 24 Dec 2022 18:05:53 +0000 (UTC) From: Juri Linkov To: Protesilaos Stavrou Subject: Re: bug#60297: 30.0.50; tab-bar-mode does not resize tabs without close button In-Reply-To: <87a63d2lk8.fsf@protesilaos.com> (Protesilaos Stavrou's message of "Sat, 24 Dec 2022 11:33:11 +0200") Organization: LINKOV.NET References: <87a63d2lk8.fsf@protesilaos.com> Date: Sat, 24 Dec 2022 20:05:28 +0200 Message-ID: <86edsoy8wn.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: 60297 Cc: 60297@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 60297 30.0.50 thanks > The 'tab-bar-mode' can shrink tabs that exceed a certain width (see > 'tab-bar-auto-width' and related). This does not work when > 'tab-bar-close-button-show' is set to nil. > > In the scratch buffer of 'emacs -Q': > > - Evaluate (tab-bar-mode 1) > > - The tab shows the name of the buffer. > > - Now rename the buffer to something long: > (rename-buffer "This is a very long title just to test if tabs have a max width as expected.") > > - The tab does not grow as much as the new name. > > - Now disable the close button: (setq tab-bar-close-button-show nil) > > - Evaluate again (tab-bar-mode 1) > > - The tab is not responding to 'tab-bar-auto-width'. Thanks for the bug report. This broke in 30.0.50 after replacing 'setf' with code from 'cl--set-substring' in the commit 9452dc4821a. Now this is fixed by copying more logic from 'cl--set-substring'. From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 25 00:33:09 2022 Received: (at 60297) by debbugs.gnu.org; 25 Dec 2022 05:33:09 +0000 Received: from localhost ([127.0.0.1]:47440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p9JdF-0007Sw-Iq for submit@debbugs.gnu.org; Sun, 25 Dec 2022 00:33:09 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:52659) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p9JdC-0007SB-93 for 60297@debbugs.gnu.org; Sun, 25 Dec 2022 00:33:08 -0500 Received: (Authenticated sender: public@protesilaos.com) by mail.gandi.net (Postfix) with ESMTPSA id 6681A240002; Sun, 25 Dec 2022 05:32:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protesilaos.com; s=gm1; t=1671946380; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=JmmbSq+k2tQQzIOu+gGh57Fo7dbfbvi3FAVVGTrTTmM=; b=m23sSgRcpUCoOdHRwL+mwymWlAiM400fklTP3DlKDGYCzpx1TFlKDi3fI/i7P7Xsb7srlD 1pirmT/qi96VKHQg2QE4tNyRFZ19UVyLoM9sngZPLjyut64iTjPRurQzmy38r5W2VmmZqn YTG8Q4Sq234QXEg17qMAcoeq5CyIv9jySfKmWxJNePNV8ROuIShnVQGYK3Cs0AqD2zu5Vv FfYa+3yakdozxv6LZkikahJzvsTlXMt6YnhS8/VmB2dqOiXWtzt6bNlauRe+nrcxqiZP+6 rn5PTSFESMFgf1HlYlKraGD+pAZVcujj2W9uFIdFXMJIimANhAuoSo64R+pYBw== From: Protesilaos Stavrou To: Juri Linkov Subject: Re: bug#60297: 30.0.50; tab-bar-mode does not resize tabs without close button In-Reply-To: <86edsoy8wn.fsf@mail.linkov.net> References: <87a63d2lk8.fsf@protesilaos.com> <86edsoy8wn.fsf@mail.linkov.net> Date: Sun, 25 Dec 2022 07:32:57 +0200 Message-ID: <87bknsyrna.fsf@protesilaos.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 60297 Cc: 60297@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 (-) > From: Juri Linkov > Date: Sat, 24 Dec 2022 20:05:28 +0200 > > close 60297 30.0.50 > thanks > > [... 21 lines elided] > > Thanks for the bug report. This broke in 30.0.50 after replacing 'setf' > with code from 'cl--set-substring' in the commit 9452dc4821a. > Now this is fixed by copying more logic from 'cl--set-substring'. Thank you, Juri! I rebuilt Emacs and it works as expected. -- Protesilaos Stavrou https://protesilaos.com From unknown Fri Jun 20 19:53:25 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 22 Jan 2023 12:24:08 +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