Article View: news.software.readers
Article #54098Re: mail-copies-to Issue
From: J. Moreno
Date: Mon, 15 Nov 1999 00:00
Date: Mon, 15 Nov 1999 00:00
61 lines
3581 bytes
3581 bytes
Russ Allbery <rra@stanford.edu> wrote:
> In news.software.readers, Jochem Huhmann <joh@gmx.net> writes:
>
> > So why don't define MCT exactly the same way as Cc and put the keyword
> > in another header?
>
> Because the keyword is the entire point of the header and the ability to
> put an actual address in there was added just because we could. Without
> the keyword, there's no real justification for the header existing at all.
Exactly (well, and the fact that if it had the same contents as Cc then
it'd allow sending to multiple recipients, which has pretty much been
agreed is an absolutely terrible idea).
> > All this MCT-magic puts the burden of parsing an address on the
> > newsreaders side,
>
> Nah, it's no different than what you already have to do for Followup-To.
Absolutely.
I don't know a thing about lisp, couldn't write a single line of it if
my life depending upon it (well, I bet I could write a comment), but
Jochem posted this, saying it was in message.el
;; Handle special values of Mail-Copies-To.
(when mct
(cond ((equal (downcase mct) "never")
(setq never-mct t)
(setq mct nil))
((equal (downcase mct) "always")
(setq mct (or reply-to from)))))
a few minutes of research on lisp leads me to believe that allowing
"nobody" or "poster" would take no more than modifying that to:
;; Handle special values of Mail-Copies-To.
(when mct
(cond ((or (equal (downcase mct) "never")
(equal (downcase mct) "nobody"))
(setq never-mct t)
(setq mct nil))
((or (equal (downcase mct) "always")
(equal (downcase mct) "poster"))
(setq mct (or reply-to from)))))
and even if the above is wrong (and I wouldn't bet more than a dollar on
it being right), it at least gives the idea and shows that it doesn't
take any knowledge of how to parse an address.
Doing /some/ parsing on the header would be nicely paranoid, but isn't
required -- and I'd be willing to bet considerably more than the above
mentioned dollar, that Gnus already has routines that would allow some
checking.
--
John Moreno
Technical Details
Message-ID:
<1e1c2oo.6b4b35jc3v9yN%planb@newsreaders.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.mac.comm.mbox.zip!not-for-mailReferences:
<w3qn1sjfu9z.fsf@shell.tsoft.com> <greg-1211991435420001@xana.war-of-the-worlds.org> <w3qln8349t2.fsf@shell.tsoft.com> <greg-1211991836240001@xana.war-of-the-worlds.org> <m3so2aky4s.fsf@nova.revier.com> <greg-1411990249380001@oshar.war-of-the-worlds.org> <yl9040han0.fsf@windlord.stanford.edu> <m33du8o3ia.fsf@nova.revier.com> <ylu2mo9vbz.fsf@windlord.stanford.edu> <ylogcw9uq7.fsf@windlord.stanford.edu> <m37ljjmxdw.fsf@nova.revier.com> <yl66z32uyg.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <1e1c2oo.6b4b35jc3v9yN%planb@newsreaders.com> Subject: Re: mail-copies-to Issue Date: Mon, 15 Nov 1999 00:00:00 +0000 From: planb@newsreaders.com (J. Moreno) References: <w3qn1sjfu9z.fsf@shell.tsoft.com> <greg-1211991435420001@xana.war-of-the-worlds.org> <w3qln8349t2.fsf@shell.tsoft.com> <greg-1211991836240001@xana.war-of-the-worlds.org> <m3so2aky4s.fsf@nova.revier.com> <greg-1411990249380001@oshar.war-of-the-worlds.org> <yl9040han0.fsf@windlord.stanford.edu> <m33du8o3ia.fsf@nova.revier.com> <ylu2mo9vbz.fsf@windlord.stanford.edu> <ylogcw9uq7.fsf@windlord.stanford.edu> <m37ljjmxdw.fsf@nova.revier.com> <yl66z32uyg.fsf@windlord.stanford.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.mac.comm.mbox.zip!not-for-mail X-Deja-AN: 549140020 Mail-Copies-To: nobody X-ACLA-Charter: <http://www.deja.com/msgid.xp?MID=%3Cphenix-121119981748546229@roxboro0-023.dyn.interpath.net%3E&ST=&AH=1> X-Face: ]lUBtDImSD_`E"<*ZgyJUoCT\=CdRLFX4qCMLK[xy^L7v|uX|f8`cFDd*PaH8 N*x>d^h Organization: NetNews BOFH wannabe User-Agent: MacSOUP/2.4.2 Newsgroups: news.software.readers,comp.sys.mac.comm