[Orgmode] Re: Refile cache expire
Tom adatgyujto at gmail.com writes: when the computer is idle for, say, 5 seconds. I meant 5 minutes, of course. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Refile cache expire
I'd find automatic regeneration useful. Another way: * [#A] make failed refile reload the cache automatically You usually want the existing choices for selecting a headline. You don't need to regenerate those. Just the target locations. So ideally you would just immediately select it, and if hte target location is bad, it will regenerate for you and refile to the correct location for you. Samuel -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com/2010/12/welcome-to-kafka-pandemic-two-forces_9182.html I support the Whittemore-Peterson Institute (WPI) === I want to see the original (pre-hold) Lo et al. 2010 NIH/FDA/Harvard MLV paper. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Refile cache expire
Samuel Wales samologist at gmail.com writes: I'd find automatic regeneration useful. Another way: * [#A] make failed refile reload the cache automatically You usually want the existing choices for selecting a headline. You don't need to regenerate those. Just the target locations. This wouldn't work in my case, because actual refiling is not what I'm interested in. I use the GOTO interface of refile to jump to to any heading in my org system, so the main point for me is having an up-to-date cache of all existing headings, so I can jump to them easily with completion. And because I create new headings all the time, it's important to have a fairly up-to-date cache. (BTW, for those who doesn't use refile for goto I recommend checking it out, because it's an awesome way to traverse your org empire.) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Refile cache expire
I think my suggestion works for refile goto. However, if you add headlines all the time, you will need your suggestion with ido. -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com/2010/12/welcome-to-kafka-pandemic-two-forces_9182.html I support the Whittemore-Peterson Institute (WPI) === I want to see the original (pre-hold) Lo et al. 2010 NIH/FDA/Harvard MLV paper. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Refile cache expire
(And yes, refile goto is superb.) -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com/2010/12/welcome-to-kafka-pandemic-two-forces_9182.html I support the Whittemore-Peterson Institute (WPI) === I want to see the original (pre-hold) Lo et al. 2010 NIH/FDA/Harvard MLV paper. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Refile cache expire
Hi Samuel, Samuel Wales wrote: (And yes, refile goto is superb.) Just FYI, remember it can be accessed by `C-u C-u C-c C-w' (not written in the description of `org-refile-goto-last-stored' -- maybe because it's using another way to do the jump than the `16' argument, that is, in this case, it makes use of `bookmark-jump'... so maybe there are tiny subtle differences?). Best regards, Seb -- Sébastien Vauban ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Refile cache expire
I just do this. (defun alpha-org-goto () (interactive) (let (org-refile-target-verify-function) (alpha-org-goto-1))) (defun alpha-org-goto-1 () (org-mark-ring-push) (message org mark ring pushed) (org-refile 4)) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode