Re: [bug] white space in Newsgroups: line
Troy Piggins <[email protected]>
| Newsgroups | gmane.network.slrn.user |
|---|---|
| Message-ID | <[email protected]> |
* Troy Piggins is quoted & my replies are inline below :
> * Peter J Ross is quoted & my replies are inline below :
> > Google Groups wrongly inserts white space into the Newsgroups: line, e.g.
> > Newsgroups: alt.foo, alt.bar, alt.foo.bar which, according to a consensus
> > of everybody from net.gods like Russ Allbery to net.nobodies like me, fails
> > to comply with RFC 1036 ("Multiple newsgroups may be specified, separated
> > by a comma." It's agreed that *only* a comma is a valid separator.)
> >
> > Most newsreaders, including Outlook Express, Thunderbird and Forte Agent,
> > remove such white space from the Newsgroups: line, but slrn pre0.9.9-77
> > doesn't.
> >
> > My local server/proxy, Leafnode2, rightly rejects my replies to crossposted
> > Google-Groups articles because of the white space.
> >
> > I hope this isn't too dfficult to fix. As a temporary workaround, I'm using
> > this in my .vimrc:
> >
> > autocmd VimEnter .followup :silent! :1s/\([^:]\) \+/\1/g
> >
> > But other slrn users are presumably sending broken articles, and some of
> > them are presumably using text editors that don't allow such workarounds as
> > mine to be applied.
>
> Peter! Thankyou! I have also noticed this recently. I have been
> attempting, on and off, to figure out a way in vim to do this. Even posted a
> question in comp.editors recently. I'm not too savvy with ex commands.
>
> So thanks again. I'll use your method until GG sorts this out, or something
> else comes along.
Sorry to followup my own message. Was just about to add your autocmd line
above into my .vimrc.
My approach was going to search the first paragraph for a line starting with
"^Newsgroups: ", then address the spaces issue after that. Would that be a
better approach, or is yours foolproof?
--
Troy Piggins | http://piggo.com/~troy/slrn ___ | __ __
* Currently using slrn pre0.9.9-77 |___ | |/ |/ |
* Try it: ___| | | | |
$ svn co https://slrn.svn.sourceforge.net/svnroot/slrn/trunk slrn
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/