Re: [Orgmode] [bug] Gnus author in capture templates not working

2010-09-19 Thread Bastien
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

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [bug] Gnus author in capture templates not working

2010-09-09 Thread David Maus
Sébastien Vauban wrote:
>Hi,

>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.

HTH,
  -- David
-- 
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgp0syFcFtU1b.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] [bug] Gnus author in capture templates not working

2010-09-08 Thread Sébastien Vauban
Hi,

I've tried enhancing my capture template for Gnus mail, by using the
=%:author= variable:

--8<---cut here---start->8---
  ("m" "Mail" entry
   (file+headline "~/Personal/refile.org" "Tasks")
   "* TODO %:subject (%:author)
   SCHEDULED: %^t

%i
>From %a"
   :empty-lines 1 :immediate-finish)
--8<---cut here---end--->8---

Problem: it always is empty...

=%:from= does work, but is much less desirable, with name *and* email
address being concatenated...

Any idea?

Best regards,
  Seb

-- 
Sébastien Vauban


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode