Andreas Bernauer wrote:

> It looks like this bug was introduced with 7.2.055.
> The attached patch against 7.2.127 seems to fix this.

Thanks again -- now I checked it with patches up to 7.2.130.
I have the following strange behaviour now:

With some (fat old) session files it seems to work after your patch.

However, to be sure, I repeated the test of my original posting (see
above) and so created a minimal session file.
Compared to the original test I am using now the following
minimal .vimrc (part of my daily work .vimrc):

--------------------
function AlwaysCD()
        if bufname("") !~ "^ftp://";
                lcd %:p:h
        endif
endfunction
autocmd BufEnter * call AlwaysCD()
--------------------

That fails with this message:

--------------------
"subfolder/test.txt" [New DIRECTORY]
Error detected while processing function AlwaysCD:
line    2:
E344: Can't find directory "subfolder" in cdpath
E472: Command failed
Press ENTER or type command to continue
---------------------

Since my .vimrc with AlwaysCD worked for a long time before the recent
patches, I think these new probs are somehow related to them.

Thanks for any hints!
 Felix
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to