bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#42522: Emacs 27: 100% CPU when setting mode-name with ligatures


From: Evan Moses
Subject: bug#42522: Emacs 27: 100% CPU when setting mode-name with ligatures
Date: Fri, 24 Jul 2020 14:35:50 -0700

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.

--

reply via email to

[Prev in Thread] Current Thread [Next in Thread]