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


View this message in rfc822 format

From: Alan Mackenzie <acm <at> muc.de>
To: martin rudalics <rudalics <at> gmx.at>
Cc: Mattias EngdegÄrd <mattiase <at> acm.org>, Lars Ingebrigtsen <larsi <at> gnus.org>, 25706 <at> debbugs.gnu.org
Subject: bug#25706: 26.0.50; Slow C file fontification
Date: Tue, 1 Dec 2020 10:07:08 +0000
Hello, Martin.

On Tue, Dec 01, 2020 at 10:44:31 +0100, martin rudalics wrote:
>  > 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.

Thanks!  I'll have a look at it.

> martin

-- 
Alan Mackenzie (Nuremberg, Germany).




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.