On Thu, 18 Jan 2007 17:22:24 +0100, "A.J.Mechelynck"
<[EMAIL PROTECTED]> said:
> Denis Perelyubskiy wrote:
> > hello,
> > 
> > I briefly upgraded to patch 182 a little while back, and selectbuf
> > script which I absolutely adore :) stopped working
> > (http://vim.sourceforge.net/scripts/script.php?script_id=107) I am using
> > version .178 right now. Something about those 4 patches
> > (179.180.181.182) breaks the script.
> 
> You may want to check the bottom lines of the patches' README file 
> http://ftp.vim.org/pub/vim/patches/7.0/README to help you "guess" which
> of 
> these patches might be breaking your favourite script.

Thanks. While I can't tell what went wrong by just eye-balling the
patches, I did find that the problem results from netrwPlugin.vim.
Basically, netrw registers this autocommand:

au BufEnter .* silent! call s:LocalBrowse(expand("<amatch>"))

When it is executed on a buffer switch, sometimes this <amatch> is emty.
I've no idea why.

If I remove the netrw plugin, things go back to normal. I did notice
that netrw plugin changed recently...

-d
-- 
// mailto: Denis Perelyubskiy <lists at overwhelmTAKECAPITALSOUT dot net>
// icq   : 12359698

Reply via email to