From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [PATCH 2/2] Allow to retrieve email link date Date: Thu, 16 Dec 2010 14:20:08 +0100 Message-ID: <9E3E905C-AEB5-4D63-803F-64C2C529E47E@gmail.com> References: <1292337138-14321-1-git-send-email-julien@danjou.info> <1292337138-14321-2-git-send-email-julien@danjou.info> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=49555 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTDkk-0001Am-5s for emacs-orgmode@gnu.org; Thu, 16 Dec 2010 08:20:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PTDkj-0006gC-25 for emacs-orgmode@gnu.org; Thu, 16 Dec 2010 08:20:14 -0500 Received: from mail-ew0-f43.google.com ([209.85.215.43]:38196) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PTDki-0006fx-R9 for emacs-orgmode@gnu.org; Thu, 16 Dec 2010 08:20:13 -0500 Received: by ewy22 with SMTP id 22so1896032ewy.30 for ; Thu, 16 Dec 2010 05:20:12 -0800 (PST) In-Reply-To: <1292337138-14321-2-git-send-email-julien@danjou.info> 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: Julien Danjou Cc: emacs-orgmode@gnu.org 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 > --- > 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. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode