[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#59208: 29.0.50; tab-bar-auto-width plus display space cpu spin
From: |
Juri Linkov |
Subject: |
bug#59208: 29.0.50; tab-bar-auto-width plus display space cpu spin |
Date: |
Mon, 14 Nov 2022 19:28:35 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
>> > 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)
- bug#59208: 29.0.50; tab-bar-auto-width plus display space cpu spin, Aaron Jensen, 2022/11/12
- bug#59208: 29.0.50; tab-bar-auto-width plus display space cpu spin, Juri Linkov, 2022/11/12
- bug#59208: 29.0.50; tab-bar-auto-width plus display space cpu spin, Aaron Jensen, 2022/11/12
- bug#59208: 29.0.50; tab-bar-auto-width plus display space cpu spin, Juri Linkov, 2022/11/13
- bug#59208: 29.0.50; tab-bar-auto-width plus display space cpu spin, Aaron Jensen, 2022/11/13
- bug#59208: 29.0.50; tab-bar-auto-width plus display space cpu spin, Juri Linkov, 2022/11/14
- bug#59208: 29.0.50; tab-bar-auto-width plus display space cpu spin, Aaron Jensen, 2022/11/14
- bug#59208: 29.0.50; tab-bar-auto-width plus display space cpu spin,
Juri Linkov <=
- bug#59208: 29.0.50; tab-bar-auto-width plus display space cpu spin, Aaron Jensen, 2022/11/14