[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25682: 25.1; font-lock: fontifying too slow in some modes on very lo
From: |
Lars Ingebrigtsen |
Subject: |
bug#25682: 25.1; font-lock: fontifying too slow in some modes on very long lines |
Date: |
Thu, 31 Oct 2019 18:07:53 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Ryan B <public@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
Description: Text document
- bug#25682: 25.1; font-lock: fontifying too slow in some modes on very long lines,
Lars Ingebrigtsen <=