Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 9E628431FD0 for ; Tue, 23 Aug 2011 09:53:35 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZC+vIUcsc8kC for ; Tue, 23 Aug 2011 09:53:35 -0700 (PDT) Received: from taco2.nixu.fi (taco2.nixu.fi [194.197.118.31]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id E0C88431FB6 for ; Tue, 23 Aug 2011 09:53:34 -0700 (PDT) Received: from taco2.nixu.fi (localhost [127.0.0.1]) by taco2.nixu.fi (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p7NGrWli008656 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 23 Aug 2011 19:53:32 +0300 Received: (from too@localhost) by taco2.nixu.fi (8.14.3/8.14.3/Submit) id p7NGrWLI008655; Tue, 23 Aug 2011 19:53:32 +0300 X-Authentication-Warning: taco2.nixu.fi: too set sender to tomi.ollila@nixu.com using -f From: Tomi Ollila To: notmuch@notmuchmail.org Subject: Re: [RFC PATCH 0/3] add user friendly date range search References: <87bovryqp0.fsf@steelpick.2x.cz> <20110823163908.GD2968@lemote.jasonwoof.com> X-Face: HhBM'cA~ (Jason Woofenden's message of "Tue, 23 Aug 2011 12:39:09 -0400") Message-ID: User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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: Tue, 23 Aug 2011 16:53:35 -0000 On Tue 23 Aug 2011 19:39, Jason Woofenden writes: > Here's my thoughts on date/range syntax: > > I think: date:monday should show only e-mails that arrived on > monday (not also emails that arrived since then.) Because that's > what it looks like it does. > > I think a very common use of date ranges will be from some time > until now. So I'd like that to be easy. I suggest this syntax: > > since:monday > > which would be a shorthand for: > > date:monday-00:00:00..now > > If that's not a popular idea, then we should at least be able to > use this shorthand for the same: > > date:monday.. This is better, so that us who speaks other languages than English natively doesn't need to learn (think in) so many english words >;) So, date:mon[day], date:..mon and date:monday.. would be something I liked best. > Also, I think it's quite valuable to have "yesterday" work as a > date. I agree. > > That's all. > > - Jason Tomi