Christian Brabandt wrote:
> On Sa, 05 Dez 2015, Bram Moolenaar wrote: > > > That exe command has an error, the quoting is wrong. > > Yes, posting a bad example > > > The second command doesn't work as you expect: > > filetype group > > * event > > :echom pattern > > Yes, I just found out. How about adding this to the documentation: > > diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt > --- a/runtime/doc/autocmd.txt > +++ b/runtime/doc/autocmd.txt > @@ -1131,6 +1131,9 @@ name! > :aug[roup] {name} Define the autocmd group name for the > following ":autocmd" commands. The name "end" > or "END" selects the default group. > + To avoid confusion, the name should be > + different from existing {event} names, as > + this might have unwanted side effects. > > *:augroup-delete* *E367* > :aug[roup]! {name} Delete the autocmd group {name}. Don't use Thanks for that, I'll add it. -- hundred-and-one symptoms of being an internet addict: 200. You really believe in the concept of a "paperless" office. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- 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.