When 'acd' is set, mksession uses short pathname in the typical usage which
leads to wrong result (the testcase below). This is biting me every time I
use mksession (I always have acd on).
The interaction of 'curdir' in  sessionoptions and 'set acd' leads to
apparently wrong result.
This patch adds additional check in ses_fname, the logic is similar to the
check for 'did_lcd' which already exists for the same reason.

Testcase:

echo abc >/tmp/xxx
vim -u NONE -U NONE /tmp/xxx
:set acd
:he help
:mksession! ~/xxx
:qall!

vim -u NONE -U NONE -S ~/xxx
^^^ bug: upper window is empty ^^^

Yakov

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Attachment: patch-mksession-acd
Description: Binary data

Raspunde prin e-mail lui