Setting an autocommand like:

autocmd BufRead <dir>/* <stuff>

will trigger <stuff> for the quickfix buffer when the working directory is 
<dir>. I tried the <dir>/?* pattern also, just in case the match for quickfix 
is against an empty string prefixed by the current directory: the same happens.

I'm not sure what's the rule here, if any. Are special buffers intended to 
match any <cwd>/* pattern for a BufRead event? I workarounded this with an "if 
&buftype == ''" clause, but I would like to understand what's happening here 
and to report a bug, supposing it is one.

Cheers
--
Carlos

-- 
-- 
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/d/optout.

Raspunde prin e-mail lui