GNU bug report logs - #41454
28.0.50; [".+" 0 font-shape-gstring] composition rule breaks paren highlighting

Previous Next

Package: emacs;

Reported by: Pip Cet <pipcet <at> gmail.com>

Date: Fri, 22 May 2020 12:51:02 UTC

Severity: normal

Found in version 28.0.50

Done: Pip Cet <pipcet <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Pip Cet <pipcet <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#41454: closed (28.0.50; [".+" 0 font-shape-gstring]
 composition rule breaks paren highlighting)
Date: Wed, 03 Jun 2020 07:51:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 03 Jun 2020 07:50:45 +0000
with message-id <87v9k87fl6.fsf <at> gmail.com>
and subject line Re: bug#41454: 28.0.50; [".+" 0 font-shape-gstring] composition rule breaks paren highlighting
has caused the debbugs.gnu.org bug report #41454,
regarding 28.0.50; [".+" 0 font-shape-gstring] composition rule breaks paren highlighting
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
41454: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41454
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Pip Cet <pipcet <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; [".+" 0 font-shape-gstring] composition rule breaks paren
 highlighting
Date: Fri, 22 May 2020 12:50:13 +0000
[Message part 3 (text/plain, inline)]
...and other things. It's probably a case of "if it hurts, don't do that".

There seems to be a general problem using such regexps in the
composition-function-table.

If I evaluate this in emacs -Q (by placing point after it and hitting C-x C-e)

(custom-set-faces
 '(default ((t (:family "Libertinus Serif" :height 330)))))
(set-char-table-range composition-function-table t '([".+" 0
font-shape-gstring]))

the font correctly changes to a very large Libertinus font. I then hit
C-b C-d ) and the entire last line is highlighted, not just the
opening parenthesis. After the blink delay is over, the opening
parenthesis and the "s" following it are unhighlighted, but the rest
of the line is not. It stays like that permanently (screenshot
attached).
[paren.png (image/png, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Pip Cet <pipcet <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 41454-done <at> debbugs.gnu.org
Subject: Re: bug#41454: 28.0.50; [".+" 0 font-shape-gstring] composition
 rule breaks paren highlighting
Date: Wed, 03 Jun 2020 07:50:45 +0000
Eli Zaretskii <eliz <at> gnu.org> writes:

> LGTM, thanks.

Pushed, closing this bug.


This bug report was last modified 4 years and 355 days ago.

Previous Next


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