GNU bug report logs -
#71939
tab-bar `tab-bar-show-inactive-group-tabs' feature request
Previous Next
Reported by: Ship Mints <shipmints <at> gmail.com>
Date: Thu, 4 Jul 2024 13:43:01 UTC
Severity: wishlist
Fixed in version 31.0.50
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
Message #16 received at 71939 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Thank you. In my config, I've also implemented "(setq
tab-bar-inhibit-inactive-group-tab-hints t)" which suppresses tab hints on
group tabs when inactive groups are being displayed as they are generally
superfluous in that case. We could make suppressing tab hints on group tabs
when inactive groups are being displayed as the only behavior which is also
fine by me.
(defun my/tab-bar-tab-group-format-function (tab i &optional current-p)
* (let ((tab-bar-tab-hints (if (and
tab-bar-show-inactive-group-tabs
tab-bar-inhibit-inactive-group-tab-hints) nil
tab-bar-tab-hints)))* (concat
(propertize
my:tab-bar-tab-group-name-prefix
'face (if current-p 'tab-bar-tab-group-current
'tab-bar-tab-group-inactive))
(tab-bar-tab-group-format-default tab i current-p))))
On Mon, Jul 29, 2024 at 2:28 PM Juri Linkov <juri <at> linkov.net> wrote:
> close 71939 31.0.50
> thanks
>
> >> I'd like to propose that `tab-bar' allow optionally showing tabs for
> >> inactive groups when `tab-bar-format-tabs-groups' is in force rather
> than
> >> the always-on policy of collapsing inactive groups.
> >>
> >> The proposed custom variable `tab-bar-show-inactive-group-tabs' is
> backward
> >> compatible for existing users and has no visible changes for people who
> do
> >> not set it to t. I will occasionally set the value locally to alter
> frame
> >> by frame behavior. I've also used a key binding to toggle the behavior
> to
> >> nice effect.
> >>
> >> I've been using these changes (via advice :override) under Emacs 29.3.
> >
> > Thanks for the suggestion. I'll try to adapt this for Emacs 31.
>
> I adapted this for Emacs 31 and pushed to master.
> Thanks for this feature.
>
[Message part 2 (text/html, inline)]
This bug report was last modified 353 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.