🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #242010

Re: Quotelength with slrn and vim

#242010
From: Bastian Erdnuess
Date: Sat, 07 Aug 2010 21:17
33 lines
2643 bytes
Mike Yetto wrote:

> houghi <houghi@houghi.org.invalid> writes and having writ moves on.
>> Mike Yetto wrote:
>>>> 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.
>>
>> Sorry, "By hand" I mean I can do it that way with gqap. What I am
>> looking for is that _all_ of the quoted text on a reply is already
>> correctely cropped.
>
> I was a little surprised that I might be the one showing you that.  As
> for having it done on loading of the file, well, if someone else
> knows, pass it on.

I didn't give it a test, but something like

  set editor "vim '%s' +':norm Ggqap' +%c"

in slrnrc could help.

Cheers
Bastian
Technical Details
Message-ID: <slrni5rjbu.7ut.earthnut@wh36-e604.wh36.uni-karlsruhe.de>
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!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!newsfeed00.sul.t-online.de!t-online.de!kanaga.switch.ch!switch.ch!news.belwue.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mail
References: <slrni5qtcf.d1a.houghi@penne.houghi> <slrn20100807125136.330.twooffive@may.eternal-september.org> <slrni5r6b3.d1a.houghi@penne.houghi> <slrn20100807145004.58.twooffive@may.eternal-september.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrni5rjbu.7ut.earthnut@wh36-e604.wh36.uni-karlsruhe.de>
Subject: Re: Quotelength with slrn and vim
Date: Sat, 07 Aug 2010 21:17:50 +0000
From: Bastian Erdnuess <earthnut@web.de>
References: <slrni5qtcf.d1a.houghi@penne.houghi> <slrn20100807125136.330.twooffive@may.eternal-september.org> <slrni5r6b3.d1a.houghi@penne.houghi> <slrn20100807145004.58.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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!newsfeed00.sul.t-online.de!t-online.de!kanaga.switch.ch!switch.ch!news.belwue.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mail
Newsgroups: news.software.readers
Organization: University of Karlsruhe, Germany
Lines: 33
NNTP-Posting-Host: wh36-e604.wh36.uni-karlsruhe.de
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news2.rz.uni-karlsruhe.de 1281215870 11711 172.20.230.220 (7 Aug 2010
X-Complaints-To: abuse@uni-karlsruhe.de
NNTP-Posting-Date: Sat, 7 Aug 2010 21:17:50 +0000 (UTC)
User-Agent: slrn/0.9.9p1 (Darwin)