On Feb 26, 2:55 am, Andreas Bernauer <[email protected]> wrote:
> [email protected] wrote:
> > 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.
>
> I CC vim-dev to include the patch.
>
Will this also fix session behavior when 'autochdir' is set? I don't
currently have a setup to build Vim, or I'd try it myself. I suspect
the issue is similar if it isn't the same one.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---