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 14867431FB6
\r
6 for <notmuch@notmuchmail.org>; Mon, 10 Jun 2013 09:39:49 -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 beMh79LmWSV6 for <notmuch@notmuchmail.org>;
\r
16 Mon, 10 Jun 2013 09:39:41 -0700 (PDT)
\r
17 Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com
\r
18 [209.85.217.174]) (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 1E7EB431FC4
\r
21 for <notmuch@notmuchmail.org>; Mon, 10 Jun 2013 09:39:40 -0700 (PDT)
\r
22 Received: by mail-lb0-f174.google.com with SMTP id x10so4416909lbi.5
\r
23 for <notmuch@notmuchmail.org>; Mon, 10 Jun 2013 09:39:39 -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=cMhtioo8v/skrxMl3USFC8m7JX+tfF+XvdQ2+7Vz6WM=;
\r
29 b=G3j4eenHFR+PR2zQnNkQple88/2b1zpduIF6Z7xF7mAx1a32+/NoTboqZZshT5u53j
\r
30 UiWR/Y53jNvUac3KEPREnH6xB14NOTyO9wnqvx/OHuzPcvxPQnkLxZFjOwcYYuMldijE
\r
31 OiQO06A8fitgmounoWdVt3zTL3HrpsqLICbjw1Rq3kVOwal6bZAQzRpHRIQoWGr2YqAn
\r
32 TuBpe2T7/cf8MiBHbNEcBrOX3eeRZ+yTkq+WAObqJ6surJEDHoXPr6Pu58iIgLS6WcZg
\r
33 h7ERzYi6rKsWM/r3f8tHLCU4X/4yrBSIWBQZHcg22b5uncEef4SIEqHYqHe/cwIA7RhI
\r
35 X-Received: by 10.152.121.106 with SMTP id lj10mr5404734lab.27.1370882379596;
\r
36 Mon, 10 Jun 2013 09:39:39 -0700 (PDT)
\r
37 Received: from localhost (dsl-hkibrasgw2-58c376-211.dhcp.inet.fi.
\r
39 by mx.google.com with ESMTPSA id x3sm4742906lag.6.2013.06.10.09.39.38
\r
40 for <multiple recipients>
\r
41 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
\r
42 Mon, 10 Jun 2013 09:39:38 -0700 (PDT)
\r
43 From: Jani Nikula <jani@nikula.org>
\r
44 To: Mark Walters <markwalters1009@gmail.com>, notmuch@notmuchmail.org
\r
45 Subject: Re: [PATCH v2 3/7] man: document notmuch search --duplicate=N
\r
46 In-Reply-To: <87bo7fo1p9.fsf@qmul.ac.uk>
\r
47 References: <cover.1370775663.git.jani@nikula.org>
\r
48 <e72d722da8706559142fcb3ea2626990b39192c5.1370775663.git.jani@nikula.org>
\r
49 <87ehcbo1yf.fsf@qmul.ac.uk> <87bo7fo1p9.fsf@qmul.ac.uk>
\r
50 User-Agent: Notmuch/0.15.2+179~g8952790 (http://notmuchmail.org) Emacs/24.3.1
\r
51 (x86_64-pc-linux-gnu)
\r
52 Date: Mon, 10 Jun 2013 19:39:34 +0300
\r
53 Message-ID: <87txl56htl.fsf@nikula.org>
\r
55 Content-Type: text/plain
\r
57 ALoCoQmzsq/6+Fbg5phQTpWkecJwfpIP+xOhUSmRSihIRcV01qvzWqgndUw143DGsXBxMc+KrxXQ
\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: Mon, 10 Jun 2013 16:39:49 -0000
\r
72 On Sun, 09 Jun 2013, Mark Walters <markwalters1009@gmail.com> wrote:
\r
73 > Sorry about that: I meant to cancel the message rather than sending it.
\r
75 > What I was wondering was whether we should change the wording of the
\r
76 > manpage to make it clear that notmuch search --output=files returns all
\r
77 > filenames where any of the copies matches the search terms (I think; I
\r
78 > was going to check before sending anything). In particular,
\r
80 > notmuch search --output=files folder:a_folder may return filenames not
\r
83 > (This is slightly more noticeable with this patch than before as
\r
84 > notmuch search --output=files --duplicate=1 folder:a_folder could give
\r
85 > no results in folder a_folder
\r
87 > (None of the above is meant to be a criticism of this patch: I have
\r
88 > only sent this email due to my accidental sending of the previous message)
\r
90 No worries, it's a valid point. I tried to address them in the updated
\r
91 man page for --duplicate=N [1], and in an update to the search terms man
\r
97 [1] id:1370881714-3303-1-git-send-email-jani@nikula.org
\r
98 [2] id:1370881897-3386-1-git-send-email-jani@nikula.org
\r
109 > What IOn Sun, 09 Jun 2013, Mark Walters <markwalters1009@gmail.com> wrote:
\r
110 >> One thing that slightly bothers me with this set (which in some sense is
\r
111 >> already true) is doing a search of the form
\r
113 >> notmuch search --output=files folder:<a_folder>
\r
117 >> On Sun, 09 Jun 2013, Jani Nikula <jani@nikula.org> wrote:
\r
119 >>> man/man1/notmuch-search.1 | 11 +++++++++++
\r
120 >>> 1 file changed, 11 insertions(+)
\r
122 >>> diff --git a/man/man1/notmuch-search.1 b/man/man1/notmuch-search.1
\r
123 >>> index 1c1e049..4d8b3d3 100644
\r
124 >>> --- a/man/man1/notmuch-search.1
\r
125 >>> +++ b/man/man1/notmuch-search.1
\r
126 >>> @@ -158,6 +158,17 @@ but the "match count" is the number of matching non-excluded messages in the
\r
127 >>> thread, rather than the number of matching messages.
\r
132 >>> +.BR \-\-duplicate=N
\r
134 >>> +Effective with
\r
135 >>> +.BR --output=files ,
\r
136 >>> +output the Nth filename associated with each message matching the
\r
137 >>> +query (N is 1-based). If N is greater than the number of files
\r
138 >>> +associated with the message, don't print anything.
\r
141 >>> .SH EXIT STATUS
\r
143 >>> This command supports the following special exit status codes
\r
147 >>> _______________________________________________
\r
148 >>> notmuch mailing list
\r
149 >>> notmuch@notmuchmail.org
\r
150 >>> http://notmuchmail.org/mailman/listinfo/notmuch
\r