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

2016-02-08 Thread 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?
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


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

2014-09-20 Thread David Bremner

I thought I forwarded this already, but maybe not.

-- next part --
An embedded message was scrubbed...
From: Vagrant Cascadian 
Subject: Bug#759302: notmuch-emacs: citation should use datestring from the 
replied to message
Date: Mon, 25 Aug 2014 17:11:57 -0700
Size: 6240
URL: 



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

2014-09-20 Thread David Bremner

I thought I forwarded this already, but maybe not.

---BeginMessage---
Package: notmuch-emacs
Version: 0.18.1-1
Severity: normal

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. Several other mail clients,
including notmuch reply, seem to simply copy the datestring including
the timezone data, it quotes using:

  On Sat, 23 Aug 2014 12:36:53 +0600, Example User exampleu...@example.org 
wrote:

But notmuch-emacs does changes the datestring to my locally configured
timezone. As far as I can tell, it can either be configured to use UTC,
or my local timezone only.

David Bremner suggests this may need to be fixed upstream.


live well,
  vagrant

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (120, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
armhf

Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages notmuch-emacs depends on:
ii  emacs2323.4+1-4.1+b1
ii  emacs24-nox [emacs24]  24.3+1-4+b1
ii  emacsen-common 2.0.8
ii  notmuch0.18.1-1

notmuch-emacs recommends no packages.

notmuch-emacs suggests no packages.

-- no debconf information


pgpbLqfw5WTwz.pgp
Description: PGP signature
---End Message---
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch