unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#41454: 28.0.50; [".+" 0 font-shape-gstring] composition rule breaks paren highlighting
@ 2020-05-22 12:50 Pip Cet
  2020-05-22 13:01 ` Eli Zaretskii
  2020-05-31 17:50 ` Eli Zaretskii
  0 siblings, 2 replies; 9+ messages in thread
From: Pip Cet @ 2020-05-22 12:50 UTC (permalink / raw)
  To: 41454

[-- Attachment #1: Type: text/plain, Size: 751 bytes --]

...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).

[-- Attachment #2: paren.png --]
[-- Type: image/png, Size: 16755 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-06-03  7:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-22 12:50 bug#41454: 28.0.50; [".+" 0 font-shape-gstring] composition rule breaks paren highlighting Pip Cet
2020-05-22 13:01 ` Eli Zaretskii
2020-05-22 13:18   ` Pip Cet
2020-05-22 13:23     ` Eli Zaretskii
2020-05-31 17:50 ` Eli Zaretskii
2020-05-31 18:01   ` Eli Zaretskii
2020-05-31 19:58     ` Pip Cet
2020-06-01 16:17       ` Eli Zaretskii
2020-06-03  7:50         ` Pip Cet

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).