Re: [DRAFT PATCH] emacs: show local date next to Date: in case value differs

Subject: Re: [DRAFT PATCH] emacs: show local date next to Date: in case value differs

Date: Thu, 02 Apr 2015 08:30:27 +0900

To: Tomi Ollila, notmuch@notmuchmail.org

Cc:

From: David Bremner


Tomi Ollila <tomi.ollila@iki.fi> 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


Thread: