Re: [PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / 42 / f52a7399c89d17883f14c65dfbc1a75e1df57a
1 Return-Path: <david@tethera.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 BC618431FB6\r
6         for <notmuch@notmuchmail.org>; Tue, 23 Jul 2013 04:40:07 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         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 PfyLgOC4hZ0Z for <notmuch@notmuchmail.org>;\r
16         Tue, 23 Jul 2013 04:40:01 -0700 (PDT)\r
17 Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155])\r
18         (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 9BB81431FBC\r
21         for <notmuch@notmuchmail.org>; Tue, 23 Jul 2013 04:40:01 -0700 (PDT)\r
22 Received: from remotemail by yantan.tethera.net with local (Exim 4.80)\r
23         (envelope-from <david@tethera.net>)\r
24         id 1V1awg-0007o1-Ix; Tue, 23 Jul 2013 08:39:58 -0300\r
25 Received: (nullmailer pid 27128 invoked by uid 1000); Tue, 23 Jul 2013\r
26         11:39:54 -0000\r
27 From: David Bremner <david@tethera.net>\r
28 To: Franz Fellner <alpine.art.de@gmail.com>, notmuch@notmuchmail.org\r
29 Subject: Re: UTF-8 in mail headers (namely FROM) sent by bugzilla\r
30 In-Reply-To: <5712cc41-d0ce-4ed3-af1c-37cf639dd9c0@gmail.com>\r
31 References: <08cb1dcd-c5db-4e33-8b09-7730cb3d59a2@gmail.com>\r
32         <871u6psjwr.fsf@ericabrahamsen.net>\r
33         <5712cc41-d0ce-4ed3-af1c-37cf639dd9c0@gmail.com>\r
34 User-Agent: Notmuch/0.15.2+224~g1fd1e57 (http://notmuchmail.org) Emacs/24.3.1\r
35         (x86_64-pc-linux-gnu)\r
36 Date: Tue, 23 Jul 2013 08:39:54 -0300\r
37 Message-ID: <87y58xv71x.fsf@zancas.localnet>\r
38 MIME-Version: 1.0\r
39 Content-Type: text/plain\r
40 X-BeenThere: notmuch@notmuchmail.org\r
41 X-Mailman-Version: 2.1.13\r
42 Precedence: list\r
43 List-Id: "Use and development of the notmuch mail system."\r
44         <notmuch.notmuchmail.org>\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
48 List-Post: <mailto:notmuch@notmuchmail.org>\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
52 X-List-Received-Date: Tue, 23 Jul 2013 11:40:07 -0000\r
53 \r
54 Franz Fellner <alpine.art.de@gmail.com> writes:\r
55 \r
56 >\r
57 > OK, thx. So every app needs to get patched to display those strings\r
58 > properly? Any chance this could be done directly in libnotmuch?  I\r
59 > grepped for "2047" inside te "emacs" subtree, but found nothing (had\r
60 > the hope for a comment for the workaround). Would be interesting to\r
61 > see how this is done, so I can at least try to create a patch (though\r
62 > my ruby is quite basic).\r
63 \r
64 In general notmuch relies on libgmime for rfc2047 parsing.  I'm not sure\r
65 of all the details now, but some of the filtering does happen in the\r
66 CLI, not the lib.  You could start by looking at\r
67 gmime-filter-headers.[ch] in the top directory.\r
68 \r
69 d\r
70 \r