Re: [PATCH v4 13/16] add indexopts to notmuch python bindings.
[notmuch-archives.git] / e7 / 7db0c9f31a108f37456f3528c3c2207a0f4817
1 Return-Path: <cworth@cworth.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 C1ADE40DBF6\r
6         for <notmuch@notmuchmail.org>; Thu, 11 Nov 2010 05:11:19 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -2.89\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5\r
12         tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01]\r
13         autolearn=ham\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 mR2rU6khVtHL for <notmuch@notmuchmail.org>;\r
17         Thu, 11 Nov 2010 05:11:09 -0800 (PST)\r
18 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
19         by olra.theworths.org (Postfix) with ESMTP id A6F9A40DBEE\r
20         for <notmuch@notmuchmail.org>; Thu, 11 Nov 2010 05:11:09 -0800 (PST)\r
21 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
22         id 4599B25412B; Thu, 11 Nov 2010 05:11:09 -0800 (PST)\r
23 From: Carl Worth <cworth@cworth.org>\r
24 To: notmuch@notmuchmail.org\r
25 Subject: Support for multiple filenames (in notmuch library)\r
26 User-Agent: Notmuch/0.4 (http://notmuchmail.org) Emacs/23.2.1\r
27         (i486-pc-linux-gnu)\r
28 Date: Thu, 11 Nov 2010 05:11:09 -0800\r
29 Message-ID: <87fwv8ngya.fsf@yoom.home.cworth.org>\r
30 MIME-Version: 1.0\r
31 Content-Type: multipart/signed; boundary="=-=-=";\r
32         micalg=pgp-sha1; protocol="application/pgp-signature"\r
33 X-BeenThere: notmuch@notmuchmail.org\r
34 X-Mailman-Version: 2.1.13\r
35 Precedence: list\r
36 List-Id: "Use and development of the notmuch mail system."\r
37         <notmuch.notmuchmail.org>\r
38 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
39         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
40 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
41 List-Post: <mailto:notmuch@notmuchmail.org>\r
42 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
43 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
45 X-List-Received-Date: Thu, 11 Nov 2010 13:11:19 -0000\r
46 \r
47 --=-=-=\r
48 Content-Transfer-Encoding: quoted-printable\r
49 \r
50 As part of my recent work to fix up the maildir-flags synchronization\r
51 patches, I found myself needing to access the complete list of filenames\r
52 for a given message. So I added the following, new public function to\r
53 libnotmuch:\r
54 \r
55         notmuch_filenames_t *\r
56         notmuch_message_get_filenames (notmuch_message_t *message);\r
57 \r
58 This of course, works with the existing notmuch_filenames_valid,\r
59 notmuch_filenames_move_to_next, and notmuch_filenames_get functions to\r
60 allow iteration over all filenames for a message.\r
61 \r
62 I know some people have been wanting support like this for some time.\r
63 \r
64 Others want similar support in the command-line tools, (to show\r
65 duplicate files rather than suppressing them). This would be fairly easy\r
66 to add now. Does anyone have recommendations for suitable command-line\r
67 arguments?\r
68 \r
69         notmuch search --with-duplicates\r
70 \r
71 Or something else??\r
72 \r
73 Anyway, have fun with this.\r
74 \r
75 =2DCarl\r
76 \r
77 =2D-=20\r
78 carl.d.worth@intel.com\r
79 \r
80 --=-=-=\r
81 Content-Type: application/pgp-signature\r
82 \r
83 -----BEGIN PGP SIGNATURE-----\r
84 Version: GnuPG v1.4.10 (GNU/Linux)\r
85 \r
86 iD8DBQFM2+tt6JDdNq8qSWgRAhPgAKCWmzIok4/5ijy6p00HmzTTcnowOwCgqmQ8\r
87 xVwoGw1IPNrY1nS5ficBhwU=\r
88 =gTQX\r
89 -----END PGP SIGNATURE-----\r
90 --=-=-=--\r