From: David Bremner Date: Sat, 20 Sep 2014 07:32:48 +0000 (+0200) Subject: [Vagrant Cascadian] Bug#759302: notmuch-emacs: citation should use datestring from... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=406f9ee2112987d8daa9309db38dcad371bf6c15;p=notmuch-archives.git [Vagrant Cascadian] Bug#759302: notmuch-emacs: citation should use datestring from the replied to message --- diff --git a/5f/f76f65f80fc12998e6bf2901a373aa328a20f2 b/5f/f76f65f80fc12998e6bf2901a373aa328a20f2 new file mode 100644 index 000000000..26ba5b76b --- /dev/null +++ b/5f/f76f65f80fc12998e6bf2901a373aa328a20f2 @@ -0,0 +1,219 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id ACA40431FBF + for ; Sat, 20 Sep 2014 00:32:59 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id Hj1MiFB4OZP8 for ; + Sat, 20 Sep 2014 00:32:54 -0700 (PDT) +Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id E2D9D431FAE + for ; Sat, 20 Sep 2014 00:32:54 -0700 (PDT) +Received: from remotemail by yantan.tethera.net with local (Exim 4.80) + (envelope-from ) + id 1XVFA5-0001eC-Kl; Sat, 20 Sep 2014 04:32:53 -0300 +Received: (nullmailer pid 25711 invoked by uid 1000); Sat, 20 Sep 2014 + 07:32:48 -0000 +From: David Bremner +To: notmuch@notmuchmail.org +Subject: [Vagrant Cascadian] Bug#759302: notmuch-emacs: citation should use + datestring from the replied to message +User-Agent: Notmuch/0.18.1+97~g56c48dc (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-pc-linux-gnu) +Date: Sat, 20 Sep 2014 09:32:48 +0200 +Message-ID: <87vboiagrj.fsf@maritornes.cs.unb.ca> +MIME-Version: 1.0 +Content-Type: multipart/mixed; boundary="==-=-=" +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sat, 20 Sep 2014 07:32:59 -0000 + +--==-=-= +Content-Type: text/plain + + +I thought I forwarded this already, but maybe not. + + +--==-=-= +Content-Type: message/rfc822 +Content-Disposition: inline +Content-Transfer-Encoding: 8bit + +Return-path: +Envelope-to: david@tethera.net +Delivery-date: Mon, 25 Aug 2014 21:15:13 -0300 +Received: from quantz.debian.org ([5.153.231.28]) + by yantan.tethera.net with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) + (Exim 4.80) + (envelope-from ) + id 1XM4Pp-0004II-5q + for david@tethera.net; Mon, 25 Aug 2014 21:15:13 -0300 +Received: from qa by quantz.debian.org with local (Exim 4.80) + (envelope-from ) + id 1XM4Pm-0002ex-Dh + for david@tethera.net; Tue, 26 Aug 2014 00:15:10 +0000 +Received: from buxtehude.debian.org ([140.211.166.26]) from C=NA,ST=NA, + L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=buxtehude.debian.org, + EMAIL=hostmaster@buxtehude.debian.org (verified) by quantz.debian.org with + esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from + ) id 1XM4Pk-0002aY-QX for + notmuch@packages.qa.debian.org; Tue, 26 Aug 2014 00:15:09 +0000 +Received: from debbugs by buxtehude.debian.org with local (Exim 4.80) + (envelope-from ) id 1XM4Pi-0002wQ-An; Tue, + 26 Aug 2014 00:15:06 +0000 +X-Loop: owner@bugs.debian.org +Subject: Bug#759302: notmuch-emacs: citation should use datestring from + the replied to message +Reply-To: Vagrant Cascadian , 759302@bugs.debian.org +Resent-From: Vagrant Cascadian +Resent-To: debian-bugs-dist@lists.debian.org +Resent-CC: Carl Worth +X-Loop: owner@bugs.debian.org +Resent-Date: Tue, 26 Aug 2014 00:15:01 +0000 +Resent-Message-ID: +X-Debian-PR-Message: report 759302 +X-Debian-PR-Package: notmuch-emacs +X-Debian-PR-Keywords: +X-Debian-PR-Source: notmuch +Received: via spool by submit@bugs.debian.org id=B.140901192610514 (code + B); Tue, 26 Aug 2014 00:15:01 +0000 +Received: (at submit) by bugs.debian.org; 26 Aug 2014 00:12:06 +0000 +X-Spam-Checker-Version: SpamAssassin 3.3.2-bugs.debian.org_2005_01_02 + (2011-06-06) on buxtehude.debian.org +X-Spam-Level: +X-Spam-Status: No, score=-16.9 required=4.0 tests=BAYES_00,FOURLA, + FROMDEVELOPER,HAS_PACKAGE,PGPSIGNATURE autolearn=ham + version=3.3.2-bugs.debian.org_2005_01_02 +X-Spam-Bayes: score:0.0000 Tokens: new, 14; hammy, 151; neutral, 90; + spammy, 0. spammytokens: hammytokens:0.000-+--H*c:pgp-sha512, + 0.000-+--H*UA:sk:x86_64-, 0.000-+--armhf, 0.000-+--H*u:sk:x86_64-, + 0.000-+--H*u:Notmuch +Received: from cascadia.debian.net ([173.255.214.101]) by + buxtehude.debian.org with esmtp (Exim 4.80) (envelope-from + ) id 1XM4Mn-0002i8-Ve for submit@bugs.debian.org; Tue, + 26 Aug 2014 00:12:06 +0000 +Received: from localhost (host-224-31.pubnet.pdx.edu [131.252.224.31]) + (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.debian.net + (Postfix) with ESMTPSA id 07C7F1B7B0 for ; Mon, + 25 Aug 2014 17:11:59 -0700 (PDT) +From: Vagrant Cascadian +To: submit@bugs.debian.org +User-Agent: Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-pc-linux-gnu) +Date: Mon, 25 Aug 2014 17:11:57 -0700 +Message-ID: <87fvgkun1u.fsf@aikidev.net> +MIME-Version: 1.0 +Content-Type: multipart/signed; + boundary="=-=-="; + micalg=pgp-sha512; + protocol="application/pgp-signature" +Delivered-To: submit@bugs.debian.org +Delivered-To: notmuch@packages.qa.debian.org +Precedence: list +X-Loop: notmuch@packages.qa.debian.org +X-Debian: PTS +X-Debian-Package: notmuch +X-PTS-Package: notmuch +X-PTS-Keyword: bts +List-ID: +List-Unsubscribe: +Resent-Sender: Debian QA + +--=-=-= +Content-Type: text/plain + +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 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 emacs23 23.4+1-4.1+b1 +ii emacs24-nox [emacs24] 24.3+1-4+b1 +ii emacsen-common 2.0.8 +ii notmuch 0.18.1-1 + +notmuch-emacs recommends no packages. + +notmuch-emacs suggests no packages. + +-- no debconf information + +--=-=-= +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iQIcBAEBCgAGBQJT+9DOAAoJELeLgtSBS5G2YQ8QAK5u+7+EictClm0xPUBz46wU +NkIR0Iiw+9exwZ9ioQZDyZ9iI6DdpIupse5RPzoNnM9dvbhVlLy8LrFnt9g/QiF8 +j1lHGzyplW+oIT1JV09T6EmH/jvyDgZRCt02966/4K6Uk7ej9B2sq/dnMa7iGffP +GKT3OCwjVKTut0KnFu070wliVaM06U6+Vt5y9rEHVDHfc1iRbzp36AkiVxn1P7zM +G+YqfYzh5n5qK3Boenmwjw3DkX8NA0cIi60U07eZra2S0jUkGsvVRLb1dnvRXIgt +KL/G+6iwynaiZkvK4h8F/cOIslu18bQZXQhQk0VHf4Bmvz+zU83t/a75j3UKarvo +xL5G7pQ+NZt0pMGsS92gR38gaLLNiOFMJjQKizTGQCQZpCgYo0tdYBDTxQ361hhk +t/kt4wJ5vkG3/d/X/7fcNaUwzrDyMDQRayIP1lnPV7m1T9mwrJp+yLDj81gR9R4k +e45wOG+m/at43qfgw8ZlEzGIE7uXQD6ty1HUsSy6XJhRO2ReuWPw+iyl1HBa8ee0 +hVukUf5oE9jiNkF0xldURjco912luFZStSpwGY6jrZXWwETIpOKx56D46larl936 +GhUCWb8F6u9/lVsXxLxOx0jXW+0oworzzIUln0lHEVh1rDH2xbjOFu8Q3eBP1s0m +2M9XNFJv1d+FJDoClFNm +=/zOR +-----END PGP SIGNATURE----- +--=-=-=-- + + +--==-=-=--