Bram, I think I have found a bug: vim -u NONE -N :exe "augroup filetype | au BufNewFile * echo "foobar"|augroup end" :au filetype * :echom "filetype command fired"
Now set the filetype and notice that the autocmmand does not fire: :set ft=foobar (no output) This question came up on Stackoverflow http://vi.stackexchange.com/q/5546/71 Best, Christian -- Dieses ist ein Programm zum Formatieren der Festplatte. Wenn Sie diesen Text gelesen haben, hilft auch das Ziehen des Netzsteckers nicht mehr! -- -- 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.