On Wednesday, July 31, 2013 10:31:54 AM UTC-5, Christian Brabandt wrote: > 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. > >
Nope, I was talking about the issue fixed by patch 509. I forgot about issue 72. > > > 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. > Great, thanks! I guess the difference is that :vimgrep must examine file contents, which might rely on autocmds for doing things like searching through zip files. -- -- 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.
