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

Previous Next

Package: emacs;

Reported by: Evan Moses <emoses <at> gmail.com>

Date: Fri, 24 Jul 2020 22:30:01 UTC

Severity: normal

Done: Stefan Kangas <stefan <at> marxist.se>

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: Stefan Kangas <stefan <at> marxist.se>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#42522: closed (Emacs 27: 100% CPU when setting mode-name with
 ligatures)
Date: Thu, 13 Aug 2020 16:55:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 13 Aug 2020 09:54:50 -0700
with message-id <CADwFkmkDcbffnD6BfEoS637aWKdO9kTkakjP5iem6ZnXESRMXQ <at> mail.gmail.com>
and subject line Re: bug#42522: Emacs 27: 100% CPU when setting mode-name with ligatures
has caused the debbugs.gnu.org bug report #42522,
regarding Emacs 27: 100% CPU when setting mode-name with ligatures
to be marked as done.

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


-- 
42522: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42522
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Evan Moses <emoses <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Emacs 27: 100% CPU when setting mode-name with ligatures
Date: Fri, 24 Jul 2020 14:35:50 -0700
[Message part 3 (text/plain, inline)]
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 <at> gmail.com
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Stefan Kangas <stefan <at> marxist.se>
To: Evan Moses <emoses <at> gmail.com>
Cc: 42522-done <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>,
 Robert Pluim <rpluim <at> gmail.com>
Subject: Re: bug#42522: Emacs 27: 100% CPU when setting mode-name with
 ligatures
Date: Thu, 13 Aug 2020 09:54:50 -0700
Evan Moses <emoses <at> gmail.com> writes:

> Seems to work fine now; Thanks!

Thanks.  I'm therefore closing this bug report.

Best regards,
Stefan Kangas


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

Previous Next


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