unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: emacs-devel@gnu.org
Subject: Make Message more RFC compliant
Date: Fri, 13 Apr 2018 23:27:17 +0200	[thread overview]
Message-ID: <87po32yeyy.fsf@mouse.gnus.org> (raw)

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




             reply	other threads:[~2018-04-13 21:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-13 21:27 Lars Ingebrigtsen [this message]
2018-04-14  6:36 ` Make Message more RFC compliant Eli Zaretskii
2018-04-14 13:04   ` Lars Ingebrigtsen
2018-04-14 13:27     ` Eli Zaretskii
2018-04-14 13:52       ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87po32yeyy.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).