Implement the :to and :toname keywords for gnus links.

Patch from Gregory Sullivan.
This commit is contained in:
Carsten Dominik 2008-09-03 11:17:49 +02:00
parent 5d7adb4a62
commit d74855408f
3 changed files with 8 additions and 2 deletions

View File

@ -16,7 +16,8 @@
:END:
** Details
*** Remember templates for gnus links can now use the :to escape.
Thanks to Tommy Lindgren for a patch to this effect.
*** The file specification in a remember template may now be a function
Thanks to Gregory Sullivan for a patch to this effect.

View File

@ -1,5 +1,8 @@
2008-09-03 Carsten Dominik <dominik@science.uva.nl>
* org-gnus.el (org-gnus-store-link): Support for :to information
in gnus links.
* org-exp.el (org-export-as-html): Fixed typo in creator
information.
(org-export-protect-examples): New parameter indent. Insert extra

View File

@ -87,10 +87,12 @@ negates this setting for the duration of the command."
(from (mail-header-from header))
(message-id (mail-header-id header))
(date (mail-header-date header))
(extra (mail-header-extra header))
(to (cdr (assoc 'To extra)))
(subject (gnus-summary-subject-string))
desc link)
(org-store-link-props :type "gnus" :from from :subject subject
:message-id message-id :group group)
:message-id message-id :group group :to to)
(setq desc (org-email-link-description))
(if (org-xor current-prefix-arg org-usenet-links-prefer-google)
(setq link