On Wed, July 31, 2013 17:17, Ben Fritz wrote:
> A while ago there was a similar problem where :vimgrep was causing
> directory changes due to 'autochdir'. The fix for :vimgrep also had to
> deal with autocmds which might change the directory.

Are you talking about issue 72? As far as I know, this issue is still
open, but a patch from me available.

> Since there is a call to unblock_autocmds() right after your code
> changes, do I assume correctly that this was not needed in this fix,
> because autocmd processing is blocked?

Correct. Basically the buffer is opened in a new window before working
with it and closed afterwards so it doesn't really make sense in that
case to either respect the autochdir setting or execute Buf-/WinEnter
autocommands.

regards,
Christian

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui