Article View: news.software.readers
Article #54228Re: mail-copies-to Issue
From: Sylvan Butler
Date: Wed, 17 Nov 1999 00:00
Date: Wed, 17 Nov 1999 00:00
45 lines
2863 bytes
2863 bytes
On 16 Nov 1999 19:50:06 +0100, Jochem Huhmann <joh@gmx.net> wrote:
> * planb@newsreaders.com (J. Moreno) wrote:
> > You have implied a number of times that the keyword/address conflict
> > makes it complex.
>
>In the worst case. Gnus obviously does no parsing at all at mail
>addresses, it just lets the MTA do this. IMHO this is quite reasonable,
>because it makes things simple. Well, as long as one doesn't have to
>decide if this damned string is a keyword or an address ;-)
That is trivial, and continual reference to it is incomprehensible.
Worst case:
===================
enum{NONE,NOBODY,NEVER,ALWAYS,POSTER};
keyword=NONE;
if (!strcmpi(mct,"nobody"))
keyword=NOBODY;
else if (!strcmpi(mct,"never"))
keyword=NEVER;
else if (!strcmpi(mct,"always"))
keyword=ALWAYS;
else if (!strcmpi(mct,"poster"))
keyword=POSTER;
if (keyword==NONE) {
// handle as if mail address
} else {
// handle keywords
}
===================
Truly not worth a fuss.
sdb
--
| Sylvan Butler | Not speaking for Hewlett-Packard | sbutler-boi.hp.com |
| Watch out for my e-mail address. Thank UCE. #### change ^ to @ #### |
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. --Benjamin Franklin, 1759
"Don't Tread On Me!"
Technical Details
Message-ID:
<slrn833ud4.3vt.nospam+_no_Zs__9911@hpb13799z.zboi.hpz.com.invalid>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> <1e1c2oo.6b4b35jc3v9yN%planb@newsreaders.com> <m33du7kkfq.fsf@nova.revier.com> <1e1cyt2.1sh00epg0r4u8N%planb@newsreaders.com> <m3vh722rvl.fsf@nova.revier.com>Show Full Headers
Complete Article Headers
Message-ID: <slrn833ud4.3vt.nospam+_no_Zs__9911@hpb13799z.zboi.hpz.com.invalid> Subject: Re: mail-copies-to Issue Date: Wed, 17 Nov 1999 00:00:00 +0000 From: nospam+_no_Zs__9911@hpb13799z.zboi.hpz.com.invalid (Sylvan Butler) 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> <1e1c2oo.6b4b35jc3v9yN%planb@newsreaders.com> <m33du7kkfq.fsf@nova.revier.com> <1e1cyt2.1sh00epg0r4u8N%planb@newsreaders.com> <m3vh722rvl.fsf@nova.revier.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-mail X-Deja-AN: 549509681 X-Original-NNTP-Posting-Host: hpb13799.boi.hp.com Mail-Copies-To: never X-Complaints-To: usenet@news.boi.hp.com X-Trace: hpbs1500.boi.hp.com 942799674 26034 15.98.137.41 (17 Nov 1999 00:47:54 GMT) Organization: Hewlett-Packard User-Agent: slrn/0.9.5.7 (Linux) NNTP-Posting-Date: 17 Nov 1999 00:47:54 GMT Newsgroups: news.software.readers,comp.sys.mac.comm