Sunday, December 29, 2013

Re: has 7.4 changed behaviour chdir-ing to current file's dir by default?

On 29/12/13 16:40, jmlucjav wrote:
> hey Tony
>
> with :verbose I still get the same:
> noautochdir

meaning it was never changed from its default. Strange.

>
> About autocmd: I just pasted what I got from the log file, I dont know
> if the autocmd (and there is a autocommand before the au, not sure why
> you didnt see it) is linked with the chdir, let me copy exactly what I get:
> -----------------
> autocommand au! LoadBufferMenu
>
>
> chdir(C:\Users\jm\Dropbox\conf\home\jm\vimfiles)
>
> C:\Users\jm\Dropbox\conf\home\jm\vimfiles
> ------------------
>
> this is with gvim.exe -u NONE -U NONE -V9vimlog.txt
>
> Regarding the version, lol, I meant 7.4 32bit on win7 64bit. Exact
> version is 7.4 patch 131
>
> thanks
>

Ah, that's better.

About the autocommand: there is no LoadBufferMenu event (but any script
could create a LoadBufferMenu group). Does Vim answer anything to

:verbose au LoadBufferMenu

?


-u NONE -U NONE means no vimrc, no gvimrc, no plugins. It even skips the
system vimrc if there is one on your system. You must have done
something else after that, or Vim would behave in a strictly standard
way, with 'compatible' set (which is not what most of us expect, but we
each have a vimrc), and no autocommands at all.

Also, you might have a look at the output of the :scriptnames command.
Do you see anything in there which you wouldn't have expected?


Best regards,
Tony.
--
Unix will self-destruct in five seconds... 4... 3... 2... 1...

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment