* Re: [abraham@dina.kvl.dk: Re: CC (was: Re: kill ring menu)]
2002-05-03 8:19 ` [abraham@dina.kvl.dk: Re: CC (was: Re: kill ring menu)] Paul Michael Reilly
@ 2002-05-03 8:25 ` Simon Josefsson
2002-05-03 10:45 ` Per Abrahamsen
2002-05-03 12:12 ` Miles Bader
2 siblings, 0 replies; 9+ messages in thread
From: Simon Josefsson @ 2002-05-03 8:25 UTC (permalink / raw)
Cc: rms, emacs-devel
On Fri, 3 May 2002, Paul Michael Reilly wrote:
> While this is a News feature from what I can discern, I will implement
> it in the Rmail reply command with the following semantics:
>
> If either a Mail-Followup-To or Mail-Copies-To header exists in the
> message being replied to AND the user has not edited the default
> reply-to list at mail-send time, then the followup header(s) will be
> processed and any mailboxes indicated by the header(s) will be
> included in the reply. "never" and "nobody" will be treated as
> synonymous, as will "always" and "poster".
>
> If the User edits the reply-to list, then one could argue that it is
> the wish of the replier to ignore the wishes of the poster. One
> could also argue that the intent of the original poster should be
> heeded but I know that if I prune a reply-to list and my mail agent
> chose to send the message to someone(s) I did not explicitly bless, I
> would be mightily pissed.
>
> Would anyone care to make a case for adding custom variable support to
> tailor the behavior further? I'm inclined not to do so if only to
> keep the feature simple.
>
> Other comments?
Only one: What about re-using the logic and code from message.el instead
of re-implementing it?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [abraham@dina.kvl.dk: Re: CC (was: Re: kill ring menu)]
2002-05-03 8:19 ` [abraham@dina.kvl.dk: Re: CC (was: Re: kill ring menu)] Paul Michael Reilly
2002-05-03 8:25 ` Simon Josefsson
@ 2002-05-03 10:45 ` Per Abrahamsen
2002-05-03 11:57 ` Miles Bader
2002-05-03 12:12 ` Miles Bader
2 siblings, 1 reply; 9+ messages in thread
From: Per Abrahamsen @ 2002-05-03 10:45 UTC (permalink / raw)
Cc: rms, emacs-devel
Paul Michael Reilly <pmr@pajato.com> writes:
> While this is a News feature from what I can discern, I will implement
> it in the Rmail reply command with the following semantics:
Mail-Followup-To is a mail feature only.
Mail-Copies-To was intended for mail and news, but only gained
popularity for news. Given the existence of MFT I don't think it is
important to support.
> If either a Mail-Followup-To or Mail-Copies-To header exists in the
> message being replied to AND the user has not edited the default
> reply-to list at mail-send time, then the followup header(s) will be
> processed and any mailboxes indicated by the header(s) will be
> included in the reply. "never" and "nobody" will be treated as
> synonymous, as will "always" and "poster".
Eh, I don't know what you mean by the "default reply-to". If it is
what is presented to the user by default in the "To" and "CC" fields
when composing a reply, I think MFT and MCT should change the "default
reply-to".
Basically, both headers only affect the behaviour of the "wide reply"
command. If you make a wide reply to a message where Mail-Followup-To
is set, the "To" field will be set to the specified adress, and "CC"
will be empty. If you make a wide reply to a message where
Mail-Copies-To is set, that adress will be added to the default CC,
along with any other adresses that would usually be there. Unless the
value is never/nobody, in which case the poster will be removed from
the default CC field.
> If the User edits the reply-to list, then one could argue that it is
> the wish of the replier to ignore the wishes of the poster.
Gnus will give a warning in that case.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [abraham@dina.kvl.dk: Re: CC (was: Re: kill ring menu)]
2002-05-03 10:45 ` Per Abrahamsen
@ 2002-05-03 11:57 ` Miles Bader
2002-05-03 12:51 ` Per Abrahamsen
0 siblings, 1 reply; 9+ messages in thread
From: Miles Bader @ 2002-05-03 11:57 UTC (permalink / raw)
Cc: pmr, rms, emacs-devel
Per Abrahamsen <abraham@dina.kvl.dk> writes:
> Mail-Copies-To was intended for mail and news, but only gained
> popularity for news. Given the existence of MFT I don't think it is
> important to support.
Just support it; it's not very hard. Just use its contents [or nothing,
if the value is `nobody' or `never'] instead of Reply-To:/From: when
doing a followup, before merging with To:/CC:.
-Miles
--
Suburbia: where they tear out the trees and then name streets after them.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [abraham@dina.kvl.dk: Re: CC (was: Re: kill ring menu)]
2002-05-03 11:57 ` Miles Bader
@ 2002-05-03 12:51 ` Per Abrahamsen
2002-05-03 13:00 ` Miles Bader
0 siblings, 1 reply; 9+ messages in thread
From: Per Abrahamsen @ 2002-05-03 12:51 UTC (permalink / raw)
Cc: pmr, rms, emacs-devel
Miles Bader <miles@gnu.org> writes:
> Per Abrahamsen <abraham@dina.kvl.dk> writes:
>> Mail-Copies-To was intended for mail and news, but only gained
>> popularity for news. Given the existence of MFT I don't think it is
>> important to support.
>
> Just support it; it's not very hard. Just use its contents [or nothing,
> if the value is `nobody' or `never'] instead of Reply-To:/From: when
> doing a followup, before merging with To:/CC:.
That is not what it means. If the value is not nobody/never, it
should be used _in addition to_ the content of Reply-To/From.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [abraham@dina.kvl.dk: Re: CC (was: Re: kill ring menu)]
2002-05-03 12:51 ` Per Abrahamsen
@ 2002-05-03 13:00 ` Miles Bader
0 siblings, 0 replies; 9+ messages in thread
From: Miles Bader @ 2002-05-03 13:00 UTC (permalink / raw)
Cc: pmr, rms, emacs-devel
Per Abrahamsen <abraham@dina.kvl.dk> writes:
> > Just support it; it's not very hard. Just use its contents [or nothing,
> > if the value is `nobody' or `never'] instead of Reply-To:/From: when
> > doing a followup, before merging with To:/CC:.
>
> That is not what it means. If the value is not nobody/never, it
> should be used _in addition to_ the content of Reply-To/From.
OK. Anyway, the point is the same -- it's not hard to implement.
-Miles
--
Run away! Run away!
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [abraham@dina.kvl.dk: Re: CC (was: Re: kill ring menu)]
2002-05-03 8:19 ` [abraham@dina.kvl.dk: Re: CC (was: Re: kill ring menu)] Paul Michael Reilly
2002-05-03 8:25 ` Simon Josefsson
2002-05-03 10:45 ` Per Abrahamsen
@ 2002-05-03 12:12 ` Miles Bader
2002-05-03 12:57 ` Per Abrahamsen
2 siblings, 1 reply; 9+ messages in thread
From: Miles Bader @ 2002-05-03 12:12 UTC (permalink / raw)
Cc: rms, emacs-devel
Paul Michael Reilly <pmr@pajato.com> writes:
> If either a Mail-Followup-To or Mail-Copies-To header exists in the
> message being replied to AND the user has not edited the default
> reply-to list at mail-send time, then the followup header(s) will be
> processed and any mailboxes indicated by the header(s) will be
> included in the reply. "never" and "nobody" will be treated as
> synonymous, as will "always" and "poster".
It's a bit hard to tell from the above paragraph the actual algorithm you
intend to use, but here's what I gather is correct way to calculate
outgoing addresses for followups (the MFT parts are based on Dan
Bernstein's FAQ about MFT <http://cr.yp.to/proto/replyto.html>):
If the message has a Mail-Followup-To: header, then
outgoing To: <= incoming Mail-Followup-To:
outgoing CC: <= empty
;; you can also optionally add an outgoing Mail-Followup-To: if
;; the current user is on the mailing list; it should probably just
;; be a copy of the incoming Mail-Followup-To: in that case.]
else if the message has a Mail-Copies-To: header, then
if the MCT header contains `never' or `nobody', then
outgoing To: <= incoming To:
outgoing CC: <= incoming CC:
else if the MCT header contains `always' or `poster', then
;; this is the same as the default (no MCT/MFT) case
outgoing To: <= incoming Reply-To:/From:
outgoing CC: <= incoming CC: + To:
else (the MCT header contains some addresses)
outgoing To: <= incoming Mail-Copies-To:
outgoing CC: <= incoming CC: + To:
else (the message has no MFT/MCT header)
outgoing To: <= incoming Reply-To:/From:
outgoing CC: <= incoming CC: + To:
This is all calculated when generating the message to insert into the
reply buffer, before popping it up and letting the user type into it.
There doesn't seem to be any need to detect whether the user modified a
header or anything like that.
-Miles
--
I'm beginning to think that life is just one long Yoko Ono album; no rhyme
or reason, just a lot of incoherent shrieks and then it's over. --Ian Wolff
^ permalink raw reply [flat|nested] 9+ messages in thread