Article View: news.software.readers
Article #240964Re: slrn editor_command error
From: W. Citoan
Date: Tue, 18 May 2010 01:57
Date: Tue, 18 May 2010 01:57
38 lines
2546 bytes
2546 bytes
narke wrote:
> On 2010-05-17, andrew <andrew@skamandros.invalid> wrote:
> > On 2010-05-17, narke <narkewoody@gmail.com> wrote:
> >
> >> I've found the cause. I cannot use '...', I should rather use
> >> \"set tw=72\". Because slrn and gvim are running in Windows
> >> system.
> >
> > On my own copy of slrn under windows 7 I call gvim from slrn.rc as
> > follows:
> >
> > set editor_command "C:/Vim/vim72/gvim +%d %s"
> >
> > and place the following in _vimrc:
> >
> > set textwidth=70
>
> Most time, I use gvim for programming, so set 'tw' in a global way
> makes no sense to me :)
Define it for the slrn files only. Example from my _vimrc file:
augroup filetype
autocmd BufNewFile,BufRead *.txt set filetype=text
autocmd BufNewFile,BufRead followup.txt set filetype=mail
autocmd BufNewFile,BufRead article.txt set filetype=mail
augroup END
autocmd FileType mail set formatoptions=tcq textwidth=72 comments=n:>,n::,n:??,n:]
The first 5 lines the slrn followup & article files (for default Windows
names) as mail type. The last line defines settings specific for mail
type files.
- W. Citoan
--
Abandon hope, all ye who enter here.
-- Dante
Technical Details
Message-ID:
<slrnhv3t0d.32g.wcitoan@wcitoan-via.eternal-september.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.k-dsl.de!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mailReferences:
<slrnhv1cng.510.narkewoody@cnzuhnb639.ap.bm.net> <85c033FcevU1@mid.individual.net> <slrnhv1lah.52k.narkewoody@cnzuhnb639.ap.bm.net> <20100518003109.643@skamandros.andrews-corner.org> <rhlIn.80797$x54.19250@newsfe10.ams2>Show Full Headers
Complete Article Headers
Message-ID: <slrnhv3t0d.32g.wcitoan@wcitoan-via.eternal-september.org> Subject: Re: slrn editor_command error Date: Tue, 18 May 2010 01:57:34 +0000 From: "W. Citoan" <wcitoan@NOSPAM-yahoo.com> References: <slrnhv1cng.510.narkewoody@cnzuhnb639.ap.bm.net> <85c033FcevU1@mid.individual.net> <slrnhv1lah.52k.narkewoody@cnzuhnb639.ap.bm.net> <20100518003109.643@skamandros.andrews-corner.org> <rhlIn.80797$x54.19250@newsfe10.ams2> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.k-dsl.de!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail Newsgroups: news.software.readers Organization: A noiseless patient Spider Lines: 38 Injection-Date: Tue, 18 May 2010 01:57:34 +0000 (UTC) Injection-Info: wcitoan-via.eternal-september.org; posting-host="E8m9gI7mCg9/zFgTStGeHg"; logging-data="6703"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18T+bAwWf9esmIP8UaGoSbi" User-Agent: slrn/0.9.8.1 (Win32) X-Antivirus-Status: Clean X-Antivirus: avast! (VPS 100517-1, 05/17/2010), Outbound message Cancel-Lock: sha1:ogfyVTAt9ljzTbmHAVfo2nCzkxs=