From: Jameson Graef Rollins Date: Sat, 14 Apr 2012 19:15:09 +0000 (+1700) Subject: Re: [WIP 0/2] Thread based searching X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=8294d277852f94909e16fb733a027c83ba4d9636;p=notmuch-archives.git Re: [WIP 0/2] Thread based searching --- diff --git a/8e/2ae61b5b0a7935616163275cd150b219c1157d b/8e/2ae61b5b0a7935616163275cd150b219c1157d new file mode 100644 index 000000000..0c097bc69 --- /dev/null +++ b/8e/2ae61b5b0a7935616163275cd150b219c1157d @@ -0,0 +1,100 @@ +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 899D5431FC2 + for ; Sat, 14 Apr 2012 12:15:17 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -2.29 +X-Spam-Level: +X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] 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 i47RSdn-nSAE for ; + Sat, 14 Apr 2012 12:15:16 -0700 (PDT) +Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu + [131.215.239.19]) + by olra.theworths.org (Postfix) with ESMTP id E9BEC431FAF + for ; Sat, 14 Apr 2012 12:15:15 -0700 (PDT) +Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1]) + by earth-doxen-postvirus (Postfix) with ESMTP id 9835866E0137; + Sat, 14 Apr 2012 12:15:15 -0700 (PDT) +X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new +Received: from finestructure.net (unknown [76.89.193.65]) + (Authenticated sender: jrollins) + by earth-doxen-submit (Postfix) with ESMTP id CB71666E012F; + Sat, 14 Apr 2012 12:15:12 -0700 (PDT) +Received: by finestructure.net (Postfix, from userid 1000) + id 813CE45D; Sat, 14 Apr 2012 12:15:12 -0700 (PDT) +From: Jameson Graef Rollins +To: Mark Walters , notmuch@notmuchmail.org +Subject: Re: [WIP 0/2] Thread based searching +In-Reply-To: <1332274320-17487-1-git-send-email-markwalters1009@gmail.com> +References: <1332274320-17487-1-git-send-email-markwalters1009@gmail.com> +User-Agent: Notmuch/0.12+112~gffb05d6 (http://notmuchmail.org) Emacs/23.4.1 + (x86_64-pc-linux-gnu) +Date: Sat, 14 Apr 2012 12:15:09 -0700 +Message-ID: <87y5pyyvk2.fsf@servo.finestructure.net> +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="=-=-="; + micalg=pgp-sha256; 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: Sat, 14 Apr 2012 19:15:17 -0000 + +--=-=-= + +On Tue, Mar 20 2012, Mark Walters wrote: +> It implements a very crude form of thread based search: the user can +> ask for all the threads that have a message matching the primary query +> and have a (possibly different) message matching a secondary query. +> +> For example notmuch search --secondary-search from:A :AND: from:B +> returns all threads that have a message from A and a message from B. + +Hey, Mark. I think this is a useful idea, but I think the +implementation is more complicated than it needs to be. I would rather +just have a switch that allows me to search by thread, instead of by +message. Something like just --by-thread would work for me. + +I guess it might be nice to have such fined grain control to specify +independent search terms for both messages and threads simultaneously, +but I really don't think I would ever use such capabilities, and the +additional syntax is a little confusing. But I certainly would use the +ability to search entire threads instead of just messages. + +jamie. + +--=-=-= +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.12 (GNU/Linux) + +iQIcBAEBCAAGBQJPicy9AAoJEO00zqvie6q8Qo4P/2IJ7CvZaZdesoTMFxbFlawR +Dqu7l1z/8/2po6+BlpfnKGfUctCUsEmd4ciar2nftc2l0h+GpzV+5GsBobQraOYL +49j428opyu4NUu7cSUhb2p9TJZbXc7sxMVAuhPvR0ZDs0NSpPnPTw6nQ8MyXGevx +MQOXvo+LDKbFrzgJ7sSQsTWipM+P1CSdZsBDY3yARiWBMTnjWU4tJ/Kcaj3UeS06 +CWVNeFSZw+kYqU3llUtN1D1XJbH/fva09tWEGjahFj4dHby3oqJ+F1kSR2grpNDq +nM0mW8U0NgKFYAFgLpRWjsrmLD7a2UCdm9qPM2tvrED2kExsdxp4erekW3BC1K1Y +eChkkseP3Y0EUL33yYIt7lO2Dp/78+3AOdrUSKp7IMTDPVU71hyt4jAs7XBFgPMP +Ku4n8SQbUdHYEeIRVnPKg9K6j/ric3FRGfN4N1fAmt3/AaDUuRLBO4onlde3JNFo +eY99C5rSHDMmP9xAb4gGwHrHnb43TcW/1Bb5uAAEoJaqcN7QPb9rGULbVNbductz +28q2jd4wqIP/Yucfc194Ua19gc5DwKWrtjxXDQMOUH5e0KSmEhRDe6sdOD5MGFz1 +Po6zDj9uSy86PCaa4hGgvKw6oeNon9xL7jlpM7Jy/DcTYFbWdxlk1zxvJmttLAjm +0Gyt0at7NgHW0zFWTDbR +=w2Tg +-----END PGP SIGNATURE----- +--=-=-=--