* bug#15195: 24.3.50; message-make-in-reply-to out of compliance with RFC2822
@ 2013-08-26 21:47 Aaron Ecay
2013-08-26 22:53 ` Andreas Schwab
0 siblings, 1 reply; 3+ messages in thread
From: Aaron Ecay @ 2013-08-26 21:47 UTC (permalink / raw)
To: 15195
The `message-make-in-reply-to' function generates In-Reply-To headers
of the form:
"<msg@id> (John Smith's message of DATE)"
However, RFC2822 (pp. 22-23) states that the In-Reply-To field should
contain only 1 msg-id token (possibly more than one in some cases), but
not any other material.
The following implementation of the function inserts just the parent
message’s ID, in compliance with the RFC:
,----
| (defun message-make-in-reply-to ()
| "Return the In-Reply-To header for this message."
| (when message-reply-headers
| (mail-header-id message-reply-headers)))
`----
--
Aaron Ecay
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#15195: 24.3.50; message-make-in-reply-to out of compliance with RFC2822
2013-08-26 21:47 bug#15195: 24.3.50; message-make-in-reply-to out of compliance with RFC2822 Aaron Ecay
@ 2013-08-26 22:53 ` Andreas Schwab
2013-08-26 22:58 ` Aaron Ecay
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Schwab @ 2013-08-26 22:53 UTC (permalink / raw)
To: Aaron Ecay; +Cc: 15195
Aaron Ecay <aaronecay@gmail.com> writes:
> The `message-make-in-reply-to' function generates In-Reply-To headers
> of the form:
> "<msg@id> (John Smith's message of DATE)"
>
> However, RFC2822 (pp. 22-23) states that the In-Reply-To field should
> contain only 1 msg-id token (possibly more than one in some cases), but
> not any other material.
The other material is CFWS.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-08-26 22:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-26 21:47 bug#15195: 24.3.50; message-make-in-reply-to out of compliance with RFC2822 Aaron Ecay
2013-08-26 22:53 ` Andreas Schwab
2013-08-26 22:58 ` Aaron Ecay
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.