emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] capture template question


From: Eric Abrahamsen
Subject: Re: [O] capture template question
Date: Thu, 02 Aug 2012 16:36:36 +0800
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux)

On Thu, Aug 02 2012, Tassilo Horn wrote:

> Eric Abrahamsen <address@hidden> writes:
>
> Hi Eric,
>
>> I have a capture template that I use for noting gnus messages I want
>> to respond to. What I'd like to end up with is:
>>
>> * EMAIL Respond to [[gnus.mail:sdfdfdfsdfdsfsdf][Bob Johnson]]
>>
>> Where the link address is the message under point, and the link
>> description is the message's %:fromname.
>>
>> I may be dense, but I don't quite see if/how this is possible…
>
> An org-capture-templates entry like that should do:
>
>   ("e" "EMAIL" entry
>    (file "/home/horn/Repos/org/remember.org") ;; adapt to your needs
>    "* EMAIL Respond to %a%?")
>
> In contrast to what you requested, the link's name is something like
>
>   Email from Eric Abrahamsen: capture template question
>
> I think, that's even better.  (Honestly, it seems there's no gnus link
> support for picking out only the from-part.) :-)

That's what I had before! I hate the big long citation (I seem to get
emails with epic Subject headers), and was trying to make something more
concise.

Rather than trying to add various ways of citing links, perhaps it would
be nice to have a format code for the literal link to the thing under
point at time of capture? What I mean is, something like "%l" so I could
do this:

* EMAIL Respond to [[%l][%:fromname]]%?

Seems like that would add quite a bit of flexibility…

E

-- 
GNU Emacs 24.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.11)
 of 2012-08-02 on pellet
7.8.11




reply via email to

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