unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#40611: Fontification of source bufffer can make Occur very slow (Emacs 27.0.90 pretest)
@ 2020-04-13 20:33 Konrad Podczeck
  2020-10-26 11:43 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Konrad Podczeck @ 2020-04-13 20:33 UTC (permalink / raw)
  To: 40611

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#40611: Fontification of source bufffer can make Occur very slow (Emacs 27.0.90 pretest)
  2020-04-13 20:33 bug#40611: Fontification of source bufffer can make Occur very slow (Emacs 27.0.90 pretest) Konrad Podczeck
@ 2020-10-26 11:43 ` Lars Ingebrigtsen
  2020-11-30 12:47   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2020-10-26 11:43 UTC (permalink / raw)
  To: Konrad Podczeck; +Cc: 40611

Konrad Podczeck <konrad.podczeck@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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#40611: Fontification of source bufffer can make Occur very slow (Emacs 27.0.90 pretest)
  2020-10-26 11:43 ` Lars Ingebrigtsen
@ 2020-11-30 12:47   ` Lars Ingebrigtsen
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2020-11-30 12:47 UTC (permalink / raw)
  To: Konrad Podczeck; +Cc: 40611

Lars Ingebrigtsen <larsi@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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-30 12:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-13 20:33 bug#40611: Fontification of source bufffer can make Occur very slow (Emacs 27.0.90 pretest) Konrad Podczeck
2020-10-26 11:43 ` Lars Ingebrigtsen
2020-11-30 12:47   ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).