On 04/11/08 04:54, sc wrote:
> On Monday 03 November 2008 7:20 pm, Tony Mechelynck wrote:
> [snip]
>> Here's what I have in my vimrc about the use of modelines:
>>
>> if exists("+modelines")
>> " the following is required because of SuSE's paranoid /etc/vimrc
>> " and to force 'modeline' on even for root in Vim 7.0.237 and later
>> set modeline modelines=5
>> " the following disables a dangerous modeline in one helpfile
>> if has ('autocmd')
>> au BufReadPost ada.txt setl nomodeline ft=help
>> endif
>> endif
>
> tony--
>
> if I'm not mistaken the problem modeline in ada.txt was de-problemized
> some time ago -- I do believe the above autocmd is no longer necessary
>
> a quick peek shows
>
> vim: textwidth=78 nowrap tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab
> vim: filetype=help
>
> at the end of that module -- no more encoding gotcha
>
> sc
It's possible, I haven't changed that part of my vimrc recently.
Best regards,
Tony.
--
Vital papers will demonstrate their vitality by spontaneously moving
from where you left them to where you can't find them.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---