Re: compile error of current git on F15
[notmuch-archives.git] / ee / 80babab8c241d1a9be568acf3d22783ba79fa9
1 Return-Path: <matthias.guedemann@ovgu.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 0D2E5431FD0\r
6         for <notmuch@notmuchmail.org>; Mon, 23 May 2011 10:25:04 -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 rseMjncFRqDk for <notmuch@notmuchmail.org>;\r
16         Mon, 23 May 2011 10:25:03 -0700 (PDT)\r
17 Received: from mail.uni-magdeburg.de (mail.uni-magdeburg.de [141.44.1.10])\r
18         by olra.theworths.org (Postfix) with ESMTP id 52393431FB6\r
19         for <notmuch@notmuchmail.org>; Mon, 23 May 2011 10:25:03 -0700 (PDT)\r
20 Received: from pc44es141.cs.uni-magdeburg.de ([141.44.32.169]:38554)\r
21         by mail.uni-magdeburg.de with esmtp (EXIM Version 4.69)\r
22         id 1QOYsG-0003Pt-IP; Mon, 23 May 2011 19:25:02 +0200\r
23 From: Matthias Guedemann <matthias.guedemann@ovgu.de>\r
24 To: "notmuch\@notmuchmail.org" <notmuch@notmuchmail.org>\r
25 Subject: [BUG] multipart ID of show != part\r
26 User-Agent: Notmuch/0.5-103-gc51d5b3 (http://notmuchmail.org) Emacs/23.2.1\r
27         (x86_64-pc-linux-gnu)\r
28 Date: Mon, 23 May 2011 19:25:01 +0200\r
29 Message-ID: <87ei3pqqhe.fsf@pc44es141.cs.uni-magdeburg.de>\r
30 MIME-Version: 1.0\r
31 Content-Type: text/plain; charset=us-ascii\r
32 X-Scan-Signature: a5b546456033b0c2695077fb2a7b3655\r
33 X-BeenThere: notmuch@notmuchmail.org\r
34 X-Mailman-Version: 2.1.13\r
35 Precedence: list\r
36 List-Id: "Use and development of the notmuch mail system."\r
37         <notmuch.notmuchmail.org>\r
38 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
39         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
40 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
41 List-Post: <mailto:notmuch@notmuchmail.org>\r
42 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
43 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
45 X-List-Received-Date: Mon, 23 May 2011 17:25:04 -0000\r
46 \r
47 Hi all,\r
48 \r
49 I found some problems with the multipart/mixed behavior of current\r
50 master. I have several multipart mails where the html part is not\r
51 displayed and a text/plain attachment is wrongly reported as text/html. \r
52 \r
53 I have no real insight into the inner workings of notmuch-show but have\r
54 found this discrepancy between "notmuch show" and "notmuch part":\r
55 \r
56 (master last commit c4e00ab69a14bfe5756056614a5fb7df8580cd33)\r
57 \r
58 show produces this JSON:\r
59 \r
60 ^Lbody{\r
61 ^Lpart{ ID: 1, Content-type: multipart/mixed\r
62 ^Lpart{ ID: 2, Content-type: text/html\r
63 Non-text part: text/html\r
64 ^Lpart}\r
65 ^Lattachment{ ID: 3, Content-type: text/plain\r
66 Attachment: ATT00001.c (text/plain)\r
67 _______________________________________________\r
68 Haskell-Cafe mailing list\r
69 Haskell-Cafe@haskell.org\r
70 http://www.haskell.org/mailman/listinfo/haskell-cafe\r
71 ^Lattachment}\r
72 ^Lpart}\r
73 ^Lbody}\r
74 \r
75 whereas "notmuch part --part=2" produces this (the content of the\r
76 ATT00001.c file):\r
77 \r
78 _______________________________________________\r
79 Haskell-Cafe mailing list\r
80 Haskell-Cafe@haskell.org\r
81 http://www.haskell.org/mailman/listinfo/haskell-cafe\r
82 \r
83 the man page states that the part number is equal to the ID, but here\r
84 part=2 returns the content of ID=3 and therefore the wrong message\r
85 part.\r
86 \r
87 \r
88 regards\r
89 Matthias\r
90 \r