I have a question about refiling under orgmode. For a certain file, I want a different set of refiling targets that what I have in general (specifically, only refiling within this document itself). I'm hoping there is a header setting I can use to override the refile target for a given file, but I haven't been able to track it down despite much search. Any help much appreciated.

  • @Drew: yes, it is - see orgmode.org/manual/Refile-and-Copy.html#Refile-and-Copy
    – NickD
    Nov 7, 2019 at 1:38
  • I feel like I'm missing some context from @NickD's comment, but his link mentions org-refile-targets. While not a file-local variable, org-refile-targets does let you specify refile targets for specific files.
    – Dale
    Nov 8, 2019 at 2:11
  • Sorry for the confusion: the comment was an answer to Drew's comment (since deleted). It does not address your question unfortunately.
    – NickD
    Nov 8, 2019 at 14:14

1 Answer 1


Continued research has revealed a partial answer, setting variables at the level of the directory, which is sufficient for my use case and perhaps for other. The documentation entry is


and useful descriptions are at




Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.