[PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / 02 / 45d030ab2006d7f4409fe49c83aed9c3e7e22e
1 Return-Path: <anarcat@orangeseeds.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 arlo.cworth.org (Postfix) with ESMTP id DFCD26DE0C81\r
6  for <notmuch@notmuchmail.org>; Fri,  5 Feb 2016 14:53:18 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.001\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.001 tagged_above=-999 required=5\r
12  tests=[UNPARSEABLE_RELAY=0.001] autolearn=disabled\r
13 Received: from arlo.cworth.org ([127.0.0.1])\r
14  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
15  with ESMTP id u5uuZVdc82FA for <notmuch@notmuchmail.org>;\r
16  Fri,  5 Feb 2016 14:53:16 -0800 (PST)\r
17 X-Greylist: delayed 474 seconds by postgrey-1.35 at arlo;\r
18  Fri, 05 Feb 2016 14:53:16 PST\r
19 Received: from bureau.koumbit.net (homere.koumbit.net [199.58.80.81])\r
20  by arlo.cworth.org (Postfix) with ESMTPS id 0D52F6DE02CB\r
21  for <notmuch@notmuchmail.org>; Fri,  5 Feb 2016 14:53:15 -0800 (PST)\r
22 Received: from [127.0.0.1] (localhost [127.0.0.1])      (Authenticated sender:\r
23  anarcat@koumbit.org)   with ESMTPSA id A42E923C189C\r
24 Received: by localhost (Postfix, from userid 1000)\r
25  id 50FD56E1728; Fri,  5 Feb 2016 17:44:50 -0500 (EST)\r
26 From: Antoine =?utf-8?Q?Beaupr=C3=A9?= <anarcat@orangeseeds.org>\r
27 To: Notmuch Mail <notmuch@notmuchmail.org>\r
28 Subject: BUG: trouble with forwarding with accents\r
29 User-Agent: Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1\r
30  (x86_64-pc-linux-gnu)\r
31 Date: Fri, 05 Feb 2016 17:44:50 -0500\r
32 Message-ID: <87vb62ixp9.fsf@angela.anarcat.ath.cx>\r
33 MIME-Version: 1.0\r
34 Content-Type: text/plain\r
35 X-Mailman-Approved-At: Sat, 06 Feb 2016 08:41:40 -0800\r
36 X-BeenThere: notmuch@notmuchmail.org\r
37 X-Mailman-Version: 2.1.20\r
38 Precedence: list\r
39 List-Id: "Use and development of the notmuch mail system."\r
40  <notmuch.notmuchmail.org>\r
41 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
42  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
43 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
44 List-Post: <mailto:notmuch@notmuchmail.org>\r
45 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
46 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
47  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
48 X-List-Received-Date: Fri, 05 Feb 2016 22:53:19 -0000\r
49 \r
50 So I have an accent in my family name, as you can see from the From\r
51 header here. This has a tendency of finding the greatest and finest\r
52 UTF-8 bug, and often no one believes me because they don't have that\r
53 interesting property.\r
54 \r
55 Notmuch has been bugging me with such a problem for ages now. When I\r
56 forward a mail, the accents in my name (or in the signature inserted)\r
57 are broken. (Interstingly, I haven't *actually* been bothered by that\r
58 bug for a while because I was using Emacs through an SSH console. Now,\r
59 I'm using Emacs within a X11 terminal instead, "GNU Emacs 24.4.1\r
60 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-03-07 on trouble,\r
61 modified by Debian".)\r
62 \r
63 Interestingly, piping that buffer into patebinit doesn't yield any errors:\r
64 \r
65 http://paste.debian.net/378776/\r
66 \r
67 Yet there is clearly an issue while writing the buffer, as you can see\r
68 on this screenshot:\r
69 \r
70 http://paste.anarc.at/snap-2016.02.05-17.28.30.png\r
71 \r
72 Look at the buffer on the bottom: my accent (a &eacute;) is all busted\r
73 in the From line, even though it is perfectly fine in *this* buffer. If\r
74 I try to send that message (say to the `devnull` recipient), I get a\r
75 nasty warning:\r
76 \r
77 ```\r
78 These default coding systems were tried to encode text\r
79 in the buffer `1454711375.18796_680127_47.angela':\r
80   (utf-8-unix (21 . 4194243) (22 . 4194217))\r
81 However, each of them encountered characters it couldn't encode:\r
82   utf-8-unix cannot encode these: \303 \251\r
83 \r
84 Click on a character (or switch to this window by `C-x o'\r
85 and select the characters by RET) to jump to the place it appears,\r
86 where `C-u C-x =' will give information about it.\r
87 \r
88 Select one of the safe coding systems listed below,\r
89 or cancel the writing with C-g and edit the buffer\r
90    to remove or modify the problematic characters,\r
91 or specify any other coding system (and risk losing\r
92    the problematic characters).\r
93 \r
94   raw-text no-conversion\r
95 ```\r
96 \r
97 (Note that I rewrote the actual escape characters above to avoid to be\r
98 "backslash number number number" instead of the actual escape sequence\r
99 to avoid trouble, as I am sending this through emacs as well.)\r
100 \r
101 I usually [PLOKTA][1] my way through that warning, but I have no idea if\r
102 the recipient receives something that is jumbled up or not. Besides,\r
103 PLOKTA is not fun, I just feel like I look like this:\r
104 \r
105 http://i1.kym-cdn.com/photos/images/original/000/234/765/b7e.jpg\r
106 \r
107  [1]: https://en.wikipedia.org/wiki/PLOKTA\r
108 \r
109 This sure smells like double-encoding. Is this notmuch's fault or\r
110 message-mode, and how can i fix this stuff?\r
111 \r
112 This is notmuch 0.18 in Debian jessie.\r
113 \r
114 Thanks for any advice,\r
115 \r
116 A.\r
117 \r
118 -- \r
119 Code is law.\r
120                          - Lawrence Lessig\r