help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tracing the cause of a delay in find-file()


From: Kevin Rodgers
Subject: Re: Tracing the cause of a delay in find-file()
Date: Thu, 06 May 2010 22:38:43 -0600
User-agent: Thunderbird 2.0.0.24 (Macintosh/20100228)

Nordlöw wrote:
Which hooks are triggered (run before or after) by find-file other
than find-file-hook?
I have added a few features and suddenly opening a file has become
annoyingly slow (delays and couple of seconds for large files) and I
am seeking its cause. I have already verified that it isn't related to
font-lock-mode.

You could try profiling find-file (see the Commentary in elp.el, then
M-x elp-instrument-function).

--
Kevin Rodgers
Denver, Colorado, USA





reply via email to

[Prev in Thread] Current Thread [Next in Thread]