From: Juri Linkov <juri@linkov.net>
To: Protesilaos Stavrou <info@protesilaos.com>
Cc: 60297@debbugs.gnu.org
Subject: bug#60297: 30.0.50; tab-bar-mode does not resize tabs without close button
Date: Sat, 24 Dec 2022 20:05:28 +0200 [thread overview]
Message-ID: <86edsoy8wn.fsf@mail.linkov.net> (raw)
In-Reply-To: <87a63d2lk8.fsf@protesilaos.com> (Protesilaos Stavrou's message of "Sat, 24 Dec 2022 11:33:11 +0200")
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'.
next prev parent reply other threads:[~2022-12-24 18:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-24 9:33 bug#60297: 30.0.50; tab-bar-mode does not resize tabs without close button Protesilaos Stavrou
2022-12-24 18:05 ` Juri Linkov [this message]
2022-12-25 5:32 ` Protesilaos Stavrou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86edsoy8wn.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=60297@debbugs.gnu.org \
--cc=info@protesilaos.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).