1 Return-Path: <jani@nikula.org>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 223A1431FC7
\r
6 for <notmuch@notmuchmail.org>; Wed, 12 Jun 2013 04:32:53 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id DkRhxE9h8qOA for <notmuch@notmuchmail.org>;
\r
16 Wed, 12 Jun 2013 04:32:45 -0700 (PDT)
\r
17 Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com
\r
18 [209.85.217.173]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 13EA4431FBC
\r
21 for <notmuch@notmuchmail.org>; Wed, 12 Jun 2013 04:32:44 -0700 (PDT)
\r
22 Received: by mail-lb0-f173.google.com with SMTP id v1so3646428lbd.18
\r
23 for <notmuch@notmuchmail.org>; Wed, 12 Jun 2013 04:32:43 -0700 (PDT)
\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
25 d=google.com; s=20120113;
\r
26 h=from:to:subject:in-reply-to:references:user-agent:date:message-id
\r
27 :mime-version:content-type:x-gm-message-state;
\r
28 bh=6RTOhOpV/aIpSNGRB6GbO4MuATFBMuEXEW2AnZSBBvA=;
\r
29 b=LDiOQUmTduU9PaPHrK4GGQDwkfGJCt7o/n+gxOFIyyJPckyKDsak0UtGOZKZ2YzBYZ
\r
30 Nn/CiaCsTUMqBPZhxRUvkMwBEtrdLMowt2YtD3wMiO+qJHvpeIv36iYBxkiNr1DYJUn5
\r
31 7n3NiYS6FjlIHySEMJXhUWC+/akrNit8+zXClKqCCLdp7VeTlroO7Eqs9JmiQcBHBLCW
\r
32 lfKa40uDsKsR8ElUDZmq/j+NRqGJUMkQw8KrKQleA9PrVnOuIVbSy6zmNctE6csjS3RY
\r
33 pgTCo+6b2Fkd8MxusLpbUlVIFM0YCiNRodmV00ahWCd0O19gJdNNyllgRp3UcyGfqnqr
\r
35 X-Received: by 10.112.219.68 with SMTP id pm4mr10968626lbc.10.1371036760994;
\r
36 Wed, 12 Jun 2013 04:32:40 -0700 (PDT)
\r
37 Received: from localhost (dsl-hkibrasgw2-58c376-211.dhcp.inet.fi.
\r
39 by mx.google.com with ESMTPSA id p6sm8945452lbv.15.2013.06.12.04.32.34
\r
40 for <multiple recipients>
\r
41 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
\r
42 Wed, 12 Jun 2013 04:32:39 -0700 (PDT)
\r
43 From: Jani Nikula <jani@nikula.org>
\r
44 To: Mark Walters <markwalters1009@gmail.com>,
\r
45 Nathan Clapham <nathan@claphams.info>, notmuch@notmuchmail.org
\r
46 Subject: Re: Searching with prefix :folder and --output=files
\r
47 In-Reply-To: <87k3lz90k3.fsf@qmul.ac.uk>
\r
48 References: <20130611213424.GA5028@Nathans-MacBook-Air.local>
\r
49 <87k3lz90k3.fsf@qmul.ac.uk>
\r
50 User-Agent: Notmuch/0.15.2+176~g6432957 (http://notmuchmail.org) Emacs/24.3.1
\r
51 (x86_64-pc-linux-gnu)
\r
52 Date: Wed, 12 Jun 2013 14:32:28 +0300
\r
53 Message-ID: <87zjuv5zub.fsf@nikula.org>
\r
55 Content-Type: text/plain
\r
57 ALoCoQl1QUm09y1a72pUvekWD3Xl51c3DT/lVPkDb0CE95tLRNrdlhmRKX+DPINcQM29SJiH+OkP
\r
58 X-BeenThere: notmuch@notmuchmail.org
\r
59 X-Mailman-Version: 2.1.13
\r
61 List-Id: "Use and development of the notmuch mail system."
\r
62 <notmuch.notmuchmail.org>
\r
63 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
64 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
65 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
66 List-Post: <mailto:notmuch@notmuchmail.org>
\r
67 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
68 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
69 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
70 X-List-Received-Date: Wed, 12 Jun 2013 11:32:53 -0000
\r
72 On Wed, 12 Jun 2013, Mark Walters <markwalters1009@gmail.com> wrote:
\r
73 > First notmuch finds all the *messages* that match your query (ie
\r
74 > which have an associated filename matching the folder: part of your
\r
75 > query) and then it returns all filenames for these messages.
\r
77 I recently sent patches to clarify the man pages a bit while adding a
\r
78 new feature to the cli:
\r
80 http://mid.gmane.org/1370881897-3386-1-git-send-email-jani@nikula.org
\r
81 http://mid.gmane.org/1370881714-3303-1-git-send-email-jani@nikula.org
\r
83 > I think that notmuch views a message (as determined by a message-id) as
\r
84 > a single object in its database (it assumes that all copies are
\r
85 > identical) so fixing this would not be easy.
\r
87 Assuming any fixing is needed, that is. One would assume any notmuch
\r
88 search --output=files *without* the folder: prefix would return all
\r
89 files for all matching messages. I think it would be rather confusing if
\r
90 the folder: prefix modified that.
\r
92 Like Mark said, the most important thing to understand is that all
\r
93 notmuch searches match messages. The --output option just modifies how
\r
94 those matching messages are presented; it does not affect what is
\r
95 searched for at all.
\r