emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Percent signs in org-remember-templates


From: Desmond Rivet
Subject: Re: [Orgmode] Percent signs in org-remember-templates
Date: Wed, 09 Sep 2009 09:42:34 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Carsten Dominik <address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]