GNU bug report logs - #40611
Fontification of source bufffer can make Occur very slow (Emacs 27.0.90 pretest)

Previous Next

Package: emacs;

Reported by: Konrad Podczeck <konrad.podczeck <at> univie.ac.at>

Date: Mon, 13 Apr 2020 20:34:01 UTC

Severity: normal

Tags: moreinfo

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

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: Konrad Podczeck <konrad.podczeck <at> univie.ac.at>
Cc: 40611 <at> debbugs.gnu.org
Subject: bug#40611: Fontification of source bufffer can make Occur very slow (Emacs 27.0.90 pretest) 
Date: Mon, 26 Oct 2020 12:43:40 +0100
Konrad Podczeck <konrad.podczeck <at> univie.ac.at> writes:

> Open a latex file for which "M-x occur Ret the Ret" gives about 3000
> hits. If the source buffer is fontified, it takes about 2 seconds
> until the occur-buffer pops up, a time that is about 7 times longer
> than starting the Emacs app! On the other hand, without fontification
> of the source buffer, the occur buffer pops up almost
> immediately. Setting the user option "occur-mode-hook" to nil has no
> effect on this difference.

I tried this in a tex file with about 2700 "the" matches, and it took
about half a second whether font-lock-mode was on or not (I assume
that's what you mean by "without fontification").

So I'm unable to reproduce this problem.  Are you still seeing this in
newer versions of Emacs?  If so, do you have a test file that
demonstrates this problem (starting from "emacs -Q")?

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




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

Previous Next


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