🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #245241

Re: [slrn] PING: gvim users -- need help with word wrap

#245241
From: W. Citoan
Date: Sun, 03 Apr 2011 12:47
29 lines
2341 bytes
naughtypine wrote:
>  Been away from slrn for a while and am trying to get things back the way
>  I had 'em.  Running into problems with word wrap...
> 
>  In my slrnrc I have the following:
> 
>  #v+
>  set editor_command "gvim -f +'/^$/ +1' +'set comments=nb:> ' +noh +'set tw=72' +%d '%s'"
>  #v-
> 
>  I'm pretty sure that Blinky gave me this at one point.  IIRC, when gvim
>  was invoked to followup, it would automagically rewrap long lines in the
>  quoted message.
> 
>  This no longer works and has me stumped.

In addition to the command line arguments, gvim is also controlled by
the .vimrc file.  If that was your previous editor_command, than your
.vimrc has changed.

Try the following which adds autowrap options:
#v+
set editor_command "gvim -f +'/^$/ +1' +'set formatoptions=tcq' +'set comments=nb:> ' +noh +'set tw=72' +%d '%s'"
#v-

- W. Citoan
-- 
The best companions are the best books.
-- [Lord] Chesterfield
Technical Details
Message-ID: <slrnipgr2i.4dg.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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!feeder.erje.net!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
References: <in8n77$pj5$1@naughtypine.eternal-september.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrnipgr2i.4dg.wcitoan@wcitoan-via.eternal-september.org>
Subject: Re: [slrn] PING: gvim users -- need help with word wrap
Date: Sun, 03 Apr 2011 12:47:23 +0000
From: "W. Citoan" <wcitoan@NOSPAM-yahoo.com>
References: <in8n77$pj5$1@naughtypine.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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!feeder.erje.net!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: A noiseless patient Spider
Lines: 29
Injection-Date: Sun, 3 Apr 2011 12:47:23 +0000 (UTC)
Injection-Info: wcitoan-via.eternal-september.org;
 posting-host="KiHespf3oRbJ7Mw+lsAG+w";
 logging-data="4507"; mail-complaints-to="abuse@eternal-september.org";
 posting-account="U2FsdGVkX19q6Seeq5V5yc+6B9dwQUnY"
User-Agent: slrn/0.9.8.1 (Win32)
X-Antivirus-Status: Clean
X-Antivirus: avast! (VPS 110403-0, 04/03/2011), Outbound message
Cancel-Lock: sha1:QEhoS941FXeUWyKOa8nJwRXM3UM=