Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 5290D6DE199C for ; Fri, 3 Apr 2015 16:04:04 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 1.359 X-Spam-Level: * X-Spam-Status: No, score=1.359 tagged_above=-999 required=5 tests=[AWL=0.283, DATE_IN_PAST_03_06=1.076] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CY9hrOAp7Sjb for ; Fri, 3 Apr 2015 16:04:02 -0700 (PDT) Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net [87.98.215.224]) by arlo.cworth.org (Postfix) with ESMTPS id 6E2446DE1989 for ; Fri, 3 Apr 2015 16:04:02 -0700 (PDT) Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim 4.80) (envelope-from ) id 1YdXFx-0003SA-DJ; Thu, 02 Apr 2015 05:01:29 +0000 Received: (nullmailer pid 4269 invoked by uid 1000); Wed, 01 Apr 2015 23:30:27 -0000 From: David Bremner To: Tomi Ollila , notmuch@notmuchmail.org Subject: Re: [DRAFT PATCH] emacs: show local date next to Date: in case value differs In-Reply-To: <1427132722-20346-1-git-send-email-tomi.ollila@iki.fi> References: <1427132722-20346-1-git-send-email-tomi.ollila@iki.fi> User-Agent: Notmuch/0.19+96~g703c8f9 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu) Date: Thu, 02 Apr 2015 08:30:27 +0900 Message-ID: <87vbhf2zqk.fsf@maritornes.cs.unb.ca> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.18 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: Fri, 03 Apr 2015 23:04:04 -0000 Tomi Ollila writes: > When adding Date: header of a message to notmuch-show buffer, compare the > date string with local representation of it and if these differ, output > Date: {original-date-string} ({local-date-representation}) One thing I found confusing is that the local date representation is mostly redundant in the default configuration, as the date shown in the "headerline" is already in the local time zone if "notmuch-show-relative-dates" is t. From the fact that you made this patch I'm guessing that you don't use that setting. One option which would have the advantage not being as wide on the screen (Maybe my use case is strange, but I often use notmuch is 66 column half screen-width terminals) would be to (optionally?) display the non-relative date in the headerline in the local time zone. > This is useful e.g. when mail system provides Date: strings with > different timezone information than the sender is located at. I'm not sure how local time information helps with the sender? Unless you happen to be in the same time zone. d