Questions tagged [org-refile]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
16 views

can org-refile-targets match headings *without* a given tag?

I can configure org-refile-targets to match headings in an org file with a certain tag. Can I do an arbitrary tag match? I'm interested in headings without a certain tag. (For example, I'd like to ...
Dan Drake's user avatar
  • 533
0 votes
0 answers
30 views

Using org-goto across multiple files

Is there a way to use org-goto with opened buffer files (and maybe agenda files), just like org-refile does through org-refile-targets? I have configured org-refile to show the options to choose with ...
NandKN's user avatar
  • 73
0 votes
0 answers
32 views

Is there a way to org-refile with olp outline path with elisp?

I understand I can use org-map-entries and use with-current-buffer and get the marker then refile using RFLOC. I don't want to advice. Is there a command I can use? This would be awesome if they added ...
Rick's user avatar
  • 25
0 votes
2 answers
60 views

Is it possible to refile using regexp applied to some property?

If I do M-x org-refile on qux using the first (commented out) version of org-refile-targets, it brings up Foo, as expected. Using the second version, I get "No refile targets", whereas I ...
user avatar
0 votes
1 answer
29 views

Mo refile targets

I have the following setup: (custom-set-variables '(org-refile-targets '(("~/Documents/org/x.org, ~/Documents/org/y.org" :maxlevel . 5)))) I open x.org and position the cursor on a ...
user avatar
0 votes
2 answers
54 views

Refile to any headline with of given TODO item types

My org file structure is as follows: * JOB Major Project 1 ** PROJECT Mini Project p ** PROJECT Mini Project q * JOB Major Project 2 ** PROJECT Mini Project x ** PROJECT Mini Project y JOB and ...
djnz0feh's user avatar
  • 111
0 votes
2 answers
47 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 ...
fegax's user avatar
  • 35
1 vote
0 answers
121 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 ...
Nova Leary's user avatar
1 vote
1 answer
148 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 ...
harabat's user avatar
  • 31
1 vote
0 answers
129 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 ...
crocefisso's user avatar
  • 1,200
1 vote
0 answers
30 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/...
user2567544's user avatar
0 votes
2 answers
70 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 ...
deshmukh's user avatar
  • 1,852
1 vote
1 answer
454 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/...
deshmukh's user avatar
  • 1,852
1 vote
1 answer
512 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 ...
Mingwei Zhang's user avatar
1 vote
1 answer
86 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
1 vote
1 answer
329 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 ...
Trevoke's user avatar
  • 2,420