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 ms12 with LMTPS id yMNrOifOul+oWAAAsNZ9tg (envelope-from ) for ; Sun, 22 Nov 2020 20:46:31 +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 YDc8NifOul8rVAAAbx9fmQ (envelope-from ) for ; Sun, 22 Nov 2020 20:46:31 +0000 Received: from pb-smtp20.pobox.com (pb-smtp20.pobox.com [173.228.157.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DB36B9402D6 for ; Sun, 22 Nov 2020 20:46:30 +0000 (UTC) Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 3903F1006FB; Sun, 22 Nov 2020 15:46:28 -0500 (EST) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to :subject:date:message-id:mime-version:content-transfer-encoding; s=sasl; bh=g3ARqm/wSsK+Uq87IARgzi4e7YQ=; b=OfcSgCA18bGbOzpJAtOY ROLSYzawwgshd85HQvtBE3J2RpK+qZe4gPb2DqUa1CnGZUMJUhmNnJDrfnGqiu59 RJrv7/+8bZoWrhCDm14kje742k65vDbPQHvkLbHYa62HlkWLaNlIxBUGlOWBRefr XZatD2cboHZf1X0jz4FFme4= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 31C8E1006FA; Sun, 22 Nov 2020 15:46:28 -0500 (EST) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:subject:date:message-id:mime-version:content-transfer-encoding; s=mesmtp; bh=EHUWBqQ4+Uqjk+monDKyS8ZjJiYHoh0kE8N/BJK7Uis=; b=TFENWoyVgAk1wGpuDDn617tHEjZQO4LYI1L0q7ulqHDjb3BlBm97bXvhGZDZUM4BBYnNWx7RmfR9sTVD9XRKZjHGz0DZvBRh0qLO9ktTaPUUfSFDR/KCbBbVSEs5A0Nznx8VlrOW+R4o28tZHyMHPg+Vtdug12QurAhfuVvZsl8= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id 66F091006F8; Sun, 22 Nov 2020 15:46:25 -0500 (EST) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: piem@inbox.kyleam.com Subject: [PATCH 0/4] Support text/plain patch attachments Date: Sun, 22 Nov 2020 15:46:05 -0500 Message-Id: <20201122204609.12604-1-kyle@kyleam.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-Pobox-Relay-ID: C98A2F3C-2D03-11EB-ABF8-E43E2BB96649-24757444!pb-smtp20.pobox.com Content-Transfer-Encoding: quoted-printable X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=OfcSgCA1; dkim=fail (body hash did not verify) header.d=kyleam.com header.s=mesmtp header.b=TFENWoyV; dmarc=none; spf=pass (aspmx1.migadu.com: domain of kyle@kyleam.com designates 173.228.157.52 as permitted sender) smtp.mailfrom=kyle@kyleam.com X-Spam-Score: 2.50 X-TUID: NQ6hS0qxyTL8 I've been unable to use piem-am a few times because the attached patch was text/plain, but piem-notmuch-am-ready-mbox and piem-gnus-am-ready-mbox consider only text/x-diff and text/x-patch. [1/4] gnus: Prefer mm-handle-media-type over direct access [2/4] gnus, notmuch: Share "attachment is patch?" logic [3/4] Use when-let in a few more spots [4/4] gnus, notmuch: Consider text/plain patch attachments piem-gnus.el | 51 ++++++++++++++++++++++++------------------------- piem-notmuch.el | 24 +++++++++++------------ piem.el | 9 +++++++++ 3 files changed, 46 insertions(+), 38 deletions(-) base-commit: 88b445e0e10b4c59f385989218a4f05824da2b75 --=20 2.29.2