GNU bug report logs -
#51558
Long mode-line-compact breaks tab-line tabs
Previous Next
Reported by: Juri Linkov <juri <at> linkov.net>
Date: Mon, 1 Nov 2021 20:11:02 UTC
Severity: normal
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Wed, 03 Nov 2021 14:59:18 +0200
with message-id <83o871iee1.fsf <at> gnu.org>
and subject line Re: bug#51558: Long mode-line-compact breaks tab-line tabs
has caused the debbugs.gnu.org bug report #51558,
regarding Long mode-line-compact breaks tab-line tabs
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
51558: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=51558
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
0. emacs -Q
1. (setq mode-line-compact 'long)
2. (global-tab-line-mode)
3. Visit more buffers in the same window
4. Click on a non-first tab on the tab-line
5. It always selects the first tab only
The click event returns a string that contains all tabs,
whereas with the default value of mode-line-compact
the event correctly contains only one tab's string.
I don't know why mode-line-compact affects the tab-line,
but maybe it should have a condition to not apply to the tab-line?
[Message part 3 (message/rfc822, inline)]
> From: Juri Linkov <juri <at> linkov.net>
> Cc: 51558 <at> debbugs.gnu.org
> Date: Wed, 03 Nov 2021 10:45:15 +0200
>
> >> The click event returns a string that contains all tabs,
> >> whereas with the default value of mode-line-compact
> >> the event correctly contains only one tab's string.
> >>
> >> I don't know why mode-line-compact affects the tab-line,
> >> but maybe it should have a condition to not apply to the tab-line?
> >
> > I think it's indeed a bug that mode-line-compact affects anything but
> > the mode line. Does the patch below give good results?
>
> I confirm the fix, there are no more problems with it.
Thanks, I installed on the emacs-28 branch, and am closing the bug.
This bug report was last modified 3 years and 251 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.