Re: [PATCH] emacs: add support for stashing formatted timestamp

Subject: Re: [PATCH] emacs: add support for stashing formatted timestamp

Date: Thu, 09 Mar 2017 17:42:12 +0200



From: Tomi Ollila

On Thu, Mar 09 2017, David Bremner <> wrote:

> Jani Nikula <> writes:
>> notmuch-show-stash-date stashes the Date: header of the message
>> verbatim. While that is useful, sometimes more control of the output
>> is desirable.
>> Add support for stashing the message timestamp (as parsed by gmime at
>> the lib level from the Date: header) according to a user customizable
>> format. The user can use this to stash the message date in the
>> preferred format, or perhaps as a date: range query, for example
>> "date:@%s.." to find all messages since the current message.
>> ---
> I'm not opposed to this, but I'd like at least one vote from someone
> other than Jani that would find it useful.

I've had plenty of thoughts for alternatives, but haven't got time
to write those out.

shortly: 1) initially no customization -> see 2
         2) if customization, have list instead of one item
            -- would be incompatible change if this patch were applied
         3) make the customization to current date stashing, by default
            being with one item so it could work like it is working now...
            ... that would save 'D' for docid (if we ever agree this
            should be implemented (+2 (usability, convenience) from me.

> d