emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Emacs macros and capture


From: Mueen Nawaz
Subject: Re: [O] Emacs macros and capture
Date: Sat, 07 Jan 2012 11:06:25 -0800

*Bump!*

Anyone?

Mueen Nawaz <address@hidden> writes:

> Hi,
>
> I'm seeing some weird behavior with my capture template setup. I have
> the following in my capture templates:
>
>       ("r" "Reply" entry (file+headline "~/org/gtd/gtd.org" "Reply")
>          "* TODO %:subject :@respond:@email: \n %u\n %i\n %a\nFrom: 
> %:from\nID:%:message-id\n %?" :immediate-finish t)
>
> What this template does is create a new headline under "Reply" in my
> gtd.org file with the subject as the title of the headline. It will then
> place a link to the email as well as some other metadata. Here's an
> example:
>
> *** TODO LibraryThing: State of the Thing - December 2011    :@review:@email:
>  [2011-12-28 Wed]
>  
>  [[notmuch:id:address@hidden from address@hidden: LibraryThing: State of the 
> Thi]]
> From: address@hidden
> ID:address@hidden
>
> <end example>
>
> That works fine. Now if I record the keystrokes as a macro, and then
> execute the macro, here is what I get (same email as above):
>
> *** TODO LibraryThing: State of the Thing - December 2011    :@review:@email:
>  [2011-12-28 Wed]
>  
>  
> From: address@hidden
> ID:address@hidden
>
> <end example>
>
> As you can see, it recorded everything _but_ the link (the most
> important part). Any idea why this happens?
>
> Thanks.
>
>
>





reply via email to

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