GNU bug report logs - #25682
25.1; font-lock: fontifying too slow in some modes on very long lines

Previous Next

Package: emacs;

Reported by: Ryan B <public <at> ryanb.org>

Date: Fri, 10 Feb 2017 21:45:02 UTC

Severity: normal

Found in version 25.1

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Ryan B <public <at> ryanb.org>
Cc: 25682 <at> debbugs.gnu.org
Subject: Re: 25.1; font-lock: fontifying too slow in some modes on very long
 lines
Date: Thu, 31 Oct 2019 18:07:53 +0100
[Message part 1 (text/plain, inline)]
Ryan B <public <at> ryanb.org> writes:

> here are steps that reproduce this, with gnu emacs 25.1.1 on mac os x:
>
> 1. put the single long line under the === below (18572 chars long) into a file
> 2. run emacs -Q
> 3. type C-x C-f <filename> RET to open the file
> 4. type M-x compilation-mode RET
>
> this consistently hangs emacs for 9-10s for me on modern hardware, a 2014
> retina macbook pro.

The example was corrupted in transit (line-folded), so I've included a
fixed-up version as an attachment here.

Running M-x compilation-mode takes about five seconds for me, but this
laptop is pretty fast.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no
[long.txt (text/plain, attachment)]

This bug report was last modified 2 years and 307 days ago.

Previous Next


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