[PATCH v2 04/14] cli/reply: unify reply format functions
[notmuch-archives.git] / 21 / 330d82ad8b9797272be33ac7f7c4d7b3c90100
1 Return-Path: <david@tethera.net>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5  by arlo.cworth.org (Postfix) with ESMTP id 5290D6DE199C\r
6  for <notmuch@notmuchmail.org>; Fri,  3 Apr 2015 16:04:04 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 1.359\r
10 X-Spam-Level: *\r
11 X-Spam-Status: No, score=1.359 tagged_above=-999 required=5 tests=[AWL=0.283, \r
12  DATE_IN_PAST_03_06=1.076] autolearn=disabled\r
13 Received: from arlo.cworth.org ([127.0.0.1])\r
14  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
15  with ESMTP id CY9hrOAp7Sjb for <notmuch@notmuchmail.org>;\r
16  Fri,  3 Apr 2015 16:04:02 -0700 (PDT)\r
17 Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net\r
18  [87.98.215.224])\r
19  by arlo.cworth.org (Postfix) with ESMTPS id 6E2446DE1989\r
20  for <notmuch@notmuchmail.org>; Fri,  3 Apr 2015 16:04:02 -0700 (PDT)\r
21 Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim\r
22  4.80) (envelope-from <david@tethera.net>)\r
23  id 1YdXFx-0003SA-DJ; Thu, 02 Apr 2015 05:01:29 +0000\r
24 Received: (nullmailer pid 4269 invoked by uid 1000); Wed, 01 Apr 2015\r
25  23:30:27 -0000\r
26 From: David Bremner <david@tethera.net>\r
27 To: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org\r
28 Subject: Re: [DRAFT PATCH] emacs: show local date next to Date: in case value\r
29  differs\r
30 In-Reply-To: <1427132722-20346-1-git-send-email-tomi.ollila@iki.fi>\r
31 References: <1427132722-20346-1-git-send-email-tomi.ollila@iki.fi>\r
32 User-Agent: Notmuch/0.19+96~g703c8f9 (http://notmuchmail.org) Emacs/24.4.1\r
33  (x86_64-pc-linux-gnu)\r
34 Date: Thu, 02 Apr 2015 08:30:27 +0900\r
35 Message-ID: <87vbhf2zqk.fsf@maritornes.cs.unb.ca>\r
36 MIME-Version: 1.0\r
37 Content-Type: text/plain\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.18\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42  <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Fri, 03 Apr 2015 23:04:04 -0000\r
51 \r
52 Tomi Ollila <tomi.ollila@iki.fi> writes:\r
53 \r
54 > When adding Date: header of a message to notmuch-show buffer, compare the\r
55 > date string with local representation of it and if these differ, output\r
56 > Date: {original-date-string}  ({local-date-representation})\r
57 \r
58 One thing I found confusing is that the local date representation is\r
59 mostly redundant in the default configuration, as the date shown in the\r
60 "headerline" is already in the local time zone if\r
61 "notmuch-show-relative-dates" is t. From the fact that you made this\r
62 patch I'm guessing that you don't use that setting.\r
63 \r
64 One option which would have the advantage not being as wide on the\r
65 screen (Maybe my use case is strange, but I often use notmuch is 66\r
66 column half screen-width terminals) would be to (optionally?) display\r
67 the non-relative date in the headerline in the local time zone.\r
68 \r
69 > This is useful e.g. when mail system provides Date: strings with\r
70 > different timezone information than the sender is located at.\r
71 \r
72 I'm not sure how local time information helps with the sender?  Unless\r
73 you happen to be in the same time zone.\r
74 \r
75 d\r
76 \r