Chuck Mason wrote:

> A coworker (who is not on VIM Mailing List) has asked me to forward this
> issue here.  Is this already known about or what do we do to submit a
> bug?
> 
> I have verified that it happens on my build of vim.  His repro steps are
> below.  My :version is
[...]

You don't mention the version of the netrw plugin that you are using.
That's important here.

> From: Boris Kazanskii=20
> Sent: Wednesday, April 04, 2007 2:43 PM
> To: Chuck Mason
> Subject: :args -> buffer list mapping issue
> 
> :args allows to insert directory browser buffers into the buffer list,
> which cause :bn, :bufdo and friends to fail

After ":args" you should use ":next" to move to the next argument.

> To reproduce:
>       - Open vim (win32)
>       - :args D:\Program\ Files\Vim\**\co*.* (or whatever matches your
> configuration)
>       - :bfirst
>       - do a couple of :bn, this will never ever get over the first
> directory browser buffer (D:\Program\ Files\Vim\vim70\colors\ in this
> case)
>       - :bufdo echo expand("%") will also stop after it encounters the
> first directory browser
>       - :bd/:bw are unable to delete these "bad" directory buffers
>       - the only way to get rid of these is to do :1,1000bd

Does this still happen when using a path without a space in it?

-- 
ARTHUR:    Be quiet!  I order you to shut up.
OLD WOMAN: Order, eh -- who does he think he is?
ARTHUR:    I am your king!
OLD WOMAN: Well, I didn't vote for you.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Reply via email to