[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Can we make a refloc programmatically?
From: |
Robert P . Goldman |
Subject: |
[Orgmode] Can we make a refloc programmatically? |
Date: |
Mon, 28 Dec 2009 19:28:48 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
I find that when I'm refiling my MobileOrg tasks, I almost always want them to
go to one particular place (my master todo list).
I'd like to make a command that refiles to that location, specifically.
The closest I've been able to get to this is to bind the org-refile-targets
dynamic variable around a call to org-refile. This gives me a single candidate
location, which I get if I press the tab key for completion. But it seems wrong
to have to press that tab key.
I believe I could avoid that, if I could pass a rfloc argument to org-refile,
but I'm not sure how to make one of these data structures (not for the first
time, I wish that defstruct was in elisp...). Is there some function to which
one could pass a filename and a header regexp?
thanks,
Robert
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Orgmode] Can we make a refloc programmatically?,
Robert P . Goldman <=