From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer Stengele Subject: Re: moving in the agenda view is slow Date: Sat, 27 Nov 2010 12:21:52 +0100 Message-ID: <4CF0E9D0.3010302@diplan.de> References: <877hfzbsaj.fsf@pinto.chemeng.ucl.ac.uk> <32269.1290826390@gamaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=47180 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PMIr3-0006A8-Ew for emacs-orgmode@gnu.org; Sat, 27 Nov 2010 06:22:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PMIr1-0002k6-DD for emacs-orgmode@gnu.org; Sat, 27 Nov 2010 06:22:09 -0500 Received: from ns.diplan.de ([212.34.188.4]:42981 helo=mail.diplan.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PMIr1-0002hd-18 for emacs-orgmode@gnu.org; Sat, 27 Nov 2010 06:22:07 -0500 In-Reply-To: <32269.1290826390@gamaville.dokosmarshall.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: Eric S Fraga , emacs-orgmode@gnu.org Am 27.11.2010 03:53, schrieb Nick Dokos: > Eric S Fraga wrote: > >> Rainer Stengele writes: >> >>> Hi all, >>> >>> I am struggling more and more with slowness in my agenda view. Moving >>> from line to line with n and p is slow. Pressing the n key for 2 >>> seconds will result in the cursor not following every keypress but >>> jumping down after 2 or 3 seconds. >> I'll add that I have observed this the past week or so: there's a very >> noticeable pause between my hitting 'n', say, and the cursor moving down >> to the next line in a default agenda view (C-c a a). My agenda files >> add up to less than 40k lines. I've not done any investigation to see >> why things have slowed up recently but will start playing around... >> > I don't have this problem at all (perhaps because my agenda files are > puny at less than 5K lines total), but I obtained a profile[fn:1] and > most of the time goes to font-lock stuff. Here are the top five: > > font-lock-fontify-region 11953 4.5865740000 0.0003837173 > font-lock-default-fontify-region 11953 4.2191050000 0.0003529745 > font-lock-fontify-keywords-region 11953 2.8850690000 0.0002413677 > font-lock-extend-jit-lock-region-after-change 87462 1.4409719999 1.647...e-05 > org-agenda-list 1 0.461168 0.461168 > > What does your profile look like? > > Thanks, > Nick > > Footnotes: > [fn:1] ... by doing > > M-x elp-instrument-package org C-c a a to get an agenda > a dozen "n"s - N.B. I get instant response here: no delays. > M-x elp-results What I did: open the agenda view M-x elp-instrument-package org