[O] Re: [Orgmode] Refile cache expire

2011-03-05 Thread Bastien
Hi Tom, Tom writes: > How about adding an option to set an expiration time for the refile > cache after which it is cleared automatically and rebuilt again? How about using something like this in your .emacs.el: #+begin_src emacs-lisp (setq org-refile-rebuild-cache (run-with-idle-timer 6

[Orgmode] Refile cache expire

2011-02-26 Thread Tom
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 a