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

On Wed, Sep 16, 2009 at 10:43 AM, Xin Shi <shixin...@gmail.com> wrote:

> 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
>
>
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to