[PATCH 1/9] lib: read "property" terms from messages.
[notmuch-archives.git] / 5e / cbf08fc97e51d61479c2abe819bee3c1810099
1 Return-Path: <ethan.glasser.camp@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 8B6C8431FBD\r
6         for <notmuch@notmuchmail.org>; Sun, 18 Nov 2012 12:26:02 -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.799\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\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 TL0VcvzlJUZn for <notmuch@notmuchmail.org>;\r
17         Sun, 18 Nov 2012 12:26:00 -0800 (PST)\r
18 Received: from mail-qc0-f181.google.com (mail-qc0-f181.google.com\r
19         [209.85.216.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id A2843431FB6\r
22         for <notmuch@notmuchmail.org>; Sun, 18 Nov 2012 12:26:00 -0800 (PST)\r
23 Received: by mail-qc0-f181.google.com with SMTP id x40so3133671qcp.26\r
24         for <notmuch@notmuchmail.org>; Sun, 18 Nov 2012 12:26:00 -0800 (PST)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
26         h=from:to:cc:subject:in-reply-to:references:user-agent:date\r
27         :message-id:mime-version:content-type;\r
28         bh=/ryoEeVbbtbxTcLz5cHxqA3VEqpX7LQmBsVXF7utB84=;\r
29         b=Kz17bchLFc/XgSgzVrrNEp0qTzOdrmY7+SWStZi5xgnp6iRvwUbZH54O7PQ95QfjQP\r
30         TG/n2dA8MHFm8G2bok08af2eqt6BeMwsJUZJ2iAqeBrBeGSblhWLTYLujbGLOQW5o4Yh\r
31         1193pqZokte9BR8BaLXWinjsNJrDAJ4P+OoVf+obzQyRXgCrMboeOPd/nDxXxU808F5T\r
32         3m3wID/4W66/IUF6fpXn7yCWFJNW+pf1Kr+MugUzQMPlAFijV4eHgIZY+c9BvQshgK1b\r
33         So2KCvmonciM6KxJWzCeDNYu9aoDfo9IDlop3HbgtymoE+4nLLwcqlEVune0FsDmbc+X\r
34         BjMA==\r
35 Received: by 10.224.27.83 with SMTP id h19mr9802221qac.70.1353270360062;\r
36         Sun, 18 Nov 2012 12:26:00 -0800 (PST)\r
37 Received: from smtp.gmail.com ([66.114.71.21])\r
38         by mx.google.com with ESMTPS id z9sm4256966qeg.9.2012.11.18.12.25.58\r
39         (version=TLSv1/SSLv3 cipher=OTHER);\r
40         Sun, 18 Nov 2012 12:25:59 -0800 (PST)\r
41 From: Ethan Glasser-Camp <ethan.glasser.camp@gmail.com>\r
42 To: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org\r
43 Subject: Re: [PATCH 2/2] emacs: less guessing of character set in messages\r
44 In-Reply-To: <1353269185-23210-2-git-send-email-tomi.ollila@iki.fi>\r
45 References: <id:87txsm23hs.fsf@betacantrips.com>\r
46         <1353269185-23210-1-git-send-email-tomi.ollila@iki.fi>\r
47         <1353269185-23210-2-git-send-email-tomi.ollila@iki.fi>\r
48 User-Agent: Notmuch/0.14+45~g6ea9330 (http://notmuchmail.org) Emacs/24.1.1\r
49         (x86_64-pc-linux-gnu)\r
50 Date: Sun, 18 Nov 2012 15:25:56 -0500\r
51 Message-ID: <87pq3a1wvf.fsf@betacantrips.com>\r
52 MIME-Version: 1.0\r
53 Content-Type: text/plain\r
54 Cc: tomi.ollila@iki.fi\r
55 X-BeenThere: notmuch@notmuchmail.org\r
56 X-Mailman-Version: 2.1.13\r
57 Precedence: list\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: Sun, 18 Nov 2012 20:26:02 -0000\r
68 \r
69 Tomi Ollila <tomi.ollila@iki.fi> writes:\r
70 \r
71 > The macro with-current-notmuch-show-message executes command\r
72 > `notmuch show --format=raw id:...` which just outputs the contents\r
73 > of the mail file verbatim (into temporary buffer). In case e.g. utf-8\r
74 > locale is used the temporary buffer has buffer-file-coding-system as\r
75 > utf-8. In this case Emacs converts the data to multibyte format, guessing\r
76 > that input is in utf-8.\r
77 > However, the "raw" (MIME) message may contain octet data in any other\r
78 > 8bit format, and as no (MIME-)content spesific handling to the message\r
79 > is done at this point, conversion to other formats may lose information.\r
80 > By setting coding-system-for-read 'no-conversion drops the conversion part\r
81 > and makes this handle input as notmuch-get-bodypart-internal() does.\r
82 > This marks the broken test in previous change fixed.\r
83 \r
84 This looks good to me, though you might need to apply it with notmuch\r
85 show --format="mbox" :).\r
86 \r
87 Ethan\r