Benjamin Fritz wrote:
> Eric Van Dewoestine found this while investigating an eclim issue I was
> having.
>
> When 'autochdir' is set, calling setbufvar() changes Vim's current
> directory to that of the buffer having its variable set. I think this
> should not happen.
>
> Reproduced using the following on Solaris with Vim 7.4a.6, and also on
> Windows (slightly modified) with Vim 7.3.822.
>
> mkdir test1
> mkdir test2
> touch test1/test1.txt
> touch test2/test2.txt
> gvim -N -u NONE -i NONE test1/test1.txt test2/test2.txt
>
> :set autochdir
> :pwd
> /accts/btfritz/temp/test1
>
> :call setbufvar('test2', 'myvar', "foobar")
> :pwd
> /accts/btfritz/temp/test2
I'll add it to the todo list.
--
"You're fired." (1980)
"You're laid off." (1985)
"You're downsized." (1990)
"You're rightsized." (1992)
(Scott Adams - The Dilbert principle)
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.