emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Performance problem


From: Matt Lundin
Subject: Re: [O] Performance problem
Date: Tue, 24 May 2011 08:47:35 -0400
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

Michael Welle <address@hidden> writes:

> Matt Lundin <address@hidden> writes:
>
>> Michael Welle <address@hidden> writes:
>>
>>> I use Emacs 23.2.1 and org-mode 7.5. After some time, usually after a
>>> few days of 'uptime', building an agenda becomes very sloooow.
>>
>> Is this the standard agenda or a custom agenda?
> it's a custom agenda that collects all appointments for the next four
> weeks:
>
>        ( "z" "Appointments for the next four weeks" agenda ""
>         ((org-agenda-skip-function
>           (lambda nil
>         (org-agenda-skip-entry-if 'nottodo '("APPT"))))
>          (org-agenda-ndays 28)
>          (org-agenda-include-diary nil )))

A monthly view does indeed take a long time to appear. Skip functions
are very useful but, alas, not particularly efficient. This command
first considers all entries (SCHEDULED, DEADLINE, timestamp) that fall
within the next 28 days and then selects only those entries with the
keyword APPT.

Might I ask whether your appointments are all timestamps or diary sexps
(as opposed to SCHEDULED or DEADLINE entries)? If so, adding the
following setting to the command may speed things up a bit:

(org-agenda-entry-types '(:timestamp :sexp))

Best,
Matt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]