Questions tagged [org-refile]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
42 views

Moving `*** b3` from `* b1 > ** b2 > *** b3` to `* a1 > ** a2 > *** b3` in Org mode

I am trying to move *** b3 from this state: * a1 ** a2 * b1 ** b2 *** b3 to this state: * a1 ** a2 *** b3 * b1 ** b2 But I can't do that with (org-refile), because it allows me to only target * a1 ...
user avatar
  • 35
1 vote
0 answers
53 views

Custom org-capture find headerline function error, wrong number of arguments

So, I managed to get my headline retrieval function fixed, so now the function searches and finds my header lines, but when I select the one I want to use.. it oddly throws back this apply: Wrong ...
user avatar
0 votes
1 answer
41 views

Using regexp in org-refile-targets and the `:refile-targets` property in org-capture-templates

I am trying to specify a refile target with a regexp, but can't get it to work. Specifically, I'm trying to use the new :refile-targets property in org-capture-templates, but this question holds for ...
user avatar
  • 11
1 vote
0 answers
66 views

How to archive DONE tasks while keeping their tree structure with org-agenda-bulk-action?

I am able to select the tasks that I want to archive by doing: C-c a T DONE|CANCELLED RET * B But then none of the bulk options match my needs. $ remove the selected tasks and put them flatly into ...
user avatar
1 vote
0 answers
20 views

Can I limit refile targets with helm using a regular expression?

I would like to be able to use regular expressions in helm when selecting a refile target following an org-refile call. For example, if my list of targets includes 1. H1/ 1. H1/P1/ 1. H1/P1/C1/ 1. H1/...
user avatar
0 votes
1 answer
23 views

Prepend while refiling

When we refile, the refiled stuff goes to the end of the heading under which it is being refiled. Can we get the refiled stuff to go to the top, instead? This can be easily done while capturing. I can ...
user avatar
  • 1,678
1 vote
1 answer
184 views

Refile to non-agenda files

Running Doom Emacs 2.0.9 on Emacs 27.1. My current settings are: (setq org-directory "~/Documents/organize/org-mode") (setq org-agenda-files (directory-files-recursively "~/Documents/...
user avatar
  • 1,678
0 votes
1 answer
208 views

How to refile to the top of another heading?

When refile a heading in org mode, I would like to refile it to the top of the target heading so that the new subheading is the first entry. For my use case, I use org-capture for meeting notes, and ...
user avatar
1 vote
1 answer
61 views

Capture at an arbitrary date

In this example I changed the date for Entered to 12/07/2019 at the capture editing stage. Yet it gets filed under today's date. How can file it under the right date, that is 12/07/2019? Ideally in ...
user avatar
  • 535
0 votes
1 answer
190 views

org-refile under a given heading

From org-refile to a known fixed location I have learned that the argument RFLOC looks like this: '(heading file regular-expression position-of-target-heading) I am trying to programmatically refile ...
user avatar
  • 1,795