From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: Tracing the cause of a delay in find-file() Date: Thu, 06 May 2010 22:38:43 -0600 Message-ID: References: <334c0858-eaec-4fd9-bab2-5ec7ccce287b@g28g2000yqh.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1273236228 6658 80.91.229.12 (7 May 2010 12:43:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 7 May 2010 12:43:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 07 14:43:35 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OAMtz-0006dt-5g for geh-help-gnu-emacs@m.gmane.org; Fri, 07 May 2010 14:43:35 +0200 Original-Received: from localhost ([127.0.0.1]:33838 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OAMty-0002Yp-K2 for geh-help-gnu-emacs@m.gmane.org; Fri, 07 May 2010 08:43:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OAFKx-0005Yv-JL for help-gnu-emacs@gnu.org; Fri, 07 May 2010 00:38:55 -0400 Original-Received: from [140.186.70.92] (port=52287 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OAFKw-0005Xs-0W for help-gnu-emacs@gnu.org; Fri, 07 May 2010 00:38:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OAFKr-0008Tu-Rr for help-gnu-emacs@gnu.org; Fri, 07 May 2010 00:38:52 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:54061) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OAFKr-0008Tf-MG for help-gnu-emacs@gnu.org; Fri, 07 May 2010 00:38:49 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OAFKm-0004cp-Op for help-gnu-emacs@gnu.org; Fri, 07 May 2010 06:38:44 +0200 Original-Received: from c-71-237-24-138.hsd1.co.comcast.net ([71.237.24.138]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 May 2010 06:38:44 +0200 Original-Received: from kevin.d.rodgers by c-71-237-24-138.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 May 2010 06:38:44 +0200 X-Injected-Via-Gmane: http://gmane.org/ connect(): No such file or directory Original-Lines: 14 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-71-237-24-138.hsd1.co.comcast.net User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) In-Reply-To: <334c0858-eaec-4fd9-bab2-5ec7ccce287b@g28g2000yqh.googlegroups.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:73555 Archived-At: 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