From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: moving in the agenda view is slow Date: Fri, 26 Nov 2010 21:53:10 -0500 Message-ID: <32269.1290826390@gamaville.dokosmarshall.org> References: <877hfzbsaj.fsf@pinto.chemeng.ucl.ac.uk> Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=59752 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PMAuh-0007Q8-0g for emacs-orgmode@gnu.org; Fri, 26 Nov 2010 21:53:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PMAuf-0001wQ-Dv for emacs-orgmode@gnu.org; Fri, 26 Nov 2010 21:53:22 -0500 Received: from vms173011pub.verizon.net ([206.46.173.11]:64212) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PMAuf-0001wH-8T for emacs-orgmode@gnu.org; Fri, 26 Nov 2010 21:53:21 -0500 Received: from gamaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173011.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LCI000DGW0KK180@vms173011.mailsrvcs.net> for emacs-orgmode@gnu.org; Fri, 26 Nov 2010 20:53:09 -0600 (CST) In-reply-to: Message from Eric S Fraga of "Fri, 26 Nov 2010 23:04:36 GMT." <877hfzbsaj.fsf@pinto.chemeng.ucl.ac.uk> 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: Eric S Fraga Cc: emacs-orgmode@gnu.org, nicholas.dokos@hp.com, Rainer Stengele 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