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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40611 in the body.
You can then email your comments to 40611 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#40611; Package emacs. (Mon, 13 Apr 2020 20:34:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Konrad Podczeck <konrad.podczeck <at> univie.ac.at>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 13 Apr 2020 20:34:01 GMT) Full text and rfc822 format available.

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

From: Konrad Podczeck <konrad.podczeck <at> univie.ac.at>
To: bug-gnu-emacs <at> gnu.org
Subject: Fontification of source bufffer can make Occur very slow (Emacs
 27.0.90 pretest) 
Date: Mon, 13 Apr 2020 22:33:32 +0200
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.

Konrad Podczeck



Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#40611; Package emacs. (Mon, 26 Oct 2020 11:45:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Konrad Podczeck <konrad.podczeck <at> univie.ac.at>
Cc: 40611 <at> debbugs.gnu.org
Subject: Re: 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




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 26 Oct 2020 11:45:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#40611; Package emacs. (Mon, 30 Nov 2020 12:48:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Konrad Podczeck <konrad.podczeck <at> univie.ac.at>
Cc: 40611 <at> debbugs.gnu.org
Subject: Re: bug#40611: Fontification of source bufffer can make Occur very
 slow (Emacs 27.0.90 pretest) 
Date: Mon, 30 Nov 2020 13:47:48 +0100
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> 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")?

More information was requested, but none was received, so I'm closing
this bug report.  If this is still an issue, please respond to the
debbugs address and we'll reopen the report.

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




bug closed, send any further explanations to 40611 <at> debbugs.gnu.org and Konrad Podczeck <konrad.podczeck <at> univie.ac.at> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 30 Nov 2020 12:49:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 29 Dec 2020 12:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 90 days ago.

Previous Next


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