From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tassilo Horn Subject: Re: capture template question Date: Thu, 02 Aug 2012 09:05:06 +0200 Message-ID: <878vdx3hb1.fsf@thinkpad.tsdh.de> References: <87mx2deqc0.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33422) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwqTy-0003OK-Cv for emacs-orgmode@gnu.org; Thu, 02 Aug 2012 04:10:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwqTu-0007Nl-7D for emacs-orgmode@gnu.org; Thu, 02 Aug 2012 04:10:10 -0400 Received: from plane.gmane.org ([80.91.229.3]:41718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwqTu-0007Lk-0U for emacs-orgmode@gnu.org; Thu, 02 Aug 2012 04:10:06 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SwqTs-0005VI-JY for emacs-orgmode@gnu.org; Thu, 02 Aug 2012 10:10:04 +0200 Received: from tsdh.uni-koblenz.de ([141.26.67.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Aug 2012 10:10:04 +0200 Received: from tsdh by tsdh.uni-koblenz.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Aug 2012 10:10:04 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Eric Abrahamsen 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