From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [bug] Gnus author in capture templates not working Date: Sun, 19 Sep 2010 23:59:18 +0200 Message-ID: <8739t5gzt5.fsf@gnu.org> References: <87y6bbj3wb.fsf@mundaneum.com> <877hivje71.wl%dmaus@ictsoc.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=57238 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OxRup-000560-GD for emacs-orgmode@gnu.org; Sun, 19 Sep 2010 17:59:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OxRuo-0007s9-1d for emacs-orgmode@gnu.org; Sun, 19 Sep 2010 17:59:19 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:56897) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OxRun-0007s3-Rg for emacs-orgmode@gnu.org; Sun, 19 Sep 2010 17:59:17 -0400 Received: by wyb36 with SMTP id 36so4945922wyb.0 for ; Sun, 19 Sep 2010 14:59:17 -0700 (PDT) In-Reply-To: <877hivje71.wl%dmaus@ictsoc.de> (David Maus's message of "Thu, 09 Sep 2010 14:26:10 +0200") 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@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: David Maus Cc: =?iso-8859-1?Q?S=E9bastien?= Vauban , emacs-orgmode@gnu.org Hi, David Maus writes: >>I've tried enhancing my capture template for Gnus mail, by using the >>=%:author= variable: > > AFAIK %:author is not a defined property Gnus links (Cf. Manual, > 9.1.3.2 Template expansion). 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. I fixed the docstring of `org-remember-templates', which was mentionning %:author for Gnus links. Thanks for spotting this! -- Bastien