orgmode icon indicating copy to clipboard operation
orgmode copied to clipboard

Ability to refile to a target programatically

Open jamiereid opened this issue 2 years ago • 0 comments

Does this feature exist in Emacs orgmode core?

N/A

Orgmode link

No response

Feature value

My particular use case would be to refile TODOs to other subtrees directly to "today's" journal subtree.

eg. refile_to_target('~/org/journal.org::')

I understand I'd need to have some more smarts in there to handle figuring out what Today's headline is, but the end of the file would also be ok.

Some other use cases could be when processing the refile.org / inbox.org file that some people use in their workflows to other standard locations with a single keybinding instead of needing to write out the file and headline each time they use <leader>or.

eg. <leader>ori refiles to ideas.org, <leader>orh refiles to home.org ... etc..

Additional context

I don't believe that this directly exists in orgmode core in emacs, however it's straight forward to code in elisp with the functions presented by emacs/orgmode.

jamiereid avatar Dec 15 '22 23:12 jamiereid