Am 25.06.2017 um 21:09 schrieb Nicolas Goaziou: > Hello, > > Florian Lindner <mailingli...@xgm.de> writes: > > >> since recently, one of my capture templates stopped working. Message is: >> >> Template key: >> org-capture: Capture template ‘j’: nil >> >> and: >> >> - %? >> >> is added to journal.org. I have also tried some other template text like >> "foo" (without any keys), but the message is the same. >> >> value of org-capture-templates is: > >> ("j" "Journal" item >> (file+datetree >> (concat org-directory "/journal.org")) > > It should be (lambda () (concat org-directory "/journal.org")). > > See ORG-NEWS.
Hey, ok, found it there. However, it seems that I don't need it anyways, since "When an absolute path is not specified for a target, it is taken as relative to ‘org-directory’." So, I changed it to: ("j" "Journal" item (file+datetree "journal.org") "%?\n%i" :kill-buffer t) which still gives the same error. Sorry... what is still wrong there? Best, Florian