From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id CPcLBKoN8l+DOAAA0tVLHw (envelope-from ) for ; Sun, 03 Jan 2021 18:32:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id SNAaO6kN8l8EDQAAbx9fmQ (envelope-from ) for ; Sun, 03 Jan 2021 18:32:09 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E306B9404E4 for ; Sun, 3 Jan 2021 18:32:08 +0000 (UTC) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id ABE0829CA6; Sun, 3 Jan 2021 13:32:01 -0500 (EST) Received: from che.mayfirst.org (unknown [162.247.75.117]) by mail.notmuchmail.org (Postfix) with ESMTPS id 15FBF28C8F for ; Sun, 3 Jan 2021 13:31:58 -0500 (EST) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019; t=1609698717; h=from : to : subject : date : message-id : in-reply-to : references : mime-version : content-type : content-transfer-encoding : from; bh=bjPmpOlMjbgmspAXZ5hA1RiORMC7BEH65qdmiSvsbDo=; b=0ypShX3p3DBII1OScAoWJyulr5fmH92Sd27Wszc/zf6Y5KZBwdi4g6lCdKUs10LH/nWg1 wNlqME+zNXJSNnwCA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019rsa; t=1609698717; h=from : to : subject : date : message-id : in-reply-to : references : mime-version : content-type : content-transfer-encoding : from; bh=bjPmpOlMjbgmspAXZ5hA1RiORMC7BEH65qdmiSvsbDo=; b=MsGPwg2sMwugXbnKF+Otg4L3Cx/cSq4E5hTs2LRyB3an6AObQZb86HkIM61o+rGRquzNk SM3pFg5Kjc7KHZwfDJE8lCpoX684RJKNAoT2jTf4Xcfb0fAeYY/IdnV6yjTO4yHsGQ305EI QEQRzZQvvsftE8gmyP81aMmYWdqg1hSfxSbiFo8j4izc6rNrZvj1tLPvQMCT8+vnCX61ZEI KLN82KeIq5x91ERTRDqxldB9Pm0tqEt59poeAKvoeSf+lXgkQgqCI7S/mRFv1VHQT11iye7 aHxrz2zzj/gk36baFjspudPzWvkueOC5KpCmL1JGP1+XMavtTNFb8c8RZX1Q== Received: from fifthhorseman.net (unknown [108.58.6.98]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by che.mayfirst.org (Postfix) with ESMTPSA id 8AF75F9A5 for ; Sun, 3 Jan 2021 13:31:57 -0500 (EST) Received: by fifthhorseman.net (Postfix, from userid 1000) id D1683203F0; Sun, 3 Jan 2021 13:31:54 -0500 (EST) From: Daniel Kahn Gillmor To: Notmuch Mail Subject: [PATCH] emacs/notmuch-show: Work around errors where a part lacks a content-type Date: Sun, 3 Jan 2021 13:31:54 -0500 Message-Id: <20210103183154.1207696-1-dkg@fifthhorseman.net> X-Mailer: git-send-email 2.29.2 In-Reply-To: <87wnwu8tzf.fsf@fifthhorseman.net> References: <87wnwu8tzf.fsf@fifthhorseman.net> MIME-Version: 1.0 Message-ID-Hash: U6QHKS2LXUFLA6ESYHFWACGNGBBKXL2J X-Message-ID-Hash: U6QHKS2LXUFLA6ESYHFWACGNGBBKXL2J X-MailFrom: dkg@fifthhorseman.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 0.32 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=fifthhorseman.net header.s=2019 header.b=0ypShX3p; dkim=fail (body hash did not verify) header.d=fifthhorseman.net header.s=2019rsa header.b=MsGPwg2s; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fifthhorseman.net (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: E306B9404E4 X-Spam-Score: 0.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: JkaFJXdNM5mF VGhpcyBpcyBhbiBpbmFkZXF1YXRlIHdvcmthcm91bmQgdG8gdGhlIGNvbmNlcm5zIHJhaXNlZCBp bg0KaWQ6ODd3bnd1OHR6Zi5mc2ZAZmlmdGhob3JzZW1hbi5uZXQgLS0gd2hlbiBpdCBpcyBpbnN0 YWxsZWQsIGENCnBhcnRpY3VsYXIga2luZCBvZiBtYWxmb3JtZWQgbWVzc2FnZSAoaW4gcGFydGlj dWxhciwgb25lIGNvbnRhaW5pbmcgYQ0KbWVzc2FnZS9yZmM4MjIgcGFydCB0aGF0IGlzIGltcHJv cGVybHkgdHJhbnNmZXItZW5jb2RlZCB3aXRoIGJhc2U2NCkNCndvbid0IGJyZWFrIHRoZSByZW5k ZXJpbmcuDQoNCkhvd2V2ZXIsIHdpdGggdGhpcyBhcHBsaWVkLCB0aGVyZSBhcmUgZGVmaW5pdGVs eSBzdGlsbCBwcm9ibGVtcy4NCg0KRm9yIGV4YW1wbGUsIHRoZSByZW5kZXJpbmcg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