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 BE7D4431FD0 for ; Tue, 23 Aug 2011 09:39:19 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 rH-dovlt2v7f for ; Tue, 23 Aug 2011 09:39:18 -0700 (PDT) Received: from mail-qy0-f174.google.com (mail-qy0-f174.google.com [209.85.216.174]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 526F7431FB6 for ; Tue, 23 Aug 2011 09:39:18 -0700 (PDT) Received: by qyk38 with SMTP id 38so2617827qyk.5 for ; Tue, 23 Aug 2011 09:39:15 -0700 (PDT) Received: by 10.224.194.194 with SMTP id dz2mr2495272qab.58.1314117554924; Tue, 23 Aug 2011 09:39:14 -0700 (PDT) Received: from lemote.jasonwoof.com (rrcs-50-75-61-2.nys.biz.rr.com [50.75.61.2]) by mx.google.com with ESMTPS id m11sm83657qcw.7.2011.08.23.09.39.13 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 23 Aug 2011 09:39:14 -0700 (PDT) Date: Tue, 23 Aug 2011 12:39:09 -0400 From: Jason Woofenden To: notmuch@notmuchmail.org Subject: Re: [RFC PATCH 0/3] add user friendly date range search Message-ID: <20110823163908.GD2968@lemote.jasonwoof.com> Mail-Followup-To: notmuch@notmuchmail.org References: <87bovryqp0.fsf@steelpick.2x.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87bovryqp0.fsf@steelpick.2x.cz> User-Agent: Mutt/1.5.21 (2010-09-15) 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:39:19 -0000 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.. Also, I think it's quite valuable to have "yesterday" work as a date. That's all. - Jason