I have an org-capture that writes a timestamp

(setq org-capture-templates
  `(("a" "Agenda" entry (file+olp+datetree "agenda.org" "Calendar Agenda")
    ,(concat "* TODO %? :agenda:"))

Which produces this entry in agenda.org

* Calendar Agenda
  * 2020
    * 2020-01 January 
      * TODO Item 1 :agenda:

I have tried The solution here How to refile into a datetree however, it files to 2nd level which is not what I want, what I want is to file it under 3rd level.

How do I write a refile to file+olp+datetree?

Your Answer

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

Browse other questions tagged or ask your own question.