1 Return-Path: <moritz@tarn-vedra.de>
\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 8212E431FAE
\r
6 for <notmuch@notmuchmail.org>; Mon, 11 Aug 2014 13:38:53 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 hzXnYoG1yy3J for <notmuch@notmuchmail.org>;
\r
16 Mon, 11 Aug 2014 13:38:48 -0700 (PDT)
\r
17 Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com
\r
18 [209.85.212.179]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 46249431FB6
\r
21 for <notmuch@notmuchmail.org>; Mon, 11 Aug 2014 13:38:42 -0700 (PDT)
\r
22 Received: by mail-wi0-f179.google.com with SMTP id f8so4817448wiw.12
\r
23 for <notmuch@notmuchmail.org>; Mon, 11 Aug 2014 13:38:40 -0700 (PDT)
\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
25 d=1e100.net; s=20130820;
\r
26 h=x-gm-message-state:from:to:subject:user-agent:date:message-id
\r
27 :mime-version:content-type;
\r
28 bh=ouhEPtOPMnADPP/+25P0gJ/ASzWG51ShCx4T2z/IXf0=;
\r
29 b=OkaYXSvZJU/8Bp8dwj3/3IB8wVsZTzyofsfq820IZolF0oadkDPMoXEq9k8iriu6W/
\r
30 HVm8M9EsMQ4rrQOlmNa87NwUa5/z+c1MGKRPuZd6gFD0eQlu5RFdXRZOmi6uzr5eoIro
\r
31 YfXOZftHppES1GA1GQ7upCNv9UogPwNPCdxxU6ZN+d/10pu5ktuav6JFsrzyOt8jpjdg
\r
32 3586yDaqkqzwad7PWObloPjFYvJgQWRqkSExytCfYGz1mqP78n7CzJc5Ecbu/UcM7kOo
\r
33 ou/i/SNP7luLle0OGwOQn/W5GEdZFp4oSLGp0odvw3jrMPYMTNSU7VydTDtZ8+VfCeNp
\r
36 ALoCoQm7Afkcz9jnMPw1mtAUg3sOhXf4wbFroXNtCToZYefTOlolfQE+QbboqqSAJa4Boqwdl2D4
\r
37 X-Received: by 10.195.11.132 with SMTP id ei4mr160528wjd.133.1407789520710;
\r
38 Mon, 11 Aug 2014 13:38:40 -0700 (PDT)
\r
39 Received: from moritz-x230 (port-92-204-16-141.dynamic.qsc.de.
\r
40 [92.204.16.141]) by mx.google.com with ESMTPSA id
\r
41 bf3sm47754706wib.18.2014.08.11.13.38.26 for <notmuch@notmuchmail.org>
\r
42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11
\r
43 Aug 2014 13:38:39 -0700 (PDT)
\r
44 From: Moritz Ulrich <moritz@tarn-vedra.de>
\r
45 To: notmuch@notmuchmail.org
\r
46 Subject: `notmuch-escape-boolean-term': Broken for non-ascii characters
\r
47 User-Agent: Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.3.1
\r
48 (x86_64-unknown-linux-gnu)
\r
49 Date: Mon, 11 Aug 2014 22:38:16 +0200
\r
50 Message-ID: <874mxiu5hj.fsf@tarn-vedra.de>
\r
52 Content-Type: multipart/signed; boundary="=-=-=";
\r
53 micalg=pgp-sha256; protocol="application/pgp-signature"
\r
54 X-Mailman-Approved-At: Tue, 12 Aug 2014 03:47:09 -0700
\r
55 X-BeenThere: notmuch@notmuchmail.org
\r
56 X-Mailman-Version: 2.1.13
\r
58 List-Id: "Use and development of the notmuch mail system."
\r
59 <notmuch.notmuchmail.org>
\r
60 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
61 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
62 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
63 List-Post: <mailto:notmuch@notmuchmail.org>
\r
64 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
65 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
66 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
67 X-List-Received-Date: Mon, 11 Aug 2014 20:38:53 -0000
\r
70 Content-Type: text/plain; charset=utf-8
\r
71 Content-Transfer-Encoding: quoted-printable
\r
76 I recently adopted notmuch as my primary way to read mail, so thank you
\r
77 for this great tool!
\r
79 Unfortunately, I ran into a problem of the Emacs side of the project
\r
80 when used in a non-ascii environment:
\r
82 Having a tag named 'uni-k=C3=B6ln', the tag:-completion doesn't work.
\r
84 This is caused by `notmuch-escape-boolean-term' errornously escaping the
\r
87 (notmuch-escape-boolean-term "uni-k=C3=B6ln") =3D> "\"uni-k=C3=B6ln\""
\r
89 This is caused by `string-match' with the following errornously matching
\r
92 (string-match "[^!#-'*-~]" "uni-k=C3=B6ln") =3D> 5
\r
93 (string-match "[^!#-'*-~]" "uni-koln") =3D> nil
\r
95 I'm not exactly sure how to tackle this - the Regexp was crafted to match
\r
96 (, ), " if I understand it correct. A simple way would be just adding
\r
97 more characters as a sort-of whitelist. A nicer solution would be
\r
98 converting it from [^...] to [...] to explicitly mark letters that needs
\r
105 Content-Type: application/pgp-signature
\r
107 -----BEGIN PGP SIGNATURE-----
\r
110 iQIcBAEBCAAGBQJT6Sm9AAoJEKnhzHnsv6Qyp/MP/2AxFLNbuE8OazOaqDuNWR//
\r
111 fegXTAYkLHYYsd+pzLQgFuqC2mF4vh0hFM3cWJJTyoASzUBEM239nj1jLuloDSVv
\r
112 YcGBo+HBO4cqir9ly2UTLH9SkcEghx5zScfjVIygjZWwIFZRCjsfyXD5rK74Cv38
\r
113 4pi/LTEfX4CulQv3LwAGGZtN0ez+GP1fS7nWDNxUVO+tREJYg4S2sinSOmBPKaua
\r
114 lgkWEAXTJDj12FUijkR9RHcE5TviVXaW2n4mf833hvvbhHslaRic7fbmX56Sny40
\r
115 UaLkeJtoTF61yfoL2gazo5LjqQbBrrOzvGa5xHZhwtEnFNY9qlu8lxtdonhr63eK
\r
116 esVCaA+Q2D1lhw4JEPXgy1NcPHEp5x3CP/Dno8eXzK5+s2f85oFVX4cZREm+STc1
\r
117 7MWxSWOBshn8+QtStK4a4RIGgLnq5XoH8QBWi/Vh1ug30DBRsMfnXbLbiz6DrWf6
\r
118 koV3DnWcaVxbVQKXaSl/4DGzfbr1C4DO4S5nnjM40Aa1zfaUz64qxATKff0ZsIqN
\r
119 yN/Fll2SXJEdSRTH3F1sFrxWbVl7/5Taf9xyOsggjF5EPGXR9Ykxks9K+sTT3f1e
\r
120 Bp3EM4UZyyPepwTUU/KfgufC6yL6/GxEtx4KSuAlfvBoDCQpJyQ6OYyUjwruGIoH
\r
121 3K5sXP5xLAQVX4FyMxVe
\r
123 -----END PGP SIGNATURE-----
\r