if suddenly your vim modelines don't work anymore, don't scratch your head and spend too much time looking for the problem in those (which were perfectly OK 2 days ago).
Vim maintainers disabled modelines in default config files since the last upload:
From /usr/share/doc/vim/changelog.Debian.gz:
…
* debian/runtime/debian.vim.in
- set 'nomodeline' by default since modelines have historically been a
source of security/resource vulnerabilities. Users should have to
explicitly enable the option to assume the associated risks.
…
* debian/runtime/debian.vim.in
- set 'nomodeline' by default since modelines have historically been a
source of security/resource vulnerabilities. Users should have to
explicitly enable the option to assume the associated risks.
…
And from /usr/share/vim/vim71/debian.vim:
…
" modelines have historically been a source of security/resource
" vulnerabilities -- disable by default, even when 'nocompatible' is set
set nomodeline
…
" modelines have historically been a source of security/resource
" vulnerabilities -- disable by default, even when 'nocompatible' is set
set nomodeline
…
The only thing you have to do is to explicitely enable modelines, acknowledging possible security problems, and add:
set modeline
somewhere in your vimrc.
OTH.