🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #128614

Re: SLRN: choice of editor and word wrapper

#128614
From: Mike Vanecek
Date: Tue, 15 Jul 2003 00:47
70 lines
3737 bytes
On Mon, 14 Jul 2003 17:49:33 GMT, Steve W wrote:
> On 14 Jul 2003 12:37:30 -0500, Mike Vanecek <MikeV99@privacy.net> wrote:
>> On Mon, 14 Jul 2003 12:28:44 GMT, Steve W wrote:
>>> Thanks for the explanation and a couple of minor corrections below.
>>> 
>>> On 14 Jul 2003 06:35:33 GMT, Blinky the Shark <no.spam@box.invalid>
>>> wrote:
>>>> Mike Vanecek wrote:
>>>> 
>>>>> On Mon, 14 Jul 2003 02:00:35 GMT, SINNER wrote:
>>>>>> Andrew Preater Wrote in news.software.readers, on Sun, 13 Jul 2003
>>>>>> 18:57:21 +0100:
>>>> 
>>>>>> [...]
>>>> 
>>>>>>>> you can SHIFT-V which will put you in visual mode and select full
>>>>>>>> lines and then SHIFT-Q to re wrap poorly wrapped text.
>>>> 
>>>>>>> I go for good old gqap or gqip.  I recall some discussion in n.s.r
>>>>>>> about reformatting everything in a message body (i.e. not signature
>>>>>>> or headers) in vim.  This was what was suggested for your vimrc:
>>>> 
>>>>>>> map <f5> gg/^$<CR>V/^-- $<CR>{gq`^
>>>> 
>>>>> Got an error when I tried to use it. Would someone please decode the
>>>>> map. I tried to debug it, but obviously did not understand the map
>>>>> syntax in spite of reading man.
>>>> 
>>>> gg   go to first line
>>>> 
>>>> /    search for
>>>> 
>>>> ^$   a line with thing but the cf/lf  (nothing between start and end)
>>>> 
>>>> V    switch to visual mode, line basis
>>>> 
>>>> /    search for 
>> 
>> This search /^-- $<CR> is failing with a pattern not found error. Also,
>> what happens, as in this message, the pattern -- is used in the message
>> body for other than a signature?
> 
> matches if the only 3 charaters on the line are "-- "
> 
>> 
>> I have to use lowercase v to switch to visual mode since uppercase V
>> starts a spell check. I guess I could map it to <f8> and then uppercase
>> V would be available for visual mode, line basis.

I changed it so that <f8> now calls the spell checker with leaves me the
ability to use shift V.


>> 
>> Still, I have having problems with the above search combination.
>> 
>>>> 
>>>> --[space]  a legal sig delimiter (-- ) with nothing else on the line
>> 
>> Can something else be used?  Why does my search fail?
> 
> Perhaps because you have no sig to match?

Boy, do I feel dumb. I normally do not append a signature to my posts
hence, as is the case at the bottom of this message, no signature
exists. I guess I need to go see how to generate a sig line so that I
can use the map to look for it.

Thanks.
Technical Details
Message-ID: <37vbu-7m5.ln1@news.invalid.99computer>
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!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!216.218.192.242!news.he.net!newsfeed1.easynews.com!easynews.com!easynews!c03.atl99!news.webusenet.com!news3.optonline.net!newscene!novia!novia!sequencer.newscene.com!not-for-mail
References: <slrnbh2gru.1f2.lhaber@lawrence-habers-computer.local> <1368u-cq5.ln1@news.gates_of_hell.INVALID> <slrnbh37c1.2ts.preater@preater.com> <jef9u-ji2.ln1@news.gates_of_hell.INVALID> <e7n9u-ac2.ln1@news.invalid.99computer> <slrnbh4jpl.25r.no.spam@adam.blinkynet.net> <slrnbh58fs.qac.s.wal@verizon.net> <o56bu-lh3.ln1@news.invalid.99computer> <slrnbh5r9d.qrn.s.wal@verizon.net>

Show Full Headers
Complete Article Headers
Message-ID: <37vbu-7m5.ln1@news.invalid.99computer>
Subject: Re: SLRN: choice of editor and word wrapper
Date: Tue, 15 Jul 2003 00:47:34 +0000
From: Mike Vanecek <MikeV99@privacy.net>
References: <slrnbh2gru.1f2.lhaber@lawrence-habers-computer.local> <1368u-cq5.ln1@news.gates_of_hell.INVALID> <slrnbh37c1.2ts.preater@preater.com> <jef9u-ji2.ln1@news.gates_of_hell.INVALID> <e7n9u-ac2.ln1@news.invalid.99computer> <slrnbh4jpl.25r.no.spam@adam.blinkynet.net> <slrnbh58fs.qac.s.wal@verizon.net> <o56bu-lh3.ln1@news.invalid.99computer> <slrnbh5r9d.qrn.s.wal@verizon.net>
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!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!216.218.192.242!news.he.net!newsfeed1.easynews.com!easynews.com!easynews!c03.atl99!news.webusenet.com!news3.optonline.net!newscene!novia!novia!sequencer.newscene.com!not-for-mail
Newsgroups: news.software.readers
Lines: 70
X-Archive: encrypt
User-Agent: slrn/0.9.7.4 (Linux)