🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #137901

Re: [vim] using aspell (was: [slrn] using vim)

#137901
From: Mike Vanecek
Date: Sat, 22 Nov 2003 01:02
58 lines
3059 bytes
On 21 Nov 2003 10:44:46 GMT, Sven Guckes wrote:
> [ news.software.readers -> comp.editors ]

> * Mike Vanecek <MikeV99@privacy.net>:
>> Here is what my .vimrc looks like:

>> " Spelling Macros
>> map <f8> \1\2<CR>:e! %<CR>
>> map \1 :w!<CR>
>> map \2 :!/usr/local/bin/newsbody -qs -n % -p /usr/bin/aspell check \%f<CR>
>> " Auto reformat macro
>> map <f5> gg/^$<CR>V/^-- $<CR>{gq`^
>> map <f4> :set nohlsearch
>> " delete quote indicators on empty lines
>> " from w.citoan in n.s.r:
>> au BufRead ~/.followup :% s/^>[ >]*$//
>> set cmdheight=2

>> Unfortunately, the addition of the quote indicators fix
>> zapped my call to the spelling macros. I do not know enough
>> about what is going on here to know how to fix it.

> "quote indicators fix"?

> if you are talking about the automatically
> triggered substitution command then, sure,
> this may create problems, too.  but it
> should not affect your spelling program.

> so - please clarify.

> Sven

Notice that the quoting algorithm works quite nicely when I do
follow-up. However, when I press F8 to spell check (which works OK without
the following code enabled):

>> au BufRead ~/.followup :% s/^>[ >]*$//
>> set cmdheight=2

I get the following error:

".followup" 53L, 1844C
Error detected while processing BufRead Auto commands for
"/home/uid/.followup":
Pattern not found: ^>[ >]*$
Hit ENTER or type command to continue

This error occurs upon completion of the spell check when it is
returning to the editor.

Can you advise me on how to get both to work without the error message
nor need to hit ENTER (my fist is getting sore from all the hitting -
wonder what happened to PRESS)?

-- 
  Thanks, Mike.
Technical Details
Message-ID: <81p291-8hj.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!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.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!news3.optonline.net!newscene!novia!novia!sequencer.newscene.com!not-for-mail
References: <2e44pb.oq3.ln@127.0.0.1> <slrnbrbpoa.26n.teergrube@doczook.de> <4o36pb.ki9.ln@127.0.0.1> <slrnbrdig7.lgv.no.spam@thurston.blinkynet.net> <a2o6pb.f4a.ln@127.0.0.1> <slrnbrds7m.lgv.no.spam@thurston.blinkynet.net> <fe17pb.g8a.ln@127.0.0.1> <slrnbre644.rag.no.spam@thurston.blinkynet.net> <kk3l81-jp7.ln1@news.invalid.99computer> <2003-11-16T22-28-22@guckes.net> <hc4091-fjb.ln1@news.invalid.99computer> <2003-11-21T10-41-01@guckes.net>

Show Full Headers
Complete Article Headers
Message-ID: <81p291-8hj.ln1@news.invalid.99computer>
Subject: Re: [vim] using aspell (was: [slrn] using vim)
Date: Sat, 22 Nov 2003 01:02:15 +0000
From: Mike Vanecek <MikeV99@privacy.net>
References: <2e44pb.oq3.ln@127.0.0.1> <slrnbrbpoa.26n.teergrube@doczook.de> <4o36pb.ki9.ln@127.0.0.1> <slrnbrdig7.lgv.no.spam@thurston.blinkynet.net> <a2o6pb.f4a.ln@127.0.0.1> <slrnbrds7m.lgv.no.spam@thurston.blinkynet.net> <fe17pb.g8a.ln@127.0.0.1> <slrnbre644.rag.no.spam@thurston.blinkynet.net> <kk3l81-jp7.ln1@news.invalid.99computer> <2003-11-16T22-28-22@guckes.net> <hc4091-fjb.ln1@news.invalid.99computer> <2003-11-21T10-41-01@guckes.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!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.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!news3.optonline.net!newscene!novia!novia!sequencer.newscene.com!not-for-mail
Newsgroups: news.software.readers
Lines: 58
X-Archive: encrypt
User-Agent: slrn/0.9.8.0 (Linux)