Takafumi Arakaki <aka....@gmail.com> writes: > I thought it would be convenient if there was a macro or something to > setup temporal main org file and temporal archive file. If there is > nothing like that, then I will just create by my self or use > unwind-protect or something directly. > > I remember there is a way to archive in the same file by specifying a > root tree. This will make test easier, but I guess it is better to > test with a "plain" configuration first.
Use something like: (org-test-with-temp-text "#+ARCHIVE: ::..." ...) in order to archive in the same file. Regards,