emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "François Allisson" <francois@allisson.co>
To: Marcelo de Moraes Serpa <celoserpa@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Cached agenda views?
Date: Thu, 6 Sep 2012 16:21:33 +0200	[thread overview]
Message-ID: <20120906142132.GA22191@debian> (raw)
In-Reply-To: <CACHMzOFNQXJRoVU5O6Sf7NcJJeWHwgWsCx_ZyEGtDV_ey_52Ww@mail.gmail.com>

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.

      reply	other threads:[~2012-09-06 14:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-06 13:54 Cached agenda views? Marcelo de Moraes Serpa
2012-09-06 14:21 ` François Allisson [this message]

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=20120906142132.GA22191@debian \
    --to=francois@allisson.co \
    --cc=celoserpa@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).