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 at 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"?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://notmuchmail.org/pipermail/notmuch/attachments/20110119/ba536b8f/attachment-0001.html>
  • Fol... Sebastian Spaeth
    • ... Sebastian Spaeth
      • ... Pieter Praet
        • ... Pieter Praet
          • ... Jameson Graef Rollins
            • ... Pieter Praet
  • Fol... Rob Browning
    • ... Carl Worth
      • ... Rob Browning
        • ... Carl Worth
        • ... Austin Clements
  • Fol... mazieres-6kd3dvy8f9kx6dc7vcsytfv...@temporary-address.scs.stanford.edu
    • ... Carl Worth

Reply via email to