I get this when I try to archive a subtree. My config reads
(setq org-archive-location "~/mega/org/archive.org")
which does exist. So what am I doing wrong here?
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this communityI get this when I try to archive a subtree. My config reads
(setq org-archive-location "~/mega/org/archive.org")
which does exist. So what am I doing wrong here?
If you use C-h v and type in org-archive-location you will see the documentation. There you can see the original value ("%s_archive::") and a few examples
"~/org/archive.org::" , "::* Archived Tasks" or "~/org/archive.org::* From %s"
Now you will probably already realize that you need the double colon in your string.
Syntax seems to be the following:
"/path/::Heading"
So your solution should be:
(setq org-archive-location "~/mega/org/archive.org::")