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 9985B4196F2 for ; Mon, 19 Apr 2010 18:17:01 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.89 X-Spam-Level: X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01] autolearn=ham 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 m37s7Z2+CAxr; Mon, 19 Apr 2010 18:16:59 -0700 (PDT) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 60871431FC1; Mon, 19 Apr 2010 18:16:59 -0700 (PDT) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id 44AD325400A; Mon, 19 Apr 2010 18:16:59 -0700 (PDT) From: Carl Worth To: Xavier Maillard , notmuch@notmuchmail.org Subject: Re: Difference between search and filter In-Reply-To: References: Date: Mon, 19 Apr 2010 18:16:53 -0700 Message-ID: <87bpdex6re.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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, 20 Apr 2010 01:17:01 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Tue, 20 Apr 2010 00:23:01 +0200, Xavier Maillard wrote: > GNU Emacs interface comes with 2 functions I am not sure I am > using correctly. >=20 > What's the difference between searching and filtering exactly (s > and f) ? It seems to me that they deserve the same purpose. The search command executes a new global search. It will display all threads from the database with messages that match the search terms. The filter command refines the current search. It will take the current search and filter it down to those threads with messages match the search terms. The filter command is a convenience function for taking the current search terms, appending "and " and then running a new global search. Does that make sense? =2DCarl --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFLzQCF6JDdNq8qSWgRApD9AJ9thHte1TC9UAAgje4hOgCptOUbHQCbBC52 dgrs8+uODtwTcPGGYERmnXQ= =ycQU -----END PGP SIGNATURE----- --=-=-=--