unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#42522: Emacs 27: 100% CPU when setting mode-name with ligatures
@ 2020-07-24 21:35 Evan Moses
  2020-07-25  6:24 ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Evan Moses @ 2020-07-24 21:35 UTC (permalink / raw)
  To: 42522

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

Emacs version: GNU Emacs 27.0.91 (build 1, x86_64-apple-darwin18.7.0, NS
appkit-1671.60 Version 10.14.6 (Build 18G5033)) of 2020-07-24
Built d5acc509415869bce22c49ae311f2960494a0bdc locally


To reproduce, evaluate this

(set-char-table-range composition-function-table 47
'([".\\(?:\\(?:\\*\\*\\|//\\|==\\)\\|[*/=>]\\)" 0 font-shape-gstring]))

And then evaluate

(setq mode-name "test//")

Emacs will become unresponsive and consume 100% CPU.

-- 
Evan Moses
emoses@gmail.com

[-- Attachment #2: Type: text/html, Size: 838 bytes --]

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

end of thread, other threads:[~2020-08-13 16:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-24 21:35 bug#42522: Emacs 27: 100% CPU when setting mode-name with ligatures Evan Moses
2020-07-25  6:24 ` Eli Zaretskii
2020-07-25 17:22   ` Robert Pluim
2020-07-25 17:27     ` Eli Zaretskii
2020-08-13  0:18       ` Stefan Kangas
2020-08-13 16:18         ` Evan Moses
2020-08-13 16:54           ` Stefan Kangas
2020-07-25 21:13   ` Evan Moses

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