emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Susan Addy <susan.e.addy@gmail.com>
Cc: Bernt Hansen <bernt@norang.ca>,
	nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: slow agenda view and scrolling through headlines
Date: Sun, 13 Nov 2011 17:58:46 -0500	[thread overview]
Message-ID: <9115.1321225126@alphaville.americas.hpqcorp.net> (raw)
In-Reply-To: Message from Susan Addy <susan.e.addy@gmail.com> of "Sun\, 13 Nov 2011 14\:26\:01 PST." <CACW7weTcNq0mxDehBZg2ZhhLGTQ6eAAUusthfRHY4pSd=oB=cw@mail.gmail.com>

Susan Addy <susan.e.addy@gmail.com> 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 <bernt@norang.ca> wrote:
> 
>     Susan Addy <susan.e.addy@gmail.com> 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

  reply	other threads:[~2011-11-13 22:58 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-13 22:03 slow agenda view and scrolling through headlines Susan Addy
2011-11-13 22:16 ` Bernt Hansen
2011-11-13 22:26   ` Susan Addy
2011-11-13 22:58     ` Nick Dokos [this message]
2011-11-14  3:54       ` Susan Addy
2011-11-14  4:14       ` Susan Addy
2011-11-14  5:41         ` Nick Dokos
2011-11-15  3:44           ` Susan Addy
2011-11-15  3:45             ` Susan Addy
2011-11-15  6:45               ` Viktor Rosenfeld
2011-11-15  8:16                 ` Carsten Dominik
2011-11-15  4:20             ` Nick Dokos
2011-11-15  4:45               ` Susan Addy
2011-11-15  5:32                 ` Nick Dokos
2011-11-14  1:49 ` Samuel Wales
2011-11-14  3:57   ` Susan Addy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9115.1321225126@alphaville.americas.hpqcorp.net \
    --to=nicholas.dokos@hp.com \
    --cc=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=susan.e.addy@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).