From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xin Shi Subject: Re: error in org-remember Date: Wed, 16 Sep 2009 11:14:56 -0400 Message-ID: <5236d6f90909160814h37ea3c50tf1fbaa54e3869bc5@mail.gmail.com> References: <5236d6f90909160743m40ec6858h5e0c0149c68938ed@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0135323734==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MnwDn-0006kp-GF for emacs-orgmode@gnu.org; Wed, 16 Sep 2009 11:15:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MnwDi-0006jK-V1 for emacs-orgmode@gnu.org; Wed, 16 Sep 2009 11:15:03 -0400 Received: from [199.232.76.173] (port=46425 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MnwDi-0006jH-Kr for emacs-orgmode@gnu.org; Wed, 16 Sep 2009 11:14:58 -0400 Received: from mail-bw0-f220.google.com ([209.85.218.220]:39774) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MnwDi-0005kT-6Y for emacs-orgmode@gnu.org; Wed, 16 Sep 2009 11:14:58 -0400 Received: by bwz20 with SMTP id 20so3739302bwz.42 for ; Wed, 16 Sep 2009 08:14:57 -0700 (PDT) In-Reply-To: <5236d6f90909160743m40ec6858h5e0c0149c68938ed@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode --===============0135323734== Content-Type: multipart/alternative; boundary=00151747af9a9b46150473b35c06 --00151747af9a9b46150473b35c06 Content-Type: text/plain; charset=ISO-8859-1 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 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 > > --00151747af9a9b46150473b35c06 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I solved the problem by using the file name directly:

(setq org-reme= mber-templates
=A0=A0=A0=A0=A0 '(
=A0=A0=A0=A0=A0=A0=A0 ("Jo= urnal" ?j "* %U %?\n\n=A0 %i\n=A0 %a" "~/.journal.org")
=A0=A0=A0=A0=A0=A0=A0 ("Notes" ?n "* %^{Title}\n=A0 %i\n=A0 = %a" "~/.notes.org" "No= tes")
=A0=A0=A0 )
=A0=A0=A0=A0=A0 )

Xin

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

I recently update my Emacs to 23.1 and the org-mode t= o 6.30e.=A0 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 b= e 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
=A0=A0=A0=A0=A0 '(
=A0=A0=A0=A0=A0= =A0=A0 ("Journal" ?j "* %U %?\n\n=A0 %i\n=A0 %a" sx-jou= rnal-file-name)
=A0=A0=A0=A0=A0=A0=A0 ("Notes" ?n "* %^{T= itle}\n=A0 %i\n=A0 %a" sx-notes-file-name "Notes")
=A0=A0=A0 )
=A0=A0=A0=A0=A0 )
Any suggestions?

Thanks!
Xin


--00151747af9a9b46150473b35c06-- --===============0135323734== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0135323734==--