emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Julien Danjou <julien@danjou.info>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH 2/2] Allow to retrieve email link date
Date: Thu, 16 Dec 2010 14:20:08 +0100	[thread overview]
Message-ID: <9E3E905C-AEB5-4D63-803F-64C2C529E47E@gmail.com> (raw)
In-Reply-To: <1292337138-14321-2-git-send-email-julien@danjou.info>

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 <julien@danjou.info>
> ---
> 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

  parent reply	other threads:[~2010-12-16 13:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-14 14:32 [PATCH 1/2] org-gnus: trim date Julien Danjou
2010-12-14 14:32 ` [PATCH 2/2] Allow to retrieve email link date Julien Danjou
2010-12-16 13:18   ` [Accepted] [Orgmode, " Carsten Dominik
2010-12-16 13:20   ` Carsten Dominik [this message]
2010-12-16 13:21 ` [Accepted] [Orgmode,1/2] org-gnus: trim date Carsten Dominik
2010-12-16 13:22 ` [PATCH 1/2] " Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9E3E905C-AEB5-4D63-803F-64C2C529E47E@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=julien@danjou.info \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).