From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Protesilaos Stavrou Newsgroups: gmane.emacs.bugs Subject: bug#60297: 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 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5902"; mail-complaints-to="usenet@ciao.gmane.io" To: 60297@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 24 10:34:42 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 1p90vQ-0001Fk-KE for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Dec 2022 10:34:40 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p90us-0002Dz-2G; Sat, 24 Dec 2022 04:34:06 -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 1p90uo-0002DU-Ng for bug-gnu-emacs@gnu.org; Sat, 24 Dec 2022 04:34: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 1p90uo-0000DA-F9 for bug-gnu-emacs@gnu.org; Sat, 24 Dec 2022 04:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p90uo-00041b-9o for bug-gnu-emacs@gnu.org; Sat, 24 Dec 2022 04:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Protesilaos Stavrou Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Dec 2022 09:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60297 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.167187440315453 (code B ref -1); Sat, 24 Dec 2022 09:34:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Dec 2022 09:33:23 +0000 Original-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 Original-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 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 1p90u9-00021v-PQ for bug-gnu-emacs@gnu.org; Sat, 24 Dec 2022 04:33:21 -0500 Original-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 Original-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== 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-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:251789 Archived-At: 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