Re: [bug] white space in Newsgroups: line

Peter J Ross <[email protected]>
Newsgroups gmane.network.slrn.user
Message-ID <[email protected]>
On Friday 18 January 2008 22:50:48 Troy Piggins wrote:
> > * Peter J Ross is quoted & my replies are inline below :

> > > 	autocmd VimEnter .followup :silent! :1s/\([^:]\) \+/\1/g

> 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?

I think it's foolproof, at least in vim 7.1.

But it's a workaround, not a solution.

-- 
PJR :-)



-------------------------------------------------------------------------
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.