Reply to message «My GVIM7.3 on Win7 : Has started issuing E488 errors. Help», sent 06:49:19 03 January 2011, Monday by Rostyk:
> :a,bp to display the lines in the a,b range. throws an E488
Before trying this think a bit: if that was a correct syntax then how could vim
distinguish between
:a,pr l
what means ``insert text from file «l» after position of mark «p» (read command
uses only last line of the range, so `a,' is ignored)'' and
:a,pr l
what means ``print lines from mark «a» to current line (`.' may be omitted)
displaying unprintable characters and tabs (or something else depending on
`listchars' option)''.
Correct syntax is
:'a,'pread l
and
:'a,print l
. See also :h cmdline-ranges.
Original message:
> My default download and installation of the VIM suite on a Win 7 , 64
> bit ultimate system
> was working fine, but has now begun issuing E488 trailing character
> error messages,
> for most ex commands.
> Specific example: Editing "@Risk" a mail collection text file, .
> i.e. filetype=mail, syntax=mail,
> e @Risk
> scroll down some lines and set a mark mc
> scroll down some more and set ma
> scroll down some more and set mb
> Scroll a few more lines and now try some commands!
> 'a or 'b or 'c work
>
> :a,bp to display the lines in the a,b range. throws an E488
>
> error
>
> :20,30p with an explicit numeric range works
> :20,30d with an explicit numeric range works
> :
> :a,bd throws an E488
> :a,bmc throws an E488
>
> Also confusing is that if ma is at line 40 and mb is at line 50
> then for the command
>
> :40,bmc I am getting an error "Not an editor command" and
>
> for :40,bm20 I get an error that I am giving a backward range
> and is it (y/n) all right to switch?.
>
> HELP! What has gone bad? and what do I need to do to repair this?
> Please also reply to me by email to [email protected] as well as
> posting any advice.
> I don't Google too well.
> Advance thanks.
> PS. I first posted this to comp.editors in Google groups on Jan 1,
> before finding this venue.
> --
> Rostyk
signature.asc
Description: This is a digitally signed message part.
