From mboxrd@z Thu Jan 1 00:00:00 1970 From: Desmond Rivet Subject: Re: Percent signs in org-remember-templates Date: Wed, 09 Sep 2009 09:42:34 -0400 Message-ID: <87hbvci69h.fsf@zinc.branchcut.ath.cx> References: <874oryuhki.fsf_-_@zinc.branchcut.ath.cx> <1E8353CA-3556-48CA-B597-6E1A06E33283@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MlNQ1-0000Xl-KY for emacs-orgmode@gnu.org; Wed, 09 Sep 2009 09:41:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MlNPw-0000Uv-G7 for emacs-orgmode@gnu.org; Wed, 09 Sep 2009 09:41:04 -0400 Received: from [199.232.76.173] (port=58498 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MlNPv-0000Uj-UI for emacs-orgmode@gnu.org; Wed, 09 Sep 2009 09:41:00 -0400 Received: from relais.videotron.ca ([24.201.245.36]:54515) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MlNPv-0005Tx-C2 for emacs-orgmode@gnu.org; Wed, 09 Sep 2009 09:40:59 -0400 Received: from zinc.branchcut.ath.cx ([74.59.195.158]) by VL-MH-MR001.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KPP00MQQI05QM30@VL-MH-MR001.ip.videotron.ca> for emacs-orgmode@gnu.org; Wed, 09 Sep 2009 09:40:53 -0400 (EDT) In-reply-to: <1E8353CA-3556-48CA-B597-6E1A06E33283@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: Carsten Dominik Cc: emacs-orgmode@gnu.org Carsten Dominik writes: > On Aug 24, 2009, at 3:27 AM, Desmond Rivet wrote: >> I'm attempting to use the remember package to insert a diary-sexp >> into a >> file for use by the org-mode agenda. It looks like this; >> >> %%(diary-remind '(diary-date %^{Month} %^{Day} t) -%^{Remind days}) >> %^{Brief Description}%? >> >> The double percent at the beginning is causing problems. Is there any >> way to escape the percent signs? > > Hi Desmond, > > Please pull from git, and then escape like this: > > %\%(diary-remind '(diary-date %^{Month} %^{Day} t) -%^{Remind days}) > %^{Brief Description}%? Hrm...tried that with the latest version from git, but it still doesn't seem to work. My templates look like this: (setq org-remember-templates '( ("Next Action" ?n "** TODO %^{Brief Description}\nAdded: %U\n%?\n" "~/pim/gtd/main_gtd.org" "Misc") ("Waiting" ?w "** TODO %^{Brief Description}\nAdded: %U\n%?\n" "~/pim/gtd/main_gtd.org" "Waiting") ("Project" ?p "** TODO %^{Brief Description} :project:\n:PROPERTIES:\n:CATEGORY: %^{Category}\n:END:\nAdded: %U\n%?\n" "~/pim/gtd/main_gtd.org" "Projects") ("Someday" ?s "** %^{Brief Description}\nAdded: %U\n%?\n" "~/pim/gtd/someday.org" "Misc") ;; calendar ("Birthday" ?b "%\%(diary-remind '(diary-date %^{Month} %^{Day}t) -%^{Remind days}) %^{Brief Description}%?" "~/pim/gtd/dates.org" "Birthdays") ("Appointment" ?a "* %^T %^{Brief Description}%?" "~/pim/gtd/dates.org" "Appointments") ) ) The Birthday one is giving me this when I hit C-c r b: %%![Error: (void-function diary-remind)] %? Any ideas? -- Desmond Rivet Pain is weakness leaving the body.