From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: [bug] Gnus author in capture templates not working Date: Thu, 09 Sep 2010 15:03:25 +0200 Message-ID: <87wrqvjcgy.fsf@mundaneum.com> References: <87y6bbj3wb.fsf@mundaneum.com> <877hivje71.wl%dmaus@ictsoc.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi David, David Maus wrote: > S=C3=A9bastien Vauban wrote: >> I've tried enhancing my capture template for Gnus mail, by using the >> =3D%:author=3D variable: > > AFAIK %:author is not a defined property Gnus links (Cf. Manual, > 9.1.3.2 Template expansion). Euh... I took it from the doc itself. See `C-h v org-capture-templates': [...] Apart from these general escapes, you can access information specific to the link type that is created. For example, calling `org-capture' in emails or gnus will record the author and the subject of the message, which you can access with "%:author" and "%:subject", respectively. ^^^^^^^^ > You can use %:fromname to insert the name of the message author. The only > problem is, that this property might be empty as well if the From: address > does not include a real name. That works. Thanks! Best regards, Seb --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode