GNU bug report logs - #52881
setting tab-line-separator to any value breaks clicking tabs with mouse

Previous Next

Package: emacs;

Reported by: Ben Sferrazza <ben.sferrazza <at> aeonsemi.com>

Date: Wed, 29 Dec 2021 22:14:01 UTC

Severity: normal

Fixed in version 28.0.90

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 52881 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: 52881 <at> debbugs.gnu.org, ben.sferrazza <at> aeonsemi.com
Subject: Re: bug#52881: setting tab-line-separator to any value breaks clicking
 tabs with mouse
Date: Thu, 30 Dec 2021 10:44:08 +0200
> From: Juri Linkov <juri <at> linkov.net>
> Date: Thu, 30 Dec 2021 10:05:24 +0200
> Cc: 52881 <at> debbugs.gnu.org
> 
> > This is using Emacs 27.2 on a CentOS8 machine at work. I use Emacs
> > exclusively with -nw in a terminal with mouse support enabled.
> >
> > Using something like
> >
> > (setq tab-line-separator " | ")
> >
> > breaks the ability to click on a tab to select it. Leaving it at the
> > default value avoids the bug.
> 
> Sorry, tab-line had hard-coded assumption on separators
> no longer than 1 character wide.
> 
> Eli, is it ok to push this patch to the release branch
> to support longer separators:

Yes, but can you make it a bit cleaner?  Like having a single function
to do that, and also not calling next-single-property-change twice an
a row?

Thanks.




This bug report was last modified 3 years and 140 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.