emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: emacs-orgmode@gnu.org
Subject: Re: capture template question
Date: Thu, 02 Aug 2012 09:05:06 +0200	[thread overview]
Message-ID: <878vdx3hb1.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: 87mx2deqc0.fsf@ericabrahamsen.net

Eric Abrahamsen <eric@ericabrahamsen.net> 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.) :-)

Bye,
Tassilo

  reply	other threads:[~2012-08-02  8:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-02  6:54 capture template question Eric Abrahamsen
2012-08-02  7:05 ` Tassilo Horn [this message]
2012-08-02  8:36   ` Eric Abrahamsen
2012-08-02 15:07     ` Bastien
2012-08-02 15:37       ` Eric Abrahamsen
2012-08-03  9:13       ` Tassilo Horn
2012-08-03 12:06         ` Bastien
2012-08-03 12:18         ` Eric Abrahamsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878vdx3hb1.fsf@thinkpad.tsdh.de \
    --to=tsdh@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).