emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Emacs macros and capture


From: Mueen Nawaz
Subject: [O] Emacs macros and capture
Date: Wed, 28 Dec 2011 15:46:56 -0800

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]