On 2013-12-30, Charles Campbell wrote:
> Cade Foster wrote:
> >Problem: vim does not open local directory.
> >
> >Steps to reproduce:
> >
> >1. run
> >
> >$ vim /etc/
> >
> >Expected results:
> >
> >use netrw plug-in to list directory content.
> >
> >Actual results:
> >
> >1. show error message
> >
> >"/etc/" Illegal file name
> >
> >2. buffer remains empty.
> >
> >
> I'm unable to duplicate your problem.

I'm able to duplicate this problem very easily using Vim 7.4.41 and 
netrw v149 on an Ubuntu 10.04 system.  For example:

    $ cd /usr
    $ vim -N -u NORC share          # Succeeds
    $ vim -N -u NORC /usr/share     # Succeeds
    $ cd
    $ vim -N -u NORC /usr/share     # Fails
    $ cd /tmp
    $ vim -N -u NORC /usr/share     # Fails

In short, it seems to open a relative path to a directory fine, and
the absolute path to a directory when the current directory is in
that path fine, but it does not open a directory given by its
absolute path when the current directory is not in that path.

I repeated my experiments using an older Vim installation, Vim
7.2.330 and netrw v136, and it always worked, so something appears
to have broken between then and 7.4.41/v149.

> Please run the internal debugger (:he netrw-debug) and send me a
> trace.

I will try to get that later today.

Regards,
Gary

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui