Improving face customization in notmuch.el
[notmuch-archives.git] / f0 / 3e24b8b723e7c65e93bd62a5cd6dfced3578d3
1 Return-Path: <markwalters1009@gmail.com>\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 DB488431FBF\r
6         for <notmuch@notmuchmail.org>; Sun,  9 Dec 2012 04:56:49 -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: 0.201\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.201 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,\r
14         RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
15 Received: from olra.theworths.org ([127.0.0.1])\r
16         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
17         with ESMTP id w9kUPnaIO5WK for <notmuch@notmuchmail.org>;\r
18         Sun,  9 Dec 2012 04:56:48 -0800 (PST)\r
19 Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com\r
20  [74.125.82.41])        (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
21  certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
22  E004C431FC3    for <notmuch@notmuchmail.org>; Sun,  9 Dec 2012 04:56:47 -0800\r
23  (PST)\r
24 Received: by mail-wg0-f41.google.com with SMTP id ds1so438076wgb.2\r
25         for <notmuch@notmuchmail.org>; Sun, 09 Dec 2012 04:56:46 -0800 (PST)\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
27         h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;\r
28         bh=SsdrJwL36NiGyAsGs57IupUZTUuYpj+YBbCYkXP9Aec=;\r
29         b=u4x/8U9nyPs1kABN51l38inzoOuBR6qQ/sGDZ91gMYQm1NdpTvsTeNMwGOSrakWElA\r
30         YBQnimRdiSHg/jJwJ1lMTm1gota8qGKy5ZKEP3AGsKGi4BuZo8upFbdduHi0QMXjWiWn\r
31         HdYG9w9B0J2jf+vQ/vmeyItIolo8rN90PP0JA3cfHIrAxoavClaOSDBV2nuKpXGpm50X\r
32         rhFgw14PBh08cgmb2364MAMsTBZFt0QXIqGOpp2BSeaiiv0rD0nveYsZdbOltiABGhiA\r
33         yDKFrjZeTVF8YyXhxrLuny/QvTgDjaxuby66RkLVP8a0p1LrtySUu/W7DHKS3euFPa20\r
34         xqqg==\r
35 Received: by 10.216.207.104 with SMTP id m82mr4245808weo.4.1355057805797;\r
36         Sun, 09 Dec 2012 04:56:45 -0800 (PST)\r
37 Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31])\r
38         by mx.google.com with ESMTPS id i6sm5863109wix.5.2012.12.09.04.56.42\r
39         (version=TLSv1/SSLv3 cipher=OTHER);\r
40         Sun, 09 Dec 2012 04:56:42 -0800 (PST)\r
41 From: Mark Walters <markwalters1009@gmail.com>\r
42 To: notmuch@notmuchmail.org\r
43 Subject: [PATCH v4 1/3] test: normalize only message filenames in show json\r
44 Date: Sun,  9 Dec 2012 12:56:34 +0000\r
45 Message-Id: <1355057796-19260-2-git-send-email-markwalters1009@gmail.com>\r
46 X-Mailer: git-send-email 1.7.9.1\r
47 In-Reply-To: <1355057796-19260-1-git-send-email-markwalters1009@gmail.com>\r
48 References: <1355057796-19260-1-git-send-email-markwalters1009@gmail.com>\r
49 X-BeenThere: notmuch@notmuchmail.org\r
50 X-Mailman-Version: 2.1.13\r
51 Precedence: list\r
52 List-Id: "Use and development of the notmuch mail system."\r
53         <notmuch.notmuchmail.org>\r
54 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
55         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
57 List-Post: <mailto:notmuch@notmuchmail.org>\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
59 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
60         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
61 X-List-Received-Date: Sun, 09 Dec 2012 12:56:50 -0000\r
62 \r
63 From: Peter Wang <novalazy@gmail.com>\r
64 \r
65 notmuch_json_show_sanitize replaced "filename" field values even in part\r
66 structures, where the value is predictable.  Make it only normalize the\r
67 filename value if it is an absolute path (begins with slash), which is\r
68 true of the Maildir filenames that were intended to be normalized away.\r
69 ---\r
70  test/multipart   |    2 +-\r
71  test/test-lib.sh |    2 +-\r
72  2 files changed, 2 insertions(+), 2 deletions(-)\r
73 \r
74 diff --git a/test/multipart b/test/multipart\r
75 index 0527f84..344ed81 100755\r
76 --- a/test/multipart\r
77 +++ b/test/multipart\r
78 @@ -630,7 +630,7 @@ cat <<EOF >EXPECTED\r
79   "content": "This is an embedded message, with a multipart/alternative part.\n"}]}]}]},\r
80   {"id": 7,\r
81   "content-type": "text/plain",\r
82 - "filename": "YYYYY",\r
83 + "filename": "attachment",\r
84   "content": "This is a text attachment.\n"},\r
85   {"id": 8,\r
86   "content-type": "text/plain",\r
87 diff --git a/test/test-lib.sh b/test/test-lib.sh\r
88 index fd64736..6ce3b31 100644\r
89 --- a/test/test-lib.sh\r
90 +++ b/test/test-lib.sh\r
91 @@ -600,7 +600,7 @@ notmuch_json_show_sanitize ()\r
92  {\r
93      sed \\r
94         -e 's|"id": "[^"]*",|"id": "XXXXX",|g' \\r
95 -       -e 's|"filename": "[^"]*",|"filename": "YYYYY",|g'\r
96 +       -e 's|"filename": "/[^"]*",|"filename": "YYYYY",|g'\r
97  }\r
98  \r
99  # End of notmuch helper functions\r
100 -- \r
101 1.7.9.1\r
102 \r