* bug#29309: 25.2; Gnus: please make message-from-style 'angles the only option
@ 2017-11-15 18:37 Michael Stapelberg
2017-11-15 19:03 ` Robert Pluim
2018-04-11 21:19 ` Lars Ingebrigtsen
0 siblings, 2 replies; 8+ messages in thread
From: Michael Stapelberg @ 2017-11-15 18:37 UTC (permalink / raw)
To: 29309
Package: emacs,gnus
Currently, the custom option message-from-style can be one of:
'parens, resulting in e.g. “stapelberg@debian.org (Michael Stapelberg)”
'angles, resulting in e.g. “Michael Stapelberg <stapelberg@debian.org>”
However, https://tools.ietf.org/html/rfc2822#section-3.4 (from 2001)
states:
> 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. Also, because some legacy implementations interpret
> the comment, comments generally SHOULD NOT be used in address fields
> to avoid confusing such implementations.
Let us please make Gnus a better citizen by following the RFC’s
recommendation and removing the legacy form.
Thanks,
--
Best regards,
Michael
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#29309: 25.2; Gnus: please make message-from-style 'angles the only option
2017-11-15 18:37 bug#29309: 25.2; Gnus: please make message-from-style 'angles the only option Michael Stapelberg
@ 2017-11-15 19:03 ` Robert Pluim
2017-11-15 20:00 ` Michael Stapelberg
2018-04-11 21:19 ` Lars Ingebrigtsen
1 sibling, 1 reply; 8+ messages in thread
From: Robert Pluim @ 2017-11-15 19:03 UTC (permalink / raw)
To: Michael Stapelberg; +Cc: 29309
Michael Stapelberg <stapelberg@debian.org> writes:
> Package: emacs,gnus
>
> Currently, the custom option message-from-style can be one of:
>
> 'parens, resulting in e.g. “stapelberg@debian.org (Michael Stapelberg)”
>
> 'angles, resulting in e.g. “Michael Stapelberg <stapelberg@debian.org>”
>
> However, https://tools.ietf.org/html/rfc2822#section-3.4 (from 2001)
> states:
>
>> 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. Also, because some legacy implementations interpret
>> the comment, comments generally SHOULD NOT be used in address fields
>> to avoid confusing such implementations.
>
> Let us please make Gnus a better citizen by following the RFC’s
> recommendation and removing the legacy form.
I see no reason to remove the legacy form, unless you want to go to
the trouble of writing code to nag people to change their setup. You
might have an argument for changing the default to be 'angles though.
Robert
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#29309: 25.2; Gnus: please make message-from-style 'angles the only option
2017-11-15 19:03 ` Robert Pluim
@ 2017-11-15 20:00 ` Michael Stapelberg
2017-11-15 20:20 ` Robert Pluim
0 siblings, 1 reply; 8+ messages in thread
From: Michael Stapelberg @ 2017-11-15 20:00 UTC (permalink / raw)
To: Robert Pluim; +Cc: 29309
On Wed, Nov 15, 2017 at 8:03 PM, Robert Pluim <rpluim@gmail.com> wrote:
> Michael Stapelberg <stapelberg@debian.org> writes:
>
>> Package: emacs,gnus
>>
>> Currently, the custom option message-from-style can be one of:
>>
>> 'parens, resulting in e.g. “stapelberg@debian.org (Michael Stapelberg)”
>>
>> 'angles, resulting in e.g. “Michael Stapelberg <stapelberg@debian.org>”
>>
>> However, https://tools.ietf.org/html/rfc2822#section-3.4 (from 2001)
>> states:
>>
>>> 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. Also, because some legacy implementations interpret
>>> the comment, comments generally SHOULD NOT be used in address fields
>>> to avoid confusing such implementations.
>>
>> Let us please make Gnus a better citizen by following the RFC’s
>> recommendation and removing the legacy form.
>
> I see no reason to remove the legacy form, unless you want to go to
> the trouble of writing code to nag people to change their setup. You
> might have an argument for changing the default to be 'angles though.
I don’t follow. Why would people need to change their setup? We could
just discard the option altogether and always use 'angles, couldn’t
we?
--
Best regards,
Michael
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#29309: 25.2; Gnus: please make message-from-style 'angles the only option
2017-11-15 20:00 ` Michael Stapelberg
@ 2017-11-15 20:20 ` Robert Pluim
2017-11-15 21:35 ` Michael Stapelberg
0 siblings, 1 reply; 8+ messages in thread
From: Robert Pluim @ 2017-11-15 20:20 UTC (permalink / raw)
To: Michael Stapelberg; +Cc: 29309
Michael Stapelberg <stapelberg@debian.org> writes:
>>> Let us please make Gnus a better citizen by following the RFC’s
>>> recommendation and removing the legacy form.
>>
>> I see no reason to remove the legacy form, unless you want to go to
>> the trouble of writing code to nag people to change their setup. You
>> might have an argument for changing the default to be 'angles though.
>
> I don’t follow. Why would people need to change their setup? We could
> just discard the option altogether and always use 'angles, couldn’t
> we?
Ah, you want to remove the configuration variable entirely. I think
we'd have to obsolete it first, wait for a release cycle, and then
maybe remove it. Removing variables tends not to be fast for Emacs.
Robert
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#29309: 25.2; Gnus: please make message-from-style 'angles the only option
2017-11-15 20:20 ` Robert Pluim
@ 2017-11-15 21:35 ` Michael Stapelberg
2017-11-15 22:08 ` Robert Pluim
0 siblings, 1 reply; 8+ messages in thread
From: Michael Stapelberg @ 2017-11-15 21:35 UTC (permalink / raw)
To: Robert Pluim; +Cc: 29309
On Wed, Nov 15, 2017 at 9:20 PM, Robert Pluim <rpluim@gmail.com> wrote:
> Michael Stapelberg <stapelberg@debian.org> writes:
>
>>>> Let us please make Gnus a better citizen by following the RFC’s
>>>> recommendation and removing the legacy form.
>>>
>>> I see no reason to remove the legacy form, unless you want to go to
>>> the trouble of writing code to nag people to change their setup. You
>>> might have an argument for changing the default to be 'angles though.
>>
>> I don’t follow. Why would people need to change their setup? We could
>> just discard the option altogether and always use 'angles, couldn’t
>> we?
>
> Ah, you want to remove the configuration variable entirely. I think
> we'd have to obsolete it first, wait for a release cycle, and then
> maybe remove it. Removing variables tends not to be fast for Emacs.
Could we make it ineffective before removing it entirely? I think
making it ineffective could be done right away.
--
Best regards,
Michael
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#29309: 25.2; Gnus: please make message-from-style 'angles the only option
2017-11-15 21:35 ` Michael Stapelberg
@ 2017-11-15 22:08 ` Robert Pluim
0 siblings, 0 replies; 8+ messages in thread
From: Robert Pluim @ 2017-11-15 22:08 UTC (permalink / raw)
To: Michael Stapelberg; +Cc: 29309
Michael Stapelberg <stapelberg@debian.org> writes:
> On Wed, Nov 15, 2017 at 9:20 PM, Robert Pluim <rpluim@gmail.com> wrote:
>> Ah, you want to remove the configuration variable entirely. I think
>> we'd have to obsolete it first, wait for a release cycle, and then
>> maybe remove it. Removing variables tends not to be fast for Emacs.
>
> Could we make it ineffective before removing it entirely? I think
> making it ineffective could be done right away.
We could, but then people might get annoyed at us changing behaviour
without warning, hence the obsolescence phase.
Robert
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#29309: 25.2; Gnus: please make message-from-style 'angles the only option
2017-11-15 18:37 bug#29309: 25.2; Gnus: please make message-from-style 'angles the only option Michael Stapelberg
2017-11-15 19:03 ` Robert Pluim
@ 2018-04-11 21:19 ` Lars Ingebrigtsen
2018-04-15 13:36 ` Lars Ingebrigtsen
1 sibling, 1 reply; 8+ messages in thread
From: Lars Ingebrigtsen @ 2018-04-11 21:19 UTC (permalink / raw)
To: Michael Stapelberg; +Cc: 29309
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.
I agree. 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.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#29309: 25.2; Gnus: please make message-from-style 'angles the only option
2018-04-11 21:19 ` Lars Ingebrigtsen
@ 2018-04-15 13:36 ` Lars Ingebrigtsen
0 siblings, 0 replies; 8+ messages in thread
From: Lars Ingebrigtsen @ 2018-04-15 13:36 UTC (permalink / raw)
To: Michael Stapelberg; +Cc: 29309
Eli didn't like the idea of removing the possibility of generating
invalid headers, but I flipped the default to `angles' and marked the
variable as obsolete.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2018-04-15 13:36 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-15 18:37 bug#29309: 25.2; Gnus: please make message-from-style 'angles the only option Michael Stapelberg
2017-11-15 19:03 ` Robert Pluim
2017-11-15 20:00 ` Michael Stapelberg
2017-11-15 20:20 ` Robert Pluim
2017-11-15 21:35 ` Michael Stapelberg
2017-11-15 22:08 ` Robert Pluim
2018-04-11 21:19 ` Lars Ingebrigtsen
2018-04-15 13:36 ` Lars Ingebrigtsen
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.