From a9a03c907e8013799e8734aad7042ce11351de71 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Sun, 16 Aug 2015 22:43:02 +0300 Subject: [PATCH] Re: [DRAFT PATCH] emacs: show local date next to Date: in case value differs --- 7e/2a78e7f4adb29070ff74e735d9e68660bba923 | 88 +++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 7e/2a78e7f4adb29070ff74e735d9e68660bba923 diff --git a/7e/2a78e7f4adb29070ff74e735d9e68660bba923 b/7e/2a78e7f4adb29070ff74e735d9e68660bba923 new file mode 100644 index 000000000..3c28117b4 --- /dev/null +++ b/7e/2a78e7f4adb29070ff74e735d9e68660bba923 @@ -0,0 +1,88 @@ +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 757C96DE141E + for ; Sun, 16 Aug 2015 12:44:18 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 1.237 +X-Spam-Level: * +X-Spam-Status: No, score=1.237 tagged_above=-999 required=5 tests=[AWL=-0.159, + SPF_NEUTRAL=0.652, URIBL_SBL=0.644, URIBL_SBL_A=0.1] 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 n9cIq7PmtbzP for ; + Sun, 16 Aug 2015 12:44:16 -0700 (PDT) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by arlo.cworth.org (Postfix) with ESMTP id 08C346DE1416 + for ; Sun, 16 Aug 2015 12:44:16 -0700 (PDT) +Received: from guru.guru-group.fi (localhost [IPv6:::1]) + by guru.guru-group.fi (Postfix) with ESMTP id 8C2B81000E6; + Sun, 16 Aug 2015 22:43:02 +0300 (EEST) +From: Tomi Ollila +To: David Bremner , notmuch@notmuchmail.org +Subject: Re: [DRAFT PATCH] emacs: show local date next to Date: in case value + differs +In-Reply-To: <87mvxrfsjx.fsf@maritornes.cs.unb.ca> +References: <1427132722-20346-1-git-send-email-tomi.ollila@iki.fi> + <87vbhf2zqk.fsf@maritornes.cs.unb.ca> + <87mvxrfsjx.fsf@maritornes.cs.unb.ca> +User-Agent: Notmuch/0.20.2+61~g367bd06 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'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: Sun, 16 Aug 2015 19:44:18 -0000 + +On Sun, Aug 16 2015, David Bremner wrote: + +> Tomi Ollila writes: +> +>> Now I took a little better look why the 'relative' date is not enough for +>> me is that it doesn't always show the local date (it shows like +>> (28 mins. ago) or (March 30)). If these were (28 mins. ago (07:22)) and +>> (March 30 16:20) then it would be better (w/ +0300 that might be marginally +>> more useful in general but perhaps something that can be lived without). +> +> Going back to this thread after a long time, what about an option to +> show dates always in local absolute time only? This would be compact, +> and somehow easy to decode. Or more generally, choose a TZ to display +> all dates in? + +Somebody might like that, but *I* want to be able to see the sender date +(being it right or wrong, machine cannot be sure but human reader can +guess better) and local time (a version that is always absolute). In my +emacs buffer the Date: header in your email currently looked to me like: + +Date: Sun, 16 Aug 2015 12:15:14 +0200 (Sun, 16 Aug 2015 13:15:14 +0300) + +In this case the dates did not make much of a difference (and in this time +(22:39 +0300)) the message header bar there was (Today 13:15)). Anyway +sometimes IT matters and in my 80-character terminal window this fits fine. + +I don't know better solution and don't know whether there is anyone else +interested in such a feature so I just keep using this for myself... + +Tomi + +> d + +PS: last moment revelation: perhaps I could use just (13:15:14 +0300) there; +still if I'd be the single user of that... -- 2.26.2