From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id ADFE36DE20A6 for ; Thu, 9 Mar 2017 07:42:51 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.503 X-Spam-Level: X-Spam-Status: No, score=0.503 tagged_above=-999 required=5 tests=[AWL=-0.149, SPF_NEUTRAL=0.652] 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 QY0SvmFIdAul for ; Thu, 9 Mar 2017 07:42:50 -0800 (PST) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) by arlo.cworth.org (Postfix) with ESMTP id 70DD56DE20A2 for ; Thu, 9 Mar 2017 07:42:49 -0800 (PST) Received: from guru.guru-group.fi (localhost [IPv6:::1]) by guru.guru-group.fi (Postfix) with ESMTP id BD8311000DF for ; Thu, 9 Mar 2017 17:42:12 +0200 (EET) From: Tomi Ollila To: notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: add support for stashing formatted timestamp In-Reply-To: <8737em60bb.fsf@tethera.net> References: <20170110181525.18269-1-jani@nikula.org> <8737em60bb.fsf@tethera.net> User-Agent: Notmuch/0.23.5+113~gfa95df1 (https://notmuchmail.org) Emacs/24.5.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.22 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: Thu, 09 Mar 2017 15:42:51 -0000 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 Tomi