jeromejj / vim

Automatically exported from code.google.com/p/vim
0 stars 0 forks source link

Netrw problem with Vexplore (actually a :wincmd range checking problem) #314

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run :Vexplore a:dir

What is the expected output? What do you see instead?

It should open "explorer" in seperate split

Instead it throws exception:
Error detected while processing function netrw#Explore:
line   88:
E16: Invalid range: keepalt noswapfile lefta 52wincmd v

and then opens explorer in same split/window

What version of the product are you using? On what operating system?
7.4.567 on archlinux, version 7.4.560 is working fine.

Original issue reported on code.google.com by cotko...@gmail.com on 14 Jan 2015 at 12:15

GoogleCodeExporter commented 9 years ago
This problem sounds like a vim problem, not a netrw problem.  In particular, 
its likely due to patch#565.  There's been a bit of discussion on vimdev about 
it, btw, under the topic ":wincmd".

Original comment by drc...@campbellfamily.biz on 14 Jan 2015 at 5:03

GoogleCodeExporter commented 9 years ago
I think, this should be fixed by patch 7.4.572. Please verify.

Original comment by chrisbr...@googlemail.com on 14 Jan 2015 at 6:44

GoogleCodeExporter commented 9 years ago
Unfortunately the following still produces an error message about invalid range:

vim -u NONE
:52wincmd v

Original comment by drc...@campbellfamily.biz on 14 Jan 2015 at 7:37

GoogleCodeExporter commented 9 years ago
I forgot to skip over white space.  7.4.580 will fix it.

Original comment by brammool...@gmail.com on 14 Jan 2015 at 8:20

GoogleCodeExporter commented 9 years ago
Looks like patches 577 and 580 fixed this problem.

Original comment by drc...@campbellfamily.biz on 14 Jan 2015 at 10:38