Andreas Bernauer wrote (a few times):
> [email protected] wrote on vim_use: > > It seems that if lcd is used, the paths in the session files are not > > set correctly anymore. > > I use 7.2.108 (gentoo-linux) and have not had this behaviour in 7.2. > > > > Try this to reproduce: > > > > * rm ~/.viminfo ~/.vimrc > > * vim --noplugin > > * :ed ~/subfolder/test.txt > > * :lcd ~/subfolder/. > > * :mks! ~/sess-test.vim > > * :qa > > * vim --noplugin -S sess-test.vim > > > > Result: vim does not open ~/subfolder/test.txt but test.txt (which > > does not exist). > > This does not happen if lcd (see above) is not called. > > It looks like this bug was introduced with 7.2.055. > The attached patch against 7.2.127 seems to fix this. Thanks. I'll check it out. -- hundred-and-one symptoms of being an internet addict: 135. You cut classes or miss work so you can stay home and browse the web. /// 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 /// --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
