unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Edmondson <dme@dme.org>
To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org
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	[thread overview]
Message-ID: <m2r3gn3y00.fsf@heart-of-gold.hh.sledj.net> (raw)
In-Reply-To: <87vboiagrj.fsf@maritornes.cs.unb.ca>

> 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?

      reply	other threads:[~2016-02-08 17:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-20  7:32 [Vagrant Cascadian] Bug#759302: notmuch-emacs: citation should use datestring from the replied to message David Bremner
2016-02-08 17:36 ` David Edmondson [this message]

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://notmuchmail.org/

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

  git send-email \
    --in-reply-to=m2r3gn3y00.fsf@heart-of-gold.hh.sledj.net \
    --to=dme@dme.org \
    --cc=david@tethera.net \
    --cc=notmuch@notmuchmail.org \
    /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://yhetil.org/notmuch.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).