From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:1004:224b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id sMKPB8ToTmQH1AAAkFu2QA (envelope-from ); Mon, 01 May 2023 00:16:36 +0200 Received: from mta0.migadu.com ([2001:41d0:1004:224b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gBiDB8ToTmRmRAAA9RJhRA (envelope-from ); Mon, 01 May 2023 00:16:36 +0200 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=1682892996; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ezJU+PCoZBfk7PxfnKwlyQLBPzTYhIjvF0as2PvL/Vs=; b=cQdeJ3q/f0LzF3ehpFAWOLg+i7gYBDyYjobNkGhsDuufAVWPOPT/235VOO74bZAMcmwhTh xa2KE2pVGSOCA6QEBejoNp8w8zN6vADCecpGX8gySd8G+IEYWkwSRCgFaGcitJ9hyfwJ3H USeZ/AzGtYaDtwr5RHWpiWK1jF8nqdG3p+OnMx1t9RITY7QC+OtydgbBcPGnPyFE9ruF5q mVcaUeCxt09L0qdYwCdnymD3nQSZKLSrihmkiCUqB72jHqtotoIWvaddtqYwoSJZlGcJjF 9XfDR4m2lWPR6HDLlHegEagdH2dbIhjkhMwK3OK/p78CNPOFnSgT3Z7QJAa+5Q== From: Kyle Meyer To: piem@inbox.kyleam.com Subject: [PATCH 4/4] Switch remaining Message-Id headers to Message-ID Date: Sun, 30 Apr 2023 18:15:52 -0400 Message-Id: <20230430221552.251335-5-kyle@kyleam.com> In-Reply-To: <20230430221552.251335-1-kyle@kyleam.com> References: <20230430221552.251335-1-kyle@kyleam.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-TUID: /GGnerGY7w0K The two previous commits updated the piem-add-message-id-header functionality for git.git's change from Message-Id to Message-ID. Updates a couple of remaining spots to use Message-ID for consistency. --- piem.el | 2 +- tests/piem-rmail-tests.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/piem.el b/piem.el index 01985f0e..abc87b10 100644 --- a/piem.el +++ b/piem.el @@ -759,7 +759,7 @@ (defun piem--write-mbox-to-maildir (maildir-directory) (save-excursion (message-narrow-to-head-1) (message-fetch-field "message-id" t))) - (error "Message lacks Message-Id header"))))))) + (error "Message lacks Message-ID header"))))))) (cl-incf n-skipped) (let ((case-fold-search nil)) (while (re-search-forward diff --git a/tests/piem-rmail-tests.el b/tests/piem-rmail-tests.el index f56e2f26..7ee0a553 100644 --- a/tests/piem-rmail-tests.el +++ b/tests/piem-rmail-tests.el @@ -38,7 +38,7 @@ (defvar piem-rmail-tests-mbox-text "\ Cc: i@inbox.example.com Subject: Re: test Date: Sun, 23 May 2021 02:26:51 -0400 -Message-Id: <456@example.com> +Message-ID: <456@example.com> In-Reply-To: <123@example.com> References: <123@example.com> -- 2.39.2