Am 21.10.2014 um 16:51 schrieb Christian Brabandt:
On Mo, 20 Okt 2014, Daniel Hahler wrote:

Am Montag, 20. Oktober 2014 19:55:53 UTC+2 schrieb Andy Wokula:

I want unconditional execution of modelines.

" :DoModelines
" manually execute the modelines ("no matching autocmds" is a good thing
" here, we only need the side effect of :doautocmd); added 2010 Sep 27

com! -bar DoModelines :silent doautocmd User DoModelines

Ok. But this appears to be a candidate for a separate command then.

Attached patch does that.

Wouldn't `:e` work for you, too?

That loses your changes.

So far this patch works for me.
:domodelines executes modelines.
:doau only executes modelines when there are matching autocommands.

--
Andy

--
--
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