emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] [PATCH 2/2] Allow to retrieve email link date


From: Carsten Dominik
Subject: Re: [Orgmode] [PATCH 2/2] Allow to retrieve email link date
Date: Thu, 16 Dec 2010 14:20:08 +0100

Applied, thanks!

- Carsten

On Dec 14, 2010, at 3:32 PM, Julien Danjou wrote:

* org.el (org-email-link-description): Allow to retrieve email link date.

Signed-off-by: Julien Danjou <address@hidden>
---
lisp/org.el |    2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/lisp/org.el b/lisp/org.el
index 79c5bf8..7841198 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -1321,6 +1321,7 @@ The following %-escapes will be replaced by corresponding information: %c correspondent. Usually \"from NAME\", but if you sent it yourself, it will be \"to NAME\". See also the variable `org-from-is-user- regexp'.
%s   subject
+%d   date
%m   message-id.

You may use normal field width specification between the % and the letter. @@ -8496,6 +8497,7 @@ according to FMT (default from `org-email-link- description-format')."
           (cons "%T" (plist-get p :to))
(cons "%t" (or (plist-get p :toname) (plist-get p :toaddress) "?"))
           (cons "%s" (plist-get p :subject))
+          (cons "%d" (plist-get p :date))
           (cons "%m" (plist-get p :message-id)))))
    (when (string-match "%c" fmt)
      ;; Check if the user wrote this message
--
1.7.2.3


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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]