unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Make Message more RFC compliant
@ 2018-04-13 21:27 Lars Ingebrigtsen
  2018-04-14  6:36 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Lars Ingebrigtsen @ 2018-04-13 21:27 UTC (permalink / raw)
  To: emacs-devel

There are recentish (I mean, only a few years old) RFCs that now specify
that From addresses on the form

  From: larsi@gnus.org (Lars Ingebrigtsen)

SHOULD not be generated, because they create problems for some
recipients (*cough* Microsoft Mail *cough*):

Only this form is allowed now:

  From: Lars Ingebrigtsen <larsi@gnus.org>

Michael Stapelberg <stapelberg@debian.org> writes:

>>    Note: Some legacy implementations used the simple form where the
>>    addr-spec appears without the angle brackets, but included the name
>>    of the recipient in parentheses as a comment following the addr-spec.
>>    Since the meaning of the information in a comment is unspecified,
>>    implementations SHOULD use the full name-addr form of the mailbox,
>>    instead of the legacy form, to specify the display name associated
>>    with a mailbox.

So:

The RFC says SHOULD, so Message shouldn't have an easy way to generate
From headers that deviate from the `angles' style.

So I propose to remove the code that reacts to `message-from-style'
(i.e., always generate `angles' From headers), and mark
`message-from-style' as obsolete and note in the doc string that it's no
longer used.

Any objections?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-04-14 13:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-13 21:27 Make Message more RFC compliant Lars Ingebrigtsen
2018-04-14  6:36 ` Eli Zaretskii
2018-04-14 13:04   ` Lars Ingebrigtsen
2018-04-14 13:27     ` Eli Zaretskii
2018-04-14 13:52       ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).