Re: [Vagrant Cascadian] Bug#759302: notmuch-emacs: citation should use datestring from the replied to message

Subject:Re: [Vagrant Cascadian] Bug#759302: notmuch-emacs: citation should use datestring from the replied to message

Date:Mon, 08 Feb 2016 17:36:31 +0000

To:David Bremner ,notmuch@notmuchmail.org

Cc:

From:David Edmondson


> So, I've struggled with coming up with a citation line format:
> 
>  '(message-citation-line-format "On %Y-%m-%d %T %z, %N wrote:")
>  '(message-citation-line-function (quote message-insert-formatted-citation-line))
> 
> But it localizes the timezone of datestring, rather than simply copying
> the datestring from the replied to message.

This is not something that we can fix (as is alluded to in the Debian
bug report).

`message-insert-formatted-citation-line' converts the date of the
message being replied to into Emacs time (a list of two integers) and
then uses `format-time-string' with the result.

All of the timezone information from the original header is lost during
the conversion to Emacs time.

Do we typically just open an upstream emacs bug in such cases?

Thread: