all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Aaron Jensen <aaronjensen@gmail.com>
To: Juri Linkov <juri@linkov.net>
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 13:11:28 -0500	[thread overview]
Message-ID: <CAHyO48yNMeTtOwAhEfOix+Ep_jz-C34jBELfAW6Oi20ZCGPUew@mail.gmail.com> (raw)
In-Reply-To: <86wn7xwle4.fsf@mail.linkov.net>

On Mon, Nov 14, 2022 at 12:38 PM Juri Linkov <juri@linkov.net> wrote:
>
> >> > 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)

It happens with the default. The issue is the variable pitch font.





      reply	other threads:[~2022-11-14 18:11 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
2022-11-14 18:11               ` Aaron Jensen [this message]

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=CAHyO48yNMeTtOwAhEfOix+Ep_jz-C34jBELfAW6Oi20ZCGPUew@mail.gmail.com \
    --to=aaronjensen@gmail.com \
    --cc=59208@debbugs.gnu.org \
    --cc=juri@linkov.net \
    /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.