GNU bug report logs - #25706
26.0.50; Slow C file fontification

Previous Next

Packages: cc-mode, emacs;

Reported by: Sujith <m.sujith <at> gmail.com>

Date: Mon, 13 Feb 2017 18:41:01 UTC

Severity: normal

Tags: moreinfo

Found in version 26.0.50

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

Bug is archived. No further changes may be made.

Full log


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

From: martin rudalics <rudalics <at> gmx.at>
To: Alan Mackenzie <acm <at> muc.de>, Mattias EngdegÄrd
 <mattiase <at> acm.org>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 25706 <at> debbugs.gnu.org
Subject: Re: bug#25706: 26.0.50; Slow C file fontification
Date: Tue, 1 Dec 2020 10:44:31 +0100
[Message part 1 (text/plain, inline)]
> There are 342 occurrences of '\\\\([^?]' in CC Mode.  Most of these can
> surely be replaced by "\\(?:", but not all, by a long way.  This change
> will be fun.

Years ago I wrote the attached that might help you in this regard (load
it and do 'turn-on-regexp-lock-mode').  If you move point before the "("
of a "\\(" it should give you the appropriate nesting.

martin
[regexp-lock.el (text/x-emacs-lisp, attachment)]

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

Previous Next


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