On 2006-11-07, Charles E Campbell Jr <[EMAIL PROTECTED]> wrote:
> Chuck Mason wrote:
>
> > Sorry to bring this up again. Was there every any solution to this? Do
> > I just need the latest netrw? I was trying to get :Explore **/pattern
> > working
> > But as I do see the "Match n of N" in the lower right, the cursor never
> > moves in the browse buffer (with <S-Down>/<S-Up>) and occasionally I get
> > errors:
> >
> > Error detected while processing function netrw#Explore:
> > line 165:
> > E121: Undefined variable: w:netrw_longlist
> > E15: Invalid expression: w:netrw_longlist == 0 || w:netrw_longlist == 1
> >
> > I'm using vim7.0 (2006 may 7), and tried this with -N -u NONE. Maybe
> > someone here knows how to get this working?
> >
> >
>
> netrw is up to v107g (Nov 03, 2006).
>
> I suggest upgrading!
I just updated to vim 7.0.161 from the Cream site and to netrw 107g
from your (Chip's) web site. I don't know how to get anything more
up-to-date than that. I renamed all the *netrw* files under vim70
with a ".orig" extension to hide them. I had already downloaded a
recent vimball.vim, which is version 18a. Repeating my experiment,
vim -N -u NONE -i NONE
:runtime plugin/netrwPlugin.vim
:Explore **/*.py
from a Command Prompt in a directory with no .py files below it,
yields
Match 1 of 0
in the status line and the following messages:
***netrw*** no more files match Explore pattern
Error detected while processing function netrw#Explore:
line 192:
E684: list index out of range: 0
E15: Invalid expression: w:netrw_explore_list[0]
line 194:
E121: Undefined variable: dirfile
E116: Invalid arguments for function substitute(dirfile,'/[^/]*$','','e')
E15: Invalid expression: substitute(dirfile,'/[^/]*$','','e')
line 198:
E121: Undefined variable: newdir
E116: Invalid arguments for function netrw#LocalBrowseCheck
line 203:
E121: Undefined variable: dirfile
E116: Invalid arguments for function
substitute(dirfile,"^.*/","","").'\>',"W")
E116: Invalid arguments for function search
Then I exited vim, cd'd to a directory with a bunch of .py files
under it and repeated the commands above. This time there were no
error messages and the status line said "Match 1 of 394". However,
the status line also showed a buffer name of "[No Name]" and the
buffer itself was empty.
HTH,
Gary
--
Gary Johnson | Agilent Technologies
[EMAIL PROTECTED] | Wireless Division
| Spokane, Washington, USA