From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:863f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms12 with LMTPS id eBydIxV18l+SaQAAsNZ9tg (envelope-from ) for ; Mon, 04 Jan 2021 01:53:25 +0000 Received: from out1.migadu.com ([2001:41d0:2:863f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id CMeOLhR18l8oMAAA1q6Kng (envelope-from ) for ; Mon, 04 Jan 2021 01:53:24 +0000 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1609725204; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=2wsJw/XcewpYRbP0+Gnoe8HyvsrPasjL9UT8HvI/FgM=; b=A17gAsQxd5fUsHanPyP2kmZg9lp6GksTK7fozMQcymCX783ihTcbDAylzzrPj1l0OgT/ny DM3Tt8pnKCzb4BnO4RsNmuYsNL2/Q4mr2gYwTIj3Yn/toos+FeovxyOu1y7LN9a0TIlvgq hYg2EO0wyHEZ/k20QuoCAjxeM1NkwnexMm5lveiabSca+gRmXDwo+x0Up2BMlmzjbZBMjn +ZOFzWLqUuLlDYsp5lo8YKXRSFyvVhz8l1+9uNAGC1+Ct4D09jOF23MRBGb9VE6mQCoZ0L ftpYBL7wmEJAtJoF919aW7ScxPNDNYa/yorb6C57OIjNK+Cm8hac6ghrASSs4A== From: Kyle Meyer To: piem@inbox.kyleam.com Subject: Re: [PATCH 2/3] piem-notmuch-am-ready-mbox: Improve handling of attachments In-Reply-To: <20210103180912.17404-3-kyle@kyleam.com> References: <20210103180912.17404-1-kyle@kyleam.com> <20210103180912.17404-3-kyle@kyleam.com> Message-ID: <87zh1pbh7x.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: kyle@kyleam.com Date: Mon, 04 Jan 2021 01:53:24 GMT X-TUID: GG0xAPB8r8EA Kyle Meyer writes: > + (if (string-prefix-p > + "multipart/" > + (plist-get > + (car (plist-get (notmuch-show-get-message-properties) > + :body)) > + :content-type)) This is problematic for an inline multipart/signed patch (which the old/current logic doesn't handle properly either). That's not a big deal, since such a patch can be sent through piem-b4-am-from-mid instead, but it'd still be nice to support it. v2 incoming...