GNU bug report logs - #33784
27.0.50; some case c-backward-token-2 takes cpu more and emacs hang

Previous Next

Packages: cc-mode, emacs;

Reported by: xh yang <linux.xhyang <at> gmail.com>

Date: Tue, 18 Dec 2018 04:44:01 UTC

Severity: normal

Found in version 27.0.50

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


Message #32 received at 33784 <at> debbugs.gnu.org (full text, mbox):

From: xh yang <linux.xhyang <at> gmail.com>
To: 33784 <at> debbugs.gnu.org
Date: Thu, 20 Dec 2018 15:18:49 +0800
[Message part 1 (text/plain, inline)]
I found if remove first '\n' from the *str,then run emacs will not hang.*
*May be it has nothing to do with font-lock, just str parsing ?*

(let ((str "#define SLOGE(...)\n
((void)__android_log_buf_print(LOG_ID_SYSTEM, ANDROID_LOG_ERROR, LOG_TAG,\n

change to
(let ((str "#define SLOGE(...)
((void)__android_log_buf_print(LOG_ID_SYSTEM, ANDROID_LOG_ERROR, LOG_TAG,\n
[Message part 2 (text/html, inline)]

This bug report was last modified 6 years and 154 days ago.

Previous Next


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