GNU bug report logs - #54634
29.0.50; Off-by-one highlighting

Previous Next

Package: emacs;

Reported by: Rudolf Adamkovič <salutis <at> me.com>

Date: Wed, 30 Mar 2022 06:37:01 UTC

Severity: minor

Found in version 29.0.50

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Rudolf Adamkovič <salutis <at> me.com>
Cc: 54634 <at> debbugs.gnu.org
Subject: bug#54634: 29.0.50; Off-by-one highlighting
Date: Wed, 06 Apr 2022 14:01:25 +0300
> From: Rudolf Adamkovič <salutis <at> me.com>
> Cc: 54634 <at> debbugs.gnu.org
> Date: Wed, 06 Apr 2022 07:35:08 +0200
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > I meant under the default value of show-paren-style.
> 
> Yes, the current behavior makes sense under the default style, but when
> highlighting parenthesized expressions, it does not.  Instead, it causes
> confusion.  For example, it makes me worry that Emacs will copy the
> marked expression without the opening parenthesis.  Given that the
> highlight exists to help the user, and not to confuse them, I decided to
> report this bug.  I hope it all makes sense.

If you can suggest a better setting for the priority/priorities of the
two involved overlays, perhaps we could change the priority only when
this style of show-paren-mode is used, and that would be an okay
solution.




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

Previous Next


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