unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org
Subject: Re: [DRAFT PATCH] emacs: show local date next to Date: in case value differs
Date: Thu, 02 Apr 2015 08:30:27 +0900	[thread overview]
Message-ID: <87vbhf2zqk.fsf@maritornes.cs.unb.ca> (raw)
In-Reply-To: <1427132722-20346-1-git-send-email-tomi.ollila@iki.fi>

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

  reply	other threads:[~2015-04-03 23:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-23 17:45 [DRAFT PATCH] emacs: show local date next to Date: in case value differs Tomi Ollila
2015-04-01 23:30 ` David Bremner [this message]
2015-04-07  8:42   ` Tomi Ollila
2015-08-16 10:15     ` David Bremner
2015-08-16 19:43       ` Tomi Ollila
2015-08-17 12:29         ` David Bremner
2015-04-06  8:02 ` Mark Walters

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vbhf2zqk.fsf@maritornes.cs.unb.ca \
    --to=david@tethera.net \
    --cc=notmuch@notmuchmail.org \
    --cc=tomi.ollila@iki.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).