1 Return-Path: <ma.skies@gmail.com>
\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 88F7742118E
\r
6 for <notmuch@notmuchmail.org>; Wed, 29 Jun 2011 13:21:15 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id lz316UQXm+u7 for <notmuch@notmuchmail.org>;
\r
17 Wed, 29 Jun 2011 13:21:14 -0700 (PDT)
\r
18 Received: from mail-iw0-f181.google.com (mail-iw0-f181.google.com
\r
19 [209.85.214.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id C07CA421192
\r
22 for <notmuch@notmuchmail.org>; Wed, 29 Jun 2011 13:21:14 -0700 (PDT)
\r
23 Received: by iwn37 with SMTP id 37so1502631iwn.26
\r
24 for <notmuch@notmuchmail.org>; Wed, 29 Jun 2011 13:21:14 -0700 (PDT)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
26 h=from:to:cc:subject:in-reply-to:references:user-agent:date
\r
27 :message-id:mime-version:content-type;
\r
28 bh=d7HB8+PlcmfXTrgTWXMn6Fsoc9IAbmNcsOGjIlx64o4=;
\r
29 b=QnGDlb0hMTAf6VO7Bcrbka4j9DGjf38NPgGzynrAcjK0hKI9qhZ3fu3WC4QqFyAN5j
\r
30 u/QNtI0D4GmIj5zW0YLfjpNOBw9+5XNlhAdok+0FIjwAR/En5pnjip4JT/zUkmxbiHUn
\r
31 X4579YhngnL0ZfjAYZdi+1KsrSVW5xytXUsNc=
\r
32 Received: by 10.231.48.197 with SMTP id s5mr996902ibf.193.1309378874321;
\r
33 Wed, 29 Jun 2011 13:21:14 -0700 (PDT)
\r
34 Received: from localhost ([74.205.145.146])
\r
35 by mx.google.com with ESMTPS id j1sm779439ibg.21.2011.06.29.13.21.12
\r
36 (version=TLSv1/SSLv3 cipher=OTHER);
\r
37 Wed, 29 Jun 2011 13:21:12 -0700 (PDT)
\r
38 From: Mark Anderson <ma.skies@gmail.com>
\r
39 To: Carl Worth <cworth@cworth.org>, Sander Boer <sanboer@gmail.com>
\r
40 Subject: Re: notmuch Digest, Vol 20, Issue 57
\r
41 In-Reply-To: <87tyb97bt1.fsf@yoom.home.cworth.org>
\r
42 References: <mailman.5.1309146869.12973.notmuch@notmuchmail.org>
\r
43 <cuozkl367o2.fsf@mauc.nl> <87wrg5905c.fsf@yoom.home.cworth.org>
\r
44 <cuoliwlws13.fsf@mauc.nl> <87hb79intl.fsf@gmail.com>
\r
45 <87tyb97bt1.fsf@yoom.home.cworth.org>
\r
46 User-Agent: Notmuch/0.5-283-gb744eac (http://notmuchmail.org) Emacs/23.2.1
\r
48 Date: Wed, 29 Jun 2011 14:21:11 -0600
\r
49 Message-ID: <877h84ie2w.fsf@gmail.com>
\r
51 Content-Type: text/plain; charset=us-ascii
\r
52 Cc: notmuch@notmuchmail.org
\r
53 X-BeenThere: notmuch@notmuchmail.org
\r
54 X-Mailman-Version: 2.1.13
\r
56 List-Id: "Use and development of the notmuch mail system."
\r
57 <notmuch.notmuchmail.org>
\r
58 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
59 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
60 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
61 List-Post: <mailto:notmuch@notmuchmail.org>
\r
62 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
63 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
64 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
65 X-List-Received-Date: Wed, 29 Jun 2011 20:21:15 -0000
\r
67 On Tue, 28 Jun 2011 16:53:30 -0700, Carl Worth <cworth@cworth.org> wrote:
\r
68 > On Tue, 28 Jun 2011 16:38:30 -0600, Mark Anderson <ma.skies@gmail.com> wrote:
\r
69 > > I had briefly considered adding another output format "file", just to get a
\r
70 > > single file for each message in the db, but the file/files distinction
\r
71 > > feels a bit niggling. Perhaps it should be changed to "files" and
\r
72 > > "filelists" or something else more clear.
\r
74 > Another option that would be general to several commands would be:
\r
76 > notmuch search --output=files --exclude-duplicates
\r
78 > Or alternately, --include-duplicates. That might be more useful for
\r
79 > "notmuch show" which is a case where users have previously asked for the
\r
80 > ability to ask for duplicate messages, (and where the duplicates are
\r
81 > squelched by default).
\r
85 I personally prefer --output=files remain as it was, with one file per
\r
86 mail (even though I submitted the patch to change it). I suggest that
\r
87 we could add another format to supply all files (perhaps
\r
88 --output=allfiles, or --output=dupfiles). I don't like my original
\r
89 suggestion of "filelists" because it implies a list of lists to me. A
\r
90 list of lists would correlate better to the number of messages which
\r
91 match the search terms, but doesn't correlate well to xargs input.
\r
93 I understand that we could use --include-duplicates, but I don't think
\r
94 there are currently any output specifers that actually have a plurality
\r
95 for a single message. If we had something like --output=from, or some
\r
96 other message attribute, then I think we would achieve more useful
\r
97 orthogonality from adding an argument similar to --include-duplicates.
\r
99 As it stands, it looks better to me to have a different --output
\r
100 specifier to represent the uncommon case of multiple outputs per search
\r