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 7FB2B431FD0 for ; Sun, 20 Feb 2011 12:00:49 -0800 (PST) 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 i7qOD0B1QQ1c for ; Sun, 20 Feb 2011 12:00:49 -0800 (PST) Received: from defaultvalue.org (defaultvalue.org [70.85.129.156]) by olra.theworths.org (Postfix) with ESMTP id 22BB1431FB6 for ; Sun, 20 Feb 2011 12:00:49 -0800 (PST) Received: from omen.defaultvalue.org (localhost [127.0.0.1]) by defaultvalue.org (Postfix) with ESMTP id B55E590D35; Sun, 20 Feb 2011 14:01:06 -0600 (CST) Received: from raven.defaultvalue.org (raven.defaultvalue.org [192.168.1.7]) by omen.defaultvalue.org (Postfix) with ESMTP id AF52F50249; Sun, 20 Feb 2011 14:00:48 -0600 (CST) Received: by raven.defaultvalue.org (Postfix, from userid 1000) id 9CD817BA2C5; Sun, 20 Feb 2011 14:00:48 -0600 (CST) From: Rob Browning To: Austin Clements Subject: Re: Folder search semantics References: <1295165458-9573-1-git-send-email-amdragon@mit.edu> <20110202050336.GB28537@mit.edu> <87sjw6hx2l.fsf@yoom.home.cworth.org> <20110203061429.GD28537@mit.edu> <87r5b24h6f.fsf@raven.defaultvalue.org> Date: Sun, 20 Feb 2011 14:00:48 -0600 In-Reply-To: <87r5b24h6f.fsf@raven.defaultvalue.org> (Rob Browning's message of "Sun, 20 Feb 2011 13:52:40 -0600") Message-ID: <87hbby4gsv.fsf@raven.defaultvalue.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: notmuch@notmuchmail.org 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: Sun, 20 Feb 2011 20:00:49 -0000 Rob Browning writes: > And personally, I think I'd prefer that folder: be anchored by default, > so that folder:work means "the top-level folder named work", but it's > not a big deal to me as long as there's a fairly easy way to specify > exactly what I want. Oh, and in part, the reason why I suspect anchored might be a better default is that it's more conservative. For example, someone who mistakenly assumes that folder: is anchored by default doesn't do any unexpected damage with something like this: $ notmuch tag +deleted folder:misc $ notmuch search tag:deleted ... | xargs rm FWIW -- Rob Browning rlb @defaultvalue.org and @debian.org GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4