On Thursday 30 April 2009 11:19 am, Yakov Lerner wrote:
> 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.
i have a "thorn-in-my-side" problem with netrw that's triggered
when 'autochdir' is on
my workaround is to have 'noautochdir' but also
autocmd BufEnter * lcd %:p:h
in my vimrc -- this acts like autochdir, but does not play havoc
with netrw -- the places i've seen autochdir create problems so
far have been places involving "not real" buffers -- your help
window and charles' file window are both unmodifiable "unreal"
buffers and i can't help thinking this must be related
i tried it here, replacing the 'set acd' with my autocmd, and the
session created brought both windows up just fine
'autochdir' is taking on the character of bad boy in my opinion,
and i am wondering if it would be appropriate to put the autocmd
alternative in the docs under
Note: When this option is on some plugins may not work.
or maybe it's time we examined the question of whether 'autochdir'
is buggy
sc
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---