From: Austin Clements <amdragon@mit.edu>
To: Rob Browning <rlb@defaultvalue.org>
Cc: notmuch@notmuchmail.org
Subject: Re: Folder-based searching
Date: Wed, 19 Jan 2011 02:29:46 -0500 [thread overview]
Message-ID: <AANLkTin7VgCbA9L_Dv5WKJzq=xDZ9pBwjAAUB6Y6LpW9@mail.gmail.com> (raw)
In-Reply-To: <871v4a7zt6.fsf@raven.defaultvalue.org>
[-- Attachment #1: Type: text/plain, Size: 1006 bytes --]
The folder search implementation in the custom query parser is always rooted
(both because that happened to be much easier to do in that design, and
because I agree with you that rooted searches seem preferable most of the
time). What arguments do people have for or against rooted folder searches?
On a similar note, another difference is that cworth's folder search is
recursive (which, I suppose, follows from being non-rooted). That is, a
search for "folder:foo" will find any message in any folder under foo. The
folder search I posted is non-recursive. Thus, "folder:foo" specifically
searches the foo maildir (that is, any mail under foo, foo/new, or foo/cur).
I consider different folders to be, well, different, regardless of nesting,
but what are other people's thoughts?
On Tue, Jan 18, 2011 at 2:54 PM, Rob Browning <rlb@defaultvalue.org> wrote:
>
> I'd be tempted to consider making folder: searches rooted by default. I
> wonder how often people really want "all folders named misc"?
[-- Attachment #2: Type: text/html, Size: 1319 bytes --]
next prev parent reply other threads:[~2011-01-19 7:29 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-15 22:46 Folder-based searching Carl Worth
2011-01-17 6:17 ` Xavier Maillard
2011-01-17 12:43 ` Sebastian Spaeth
2011-01-17 13:00 ` Sebastian Spaeth
2011-03-12 23:44 ` [PATCH] test: "search-by-folder" single-word search terms should be updated correctly when directories are renamed Pieter Praet
2011-05-12 13:22 ` Pieter Praet
2011-05-12 16:04 ` Jameson Graef Rollins
2011-05-13 8:06 ` [PATCH] test: do folder-based search with a single-term path after moving message Pieter Praet
2011-01-17 18:48 ` Folder-based searching Rob Browning
2011-01-18 19:09 ` Carl Worth
2011-01-18 19:54 ` Rob Browning
2011-01-18 20:16 ` Carl Worth
2011-01-19 7:29 ` Austin Clements [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-01-21 10:45 mazieres-6kd3dvy8f9kx6dc7vcsytfvnai
2011-01-21 16:59 ` Carl Worth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTin7VgCbA9L_Dv5WKJzq=xDZ9pBwjAAUB6Y6LpW9@mail.gmail.com' \
--to=amdragon@mit.edu \
--cc=notmuch@notmuchmail.org \
--cc=rlb@defaultvalue.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).