Agenda: Specify entry types as an option
commitfb528c18f0e002e9efca3253ee494e05ce02010d
authorCarsten Dominik <carsten.dominik@gmail.com>
Wed, 10 Mar 2010 12:52:06 +0000 (10 13:52 +0100)
committerCarsten Dominik <carsten.dominik@gmail.com>
Wed, 10 Mar 2010 16:12:26 +0000 (10 17:12 +0100)
tree33eba04d0d501c1318b7a103de63e23ac87af23d
parent1902dfacbe6d6731c610d6712aba4331b74115a7
Agenda: Specify entry types as an option

Patch by Matt Lundin

Matt writes:

> Below is a patch I've been using to speed up the construction of
> agenda views limited to certain types of entries (e.g., timestamps and
> sexps).  Previously, I had constructed "calendar" views consisting
> only of timestamps and sexps by using the variable
> org-agenda-skip-function to exclude scheduled items and deadlines from
> the agenda. This, however, proved somewhat slow (3-4 seconds for
> weekly calendars, 10-12 seconds for monthly calendars). The patch
> below cuts the times to 1 and 3 seconds respectively. I believe it
> provides an efficient alternative to the skip function by allowing the
> user to tweak the arguments passed to org-agenda-get-day-entries.
lisp/ChangeLog
lisp/org-agenda.el