emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Cached agenda views?
@ 2012-09-06 13:54 Marcelo de Moraes Serpa
  2012-09-06 14:21 ` François Allisson
  0 siblings, 1 reply; 2+ messages in thread
From: Marcelo de Moraes Serpa @ 2012-09-06 13:54 UTC (permalink / raw)
  To: Org Mode

[-- Attachment #1: Type: text/plain, Size: 885 bytes --]

Hi list,

It's a known fact that the more files you put into the agenda, the more
likely it is to become slower. I've started using Memacs a few weeks ago,
and my agenda is still very useable, but significantly slower than before
(due to the big amount of temporal data being processed from my gmail
emails and git logs).

I was wondering if it would be possible to NOT regenerate the agenda
everytime.

I think this would mean parsing the org files and dumping the elisp objects
created somehow. This way, when visiting the agenda again, it would be
loaded from the objects dump and would not go through the parsing of all
the agenda files again, unless forced by the user; or within
a specific time, via a cron or internal emacs timer. This would also, in
theory, allow the agenda to be constantly regenerated in a background
worker process.

What do you think?

Cheers,

- Marcelo.

[-- Attachment #2: Type: text/html, Size: 1103 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Cached agenda views?
  2012-09-06 13:54 Cached agenda views? Marcelo de Moraes Serpa
@ 2012-09-06 14:21 ` François Allisson
  0 siblings, 0 replies; 2+ messages in thread
From: François Allisson @ 2012-09-06 14:21 UTC (permalink / raw)
  To: Marcelo de Moraes Serpa; +Cc: Org Mode

Le jeudi 06 sep 2012 à 08:54:04 (-0500), Marcelo de Moraes Serpa a écrit :
> Hi list,
> 
> It's a known fact that the more files you put into the agenda, the more likely
> it is to become slower. I've started using Memacs a few weeks ago, and my
> agenda is still very useable, but significantly slower than before (due to the
> big amount of temporal data being processed from my gmail emails and git logs).
> 
> I was wondering if it would be possible to NOT regenerate the agenda
> everytime. 
> 
> I think this would mean parsing the org files and dumping the elisp objects
> created somehow. This way, when visiting the agenda again, it would be loaded
> from the objects dump and would not go through the parsing of all the agenda
> files again, unless forced by the user; or within a specific time, via a cron
> or internal emacs timer. This would also, in theory, allow the agenda to be
> constantly regenerated in a background worker process.
> 
> What do you think?
> 
> Cheers,
> 
> - Marcelo.
> 

Hi Marcello,

Have you tried sticky agendas (`*' to toogle on/off in the org-agenda
menu)? One of its many uses is to *not* regenerate an agenda each time
it is called, but only when the user wants it.

Cheers,

François.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-06 14:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-06 13:54 Cached agenda views? Marcelo de Moraes Serpa
2012-09-06 14:21 ` François Allisson

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).