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

Previous Next

Packages: emacs, cc-mode;

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: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Sujith <m.sujith <at> gmail.com>
Cc: 25706 <at> debbugs.gnu.org
Subject: bug#25706: 26.0.50; Slow C file fontification
Date: Mon, 30 Nov 2020 12:26:18 +0100
Sujith <m.sujith <at> gmail.com> writes:

> On a machine that is not very high-powered, opening some C files
> and trying to edit/view them is very slow.
>
> For example:
> https://raw.githubusercontent.com/qca/qcamain_open_hal_public/master/hal/ar9300/osprey_reg_map_macro.h
>
> This is a large file and filled with macros.
> Is there any way to view this without disabling font-lock entirely ?

(This bug report unfortunately got no response at the time.)

I tried reproducing this on a pretty new laptop, and opening the file in
question (with your settings) took less than a second with Emacs 28.

You say "very slow", but not what kind of time scale you mean -- one
second or one minute or something.

Are you still seeing this issue in more recent versions of Emacs?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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.