From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms12 with LMTPS id wFh+OynOul+oWAAAsNZ9tg (envelope-from ) for ; Sun, 22 Nov 2020 20:46:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id uIFDNynOul/TZgAA1q6Kng (envelope-from ) for ; Sun, 22 Nov 2020 20:46:33 +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 A56F094021E for ; Sun, 22 Nov 2020 20:46:33 +0000 (UTC) Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 949A6100707; Sun, 22 Nov 2020 15:46:31 -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:in-reply-to:references:mime-version :content-transfer-encoding; s=sasl; bh=fXv2+jyq6dPQWw4RaDH+/u4NG 38=; b=JWdKGEx48l2kxkcRNMQ8BNHtoIqcPcXKaL85+iie2+M9NnkVE7IXgG5sV W/3XmviT/H0NVVYzUPa0OnP/ftxgNgLVMxlZFTWXnsVEHEtLCAzsOVc9eoBLjmtw 2oKITKVl7gmmh/lFva9lYEkrIinqX8e/8pgbQEGCvbGnSztJNc= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 8D33D100706; Sun, 22 Nov 2020 15:46:31 -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:in-reply-to:references:mime-version:content-transfer-encoding; s=mesmtp; bh=SJN152T4v9HM8GZqFy0heFzEZ8GwzwuvT3huP5QRpuI=; b=k+wMmJxFhWuNUCT2C5FhQaRxZpF10gsKpE0f8SHIOugRaR136b4mAUj7YLtRZ4qh54IBRKAUx2SB8rhddGR1iumEx/x7t7fz5zZt/9yIFRi7JD1UEyx47FfzVK3RuS38QgPvGHZu9UsKUH8WWkd/4KCE0QNDOtCorYlunHG1RTI= 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 0E67A1006FD; Sun, 22 Nov 2020 15:46:29 -0500 (EST) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: piem@inbox.kyleam.com Subject: [PATCH 1/4] gnus: Prefer mm-handle-media-type over direct access Date: Sun, 22 Nov 2020 15:46:06 -0500 Message-Id: <20201122204609.12604-2-kyle@kyleam.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201122204609.12604-1-kyle@kyleam.com> References: <20201122204609.12604-1-kyle@kyleam.com> MIME-Version: 1.0 X-Pobox-Relay-ID: CBB54BAC-2D03-11EB-A90B-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=JWdKGEx4; dkim=fail (body hash did not verify) header.d=kyleam.com header.s=mesmtp header.b=k+wMmJxF; 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: C4zCIQnNMP6T --- piem-gnus.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piem-gnus.el b/piem-gnus.el index 4afa747..237eeb1 100644 --- a/piem-gnus.el +++ b/piem-gnus.el @@ -69,7 +69,7 @@ (defun piem-gnus-am-ready-mbox () (delq nil (mapcar (lambda (handle) (and (listp handle) - (member (caar (cdr handle)) + (member (mm-handle-media-type handle) '("text/x-diff" "text/x-patch"= )) (with-temp-buffer (mm-display-inline handle) --=20 2.29.2