🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #242001

Re: Quotelength with slrn and vim

#242001
From: Mike Yetto
Date: Sat, 07 Aug 2010 16:59
43 lines
3089 bytes
houghi <houghi@houghi.org.invalid> writes and having writ moves on.
> Not strictly a newsreader issue, but perhaps people here will have more
> experience with this issue.
>
> When I do a reply I do a cmplete reply as it is. However when doing a
> reply to people who have not formatted their length correctly, or if
> there are many quotes, the line length can become too long.
>
> e.g.
>>>>>> lorem ipsum dolor sit amet consetetur sadipscing elitr sed diam nonumy
>
> instead of
>
>>>>>> lorem ipsum dolor sit amet consetetur sadipscing elitr sed diam
>>>>>> nonumy
>
> I am able to do it by hand, but I am unable to do it automagically when
> the quote opens. I have two questions:
> 1) Perhaps most importand, is it wanted to restrict the width in the
> quoted text. If not, then all is well.
> 2) If wanted, how dod I do this? I have looked at several web pages and
> I know it has something to do with ftplugin, but somehow I can not get
> it to work.
>

In vim place the pointer somewhere in the paragraph you want to
reformat and press _<esc>gqap_ which will handle the quote marks
quite nicely.  You might want to add a blank line where you want
the paragraph to end as it might get carried away.

For what it's worth I start the editor with this line from
slrn.rc.

#v+
set editor_command "gvim -f '+set tw=65' '%s' 2>>$HOME/.xsession-errors"
#v-

The "+set tw=65" is for the line width.

Mike "no specific reason for the *g*vim" Yetto
-- 
In theory, theory and practice are the same.
In practice they are not.
Technical Details
Message-ID: <slrn20100807125136.330.twooffive@may.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.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.buerger.net!newsfeed.datemas.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
References: <slrni5qtcf.d1a.houghi@penne.houghi>

Show Full Headers
Complete Article Headers
Message-ID: <slrn20100807125136.330.twooffive@may.eternal-september.org>
Subject: Re: Quotelength with slrn and vim
Date: Sat, 07 Aug 2010 12:59:44 -0400
From: Mike Yetto <myetto1@nycap.invalid>
References: <slrni5qtcf.d1a.houghi@penne.houghi>
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.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.buerger.net!newsfeed.datemas.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: slrn Mafia / Xnews Tong (emeritus)
Lines: 43
Injection-Date: Sat, 7 Aug 2010 17:00:05 +0000 (UTC)
Injection-Info: may.eternal-september.org;
 posting-host="LagJXPyKy0Sy/aUTUT+6gw";
 logging-data="5773"; mail-complaints-to="abuse@eternal-september.org";
 posting-account="U2FsdGVkX1+8ifJUtb1WN6E7H/0pFuA7C4oYOfkNT08="
User-Agent: slrn/pre1.0.0-18/co (Kubuntu 10.04; 64bit)
X-The-Usenet-Improvement-Project: http://twovoyagers.com/improve-usenet.org/
X-No-Bananas: Yes
X-Face: }3JWz.qUmO(s6)fi^Y)1eP$!$:`/OCi6lO:7>\e0SB{-VT^+J5DWXfTybc>y~aVli{wXD
 m/.j\Al('YgA3HNrxK-oL@; 2*[QCBW/p"j'~oe7H~MG'=-W<y-rh8h2TY3\Iq*U\4Z97!Y6f)pxHQ
 H,
Cancel-Lock: sha1:w0VwRcatFITvPg490XTFgwdPB/w=
 sha1:sLrTcFX5xuuOjrmitPFVAXuT1pY=