0

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 when I'm done, I will file the meeting notes to my * MEETINGS heading. I order all the meeting notes in reverse order under * MEETINGS, and I'd like to refile the new meeting notes to the top.

1

Found the answer on Reddit: https://www.reddit.com/r/emacs/comments/7kt7nh/is_it_possible_to_refile_an_orgmode_header_in/

To recap, use (setq org-reverse-note-order t) to revert the new notes order when refiling. Documentation for org-rev-note-order:

Non-nil means store new notes at the beginning of a file or entry.

When nil, new notes will be filed to the end of a file or entry.
This can also be a list with cons cells of regular expressions that
are matched against file names, and values.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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