Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id DAC67431FAE for ; Mon, 13 Aug 2012 09:58:54 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.29 X-Spam-Level: X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id y6brprKkHX90 for ; Mon, 13 Aug 2012 09:58:52 -0700 (PDT) Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu [131.215.239.19]) by olra.theworths.org (Postfix) with ESMTP id B56D1431FC0 for ; Mon, 13 Aug 2012 09:58:52 -0700 (PDT) Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1]) by fire-doxen-postvirus (Postfix) with ESMTP id 5EEF132801F; Mon, 13 Aug 2012 09:58:50 -0700 (PDT) X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new Received: from finestructure.net (adsl-76-240-184-246.dsl.irvnca.sbcglobal.net [76.240.184.246]) (Authenticated sender: jrollins) by fire-doxen-submit (Postfix) with ESMTP id 560442E50D8C; Mon, 13 Aug 2012 09:58:47 -0700 (PDT) Received: by finestructure.net (Postfix, from userid 1000) id 2DD00547; Mon, 13 Aug 2012 09:48:54 -0700 (PDT) From: Jameson Graef Rollins To: hellekin , notmuch@notmuchmail.org Subject: Re: multipart/alternative bug In-Reply-To: References: User-Agent: Notmuch/0.13.2+137~ge34ed71 (http://notmuchmail.org) Emacs/23.4.1 (x86_64-pc-linux-gnu) Date: Mon, 13 Aug 2012 09:48:51 -0700 Message-ID: <87ipcmspos.fsf@servo.finestructure.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2012 16:58:55 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Mon, Aug 13 2012, hellekin wrote: > as I mentioned on IRC a few days ago, there are some cases where: > > - a thread only displays the first message > - key bindings do not work at all (except q) > > By trial and error, I could nail down the issue to multipart/alternative > support. I had set notmuch to only show the text/plain part of an email > before hitting the bug, and by setting "Notmuch Show All > Multipart/Alternative Parts" to *off* in notmuch-show configuration, the > bug disappeared.=20 > > I'm sorry not to be able to dig further, but I hope this tip will help > users to avoid the issue, and developers to find and fix the bug. Hi, hk. I'm going to go out on a limb and guess that this is actually probably *not* an issue with multipart/alternative but instead with whatever is in that alternative part. If you set notmuch-show-all-multipart/alternative to off you're only seeing the text/plain part. If there's something crazy in the alternative part, something that's not getting decoded correctly maybe, then that might screw up the buffer. Can you use the command line UI to determine what else is in the offending message? Is it just a text/html part, or is there something else more exotic? A lot of popular but broken MUAs stuff non-alternative stuff into alternative parts. You can grab the message id (id:XXX) of the offending message with 'c i' in the emacs UI, and the look at it on the command line with: notmuch show id:XXX hth. jamie. ps. In general the command line UI is a great resource for figuring out what might be causing problems in the emacs UI. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJQKS/zAAoJEO00zqvie6q86ckP/2s07/2spEBHc5EP3ve0raud xab6FNpA7LHFmAbKhV1zdLAbpIBCQQr/YtmBLXntZiwSi5QlVPQ0nUcpOVZxBMde nDtrQw2k8X932ZBRUR5Dh6ou7suevjAbEslU7j4Qi0n+Ml80fcmtS9UIWg8DJERA xq81CaJ0Gb582OOPjIxgfuCBDSUpAnNFnro8ohvyYHpEdf9j26SXti/g3jPgubqE yotl7HDIENmgVEE9CGVAjIPilkJxQt5OHkmSNVQ4vAK+lHGBKfVZ347zsMDXW46q R0rBMq4FDCzv5vG9T4FQhB09+bJ9BFq+gDY6HKSTm1ZFE+GZsrqQ/8EaDQa4xB1a sW1FcUi1Wbew2s2FepAV/DybwNy4GhdE4HqJUsohlq7I5m+jli9v6pH5c3gCWt3b ub4NaOrkL+qhbcA+1SCglIV2I/wznBAJH8k9d2PRA+eMQGRgLyTYWQk4ClCjTI0z 0Y2YI2UpwHgRI7JDclLPTRBD0Swjan/Dj96NIFK19FN5E/TlkE9yzCg1EofSla3d POZxtJ64Z8g+mcEUX7O1tTelDTFHUShL71h2JAYwsEPHEgRR4IOLYbSQYguWkNot Agqj2rMm3x1XaBt9bmCpoVMelLLHeKObkbb61slUUfE4+mK7qT36QWUFauP37hls iJFVtNKhNKgXTPfNRH3p =vvH2 -----END PGP SIGNATURE----- --=-=-=--