There seems to be some strange behavior when using the buftype=acwrite
mode.

mkdir testdir
vim

:set buftype=acwrite
:autocmd BufWriteCmd <buffer> echo 'requested write'
:file testdir
:w

This causes an error that 'testdir' already exists.

It works when I do
:w!
but, that doesn't seem like it should be necessary.

This seems like incorrect behavior since buftype=acwrite means that
writes really take place by the autocmd. In my case, this involves
network traffic and I don't care about the local filesystem at all.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui