Re: Hi all
[notmuch-archives.git] / a8 / f96b6ad8a9290cb0928487993ea2ff0b81343d
1 Return-Path: <bart@jukie.net>\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 9867C431FBF\r
6         for <notmuch@notmuchmail.org>; Sat, 21 Nov 2009 19:45:31 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id f+WHFLIFL+4t for <notmuch@notmuchmail.org>;\r
11         Sat, 21 Nov 2009 19:45:31 -0800 (PST)\r
12 Received: from tau.jukie.net (tau.jukie.net [216.239.93.128])\r
13         by olra.theworths.org (Postfix) with ESMTP id CC44B431FAE\r
14         for <notmuch@notmuchmail.org>; Sat, 21 Nov 2009 19:45:30 -0800 (PST)\r
15 Received: by tau.jukie.net (Postfix, from userid 1000)\r
16         id 43B93C05611; Sat, 21 Nov 2009 22:45:30 -0500 (EST)\r
17 Date: Sat, 21 Nov 2009 22:45:30 -0500\r
18 From: Bart Trojanowski <bart@jukie.net>\r
19 To: Carl Worth <cworth@cworth.org>\r
20 Message-ID: <20091122034530.GD17268@jukie.net>\r
21 References: <1258630481-5133-1-git-send-email-jan@ryngle.com>\r
22         <1258630481-5133-2-git-send-email-jan@ryngle.com>\r
23         <f35dbb950911190352q2dcd041fr83a2f722f3231f44@mail.gmail.com>\r
24         <87lji2bmrb.fsf@yoom.home.cworth.org>\r
25         <f35dbb950911211307t1cd8e039xca754828c75b26f6@mail.gmail.com>\r
26         <87my2f329e.fsf@yoom.home.cworth.org>\r
27 MIME-Version: 1.0\r
28 Content-Type: text/plain; charset=us-ascii\r
29 Content-Disposition: inline\r
30 In-Reply-To: <87my2f329e.fsf@yoom.home.cworth.org>\r
31 User-Agent: Mutt/1.5.18 (2008-05-17)\r
32 Cc: notmuch@notmuchmail.org\r
33 Subject: Re: [notmuch] [PATCH 2/2] notmuch list: A new command to\r
34         produce various lists.\r
35 X-BeenThere: notmuch@notmuchmail.org\r
36 X-Mailman-Version: 2.1.12\r
37 Precedence: list\r
38 List-Id: "Use and development of the notmuch mail system."\r
39         <notmuch.notmuchmail.org>\r
40 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
41         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
42 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
43 List-Post: <mailto:notmuch@notmuchmail.org>\r
44 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
45 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
47 X-List-Received-Date: Sun, 22 Nov 2009 03:45:31 -0000\r
48 \r
49 * Carl Worth <cworth@cworth.org> [091121 18:08]:\r
50 > Another option would be to just call this "notmuch search" and have an\r
51 > option to control what is output:\r
52\r
53 >        notmuch search # for threads, as currently\r
54 >        notmuch search --output=tags\r
55 >        notmuch search --output=messages\r
56\r
57 > Actually, I kind of like that. For one thing, it makes it easy to\r
58 > eliminate the redundancy I made with the option-parsing in both\r
59 > notmuch-search.c and notmuch-search-message.c.\r
60 \r
61 I too prefer this option.  It keeps the interface and code simpler.\r
62 \r
63 Moreover, it might also eliminate the need for 'notmuch count'. Simply\r
64 pass --count-only to the search command.\r
65 \r
66 -Bart\r
67 \r
68 -- \r
69                                 WebSig: http://www.jukie.net/~bart/sig/\r