all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Evan Moses <emoses@gmail.com>
To: 42522@debbugs.gnu.org
Subject: bug#42522: Emacs 27: 100% CPU when setting mode-name with ligatures
Date: Fri, 24 Jul 2020 14:35:50 -0700	[thread overview]
Message-ID: <CAEzBis6SRbk=7tAGA2Q7i+QU9=FoYbVOFti=SBLRztvz9rFSSA@mail.gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2020-07-24 21:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-24 21:35 Evan Moses [this message]
2020-07-25  6:24 ` bug#42522: Emacs 27: 100% CPU when setting mode-name with ligatures 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEzBis6SRbk=7tAGA2Q7i+QU9=FoYbVOFti=SBLRztvz9rFSSA@mail.gmail.com' \
    --to=emoses@gmail.com \
    --cc=42522@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.