emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tom <adatgyujto@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Refile cache expire
Date: Sun, 27 Feb 2011 07:34:40 +0000 (UTC)	[thread overview]
Message-ID: <loom.20110227T081707-677@post.gmane.org> (raw)

Caching of refile targets is great, however, I usually have my 
computer and emacs running for several days (I use hibernation),
so sometimes I need to clear the cache manually to have it rebuilt.

How about adding an option to set an expiration time for the refile
cache after which it is cleared automatically and rebuilt again?

For example, I could set the cache to expire after and hour (or a day,
etc.) and then it would be cleared and rebuilt automatically, but only
when the computer is idle for, say, 5 seconds. This way one could have
a pretty up-to-date refile cache all the time and the rebuilding
would happen when emacs is idle, so the use wouldn't even have to
notice the updating process.

             reply	other threads:[~2011-02-27  7:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-27  7:34 Tom [this message]
2011-02-27  7:57 ` Refile cache expire Tom
2011-02-27 19:55   ` Samuel Wales
2011-02-27 20:09     ` Tom
2011-02-27 20:14       ` Samuel Wales
2011-02-27 20:15         ` Samuel Wales
2011-02-27 20:28           ` Sébastien Vauban
2011-02-27 21:47             ` Samuel Wales
2011-03-06  0:26 ` Bastien

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=loom.20110227T081707-677@post.gmane.org \
    --to=adatgyujto@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).