From mboxrd@z Thu Jan 1 00:00:00 1970 From: Susan Addy Subject: Re: slow agenda view and scrolling through headlines Date: Sun, 13 Nov 2011 20:14:51 -0800 Message-ID: References: <87ipmnllc1.fsf@norang.ca> <9115.1321225126@alphaville.americas.hpqcorp.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0015174ff27821509704b1aa1eb0 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:58085) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RPnwz-0007wG-J8 for emacs-orgmode@gnu.org; Sun, 13 Nov 2011 23:15:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RPnwy-0007G9-6T for emacs-orgmode@gnu.org; Sun, 13 Nov 2011 23:15:17 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:63129) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RPnwx-0007Ft-Qj for emacs-orgmode@gnu.org; Sun, 13 Nov 2011 23:15:16 -0500 Received: by wwe32 with SMTP id 32so2347313wwe.30 for ; Sun, 13 Nov 2011 20:15:15 -0800 (PST) In-Reply-To: <9115.1321225126@alphaville.americas.hpqcorp.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: Bernt Hansen , emacs-orgmode@gnu.org --0015174ff27821509704b1aa1eb0 Content-Type: text/plain; charset=ISO-8859-1 Ok - I tried adding (setq font-lock-verbose nil), but there was no change. It is still fast when I open emacs, and then some time later (after I switch to another program for some time and back) it is slow. Sometimes it will become fast again, and sometimes I recall (I think) it has been slow right when I open it. Also, to clarify, the slow scrolling through headlines is in normal view, not agenda view. It tends to be correlated with the agenda being slow. Thanks, Susan On Sun, Nov 13, 2011 at 2:58 PM, Nick Dokos wrote: > Susan Addy wrote: > > > Thanks Bernt. I checked and Linum-mode is not enabled. > > > > Also, I using emacs 22.3.1 and org-mode 7.7 (if it helps). > > > > > > On Sun, Nov 13, 2011 at 2:16 PM, Bernt Hansen wrote: > > > > Susan Addy writes: > > > > > Below is a list of my agenda command - maybe it is too long? When > it > > > is slow, it is slow no matter what TODO I am trying to compile. > > > > > > Any thoughts? > > > Thank you! > > > > If you have linum-mode enabled you should turn that off. Others have > > reported slow navigation when that is enabled. > > > > HTH, > > Bernt > > > > > > There have been various discussions on agenda slowness in the past - > check the mailing list for some guesses (linum-mode, font-lock, property > inheritance, code compilation and perhaps others have been suggested as > possible causes). Sometimes the guesses pan out, sometimes not. > > The most important thing you can do, imo, is to profile the code, first > when it's behaving well and then when it's behaving badly. > > All you have to do is > > M-x elp-instrument-package RET org RET > > run your agenda command and then > > M-x elp-results RET > > to get the results. > > Nick > --0015174ff27821509704b1aa1eb0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Ok - I tried adding=A0(setq font-lock-verbose nil), but there was no change= . It is still fast when I open emacs, and then some time later (after I swi= tch to another program for some time and back) it is slow. Sometimes it wil= l become fast again, and sometimes I recall (I think) it has been slow righ= t when I open it.=A0

Also, to clarify, the slow scrolling through headlines is in= normal view, not agenda view. It tends to be correlated with the agenda be= ing slow.=A0

=A0 =A0Thanks,=A0
=A0 Susan= =A0

On Sun, Nov 13, 2011 at 2:58 PM, Nick Dokos <nicholas.dokos@h= p.com> wrote:
Susan Addy <susan.e.addy@gmail.com> wrote:

> Thanks Bernt. I checked and Linum-mode is not enabled.=A0
> =A0=A0
> Also, I using emacs 22.3.1 and org-mode 7.7 (if it helps).=A0
> =A0
>
> On Sun, Nov 13, 2011 at 2:16 PM, Bernt Hansen <bernt@norang.ca> wrote:
>
> =A0 =A0 Susan Addy <susan= .e.addy@gmail.com> writes:
>
> =A0 =A0 > Below is a list of my agenda command - maybe it is too lo= ng? When it
> =A0 =A0 > is slow, it is slow no matter what TODO I am trying to co= mpile.
> =A0 =A0 >
> =A0 =A0 > Any thoughts?=A0
> =A0 =A0 > Thank you!
>
> =A0 =A0 If you have linum-mode enabled you should turn that off. =A0Ot= hers have
> =A0 =A0 reported slow navigation when that is enabled.
>
> =A0 =A0 HTH,
> =A0 =A0 Bernt
>
>

There have been various discussions on agenda slowness in the p= ast -
check the mailing list for some guesses (linum-mode, font-lock, property inheritance, code compilation and perhaps others have been suggested as
possible causes). Sometimes the guesses pan out, sometimes not.

The most important thing you can do, imo, is to profile the code, first
when it's behaving well and then when it's behaving badly.

All you have to do is

=A0 =A0M-x elp-instrument-package RET org RET

run your agenda command and then

=A0 =A0M-x elp-results RET

to get the results.

Nick

--0015174ff27821509704b1aa1eb0--