all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Aaron Jensen <aaronjensen@gmail.com>
Cc: 59208@debbugs.gnu.org
Subject: bug#59208: 29.0.50; tab-bar-auto-width plus display space cpu spin
Date: Mon, 14 Nov 2022 19:28:35 +0200	[thread overview]
Message-ID: <86wn7xwle4.fsf@mail.linkov.net> (raw)
In-Reply-To: <CAHyO48xK7d-MzJO1X6jdvcUmYMe_1zEZ1t2WUULnWY8N6sKBFA@mail.gmail.com> (Aaron Jensen's message of "Mon, 14 Nov 2022 09:50:24 -0500")

>> > As an aside, auto-width doesn't work very well when using a
>> > variable-pitch font for your tab bar. Specifically, for me it doesn't
>> > take up the full width when I have enough tabs that would fill that
>> > width.
>>
>> Sorry, I don't understand the problem.  It doesn't take up the full width
>> of the tab bar?  Does it fill the whole tab bar when you customize
>> tab-bar-auto-width-max to nil?
>
> No, it does not. It's not computing the overall width of the window
> correctly or something like that: https://share.cleanshot.com/otuZj4

Could you show the minimal tab function that reproduces the problem.
Is it more like this?

(defun aj/tab-bar-tab-name-format (tab i)
  (propertize
   (concat (alist-get 'name tab)
           (propertize " " 'display '(space :width (8))))
   'face (funcall tab-bar-tab-face-function tab)))

(setq tab-bar-tab-name-format-function #'aj/tab-bar-tab-name-format)





  reply	other threads:[~2022-11-14 17:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-12  7:31 bug#59208: 29.0.50; tab-bar-auto-width plus display space cpu spin Aaron Jensen
2022-11-12 18:33 ` Juri Linkov
2022-11-12 19:39   ` Aaron Jensen
2022-11-13 18:17     ` Juri Linkov
2022-11-13 19:17       ` Aaron Jensen
2022-11-14  7:50         ` Juri Linkov
2022-11-14 14:50           ` Aaron Jensen
2022-11-14 17:28             ` Juri Linkov [this message]
2022-11-14 18:11               ` Aaron Jensen

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86wn7xwle4.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=59208@debbugs.gnu.org \
    --cc=aaronjensen@gmail.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.