I solved the problem by using the file name directly:
(setq org-remember-templates
'(
("Journal" ?j "* %U %?\n\n %i\n %a" "~/.journal.org")
("Notes" ?n "* %^{Title}\n %i\n %a" "~/.notes.org" "Notes")
)
)
Xin
Hello Experts,
I recently update my Emacs to 23.1 and the org-mode to 6.30e. Then I noticed my org-remember is not working. When I type C-c C-c, I got the following error:
"Target files for notes must be in Org-mode if not filing to top/bottom"
My settings are:
(org-remember-insinuate)
(setq sx-notes-file-name "~/.notes.org")
(setq sx-journal-file-name "~/.journal.org")
(setq org-remember-templates
'(
("Journal" ?j "* %U %?\n\n %i\n %a" sx-journal-file-name)
("Notes" ?n "* %^{Title}\n %i\n %a" sx-notes-file-name "Notes")
)
)
Any suggestions?
Thanks!
Xin