Tony Mechelynck wrote:

> Bram Moolenaar wrote:
> [...]
> > Modelines are default off when you are root.  The mail filetype plugin
> > also switches it off.
> [...]
> 
> Are you sure? In a terminal logged-in as root, using vim 7.0.235:
> 
>       vim -u NONE -N
>       :set ml? mls?
>    modeline
>    modelines=5
> 
> Modelines default off when 'compatible' is set, they default on (and 5) when 
> 'nocompatible' is set. Root login changes nothing to that AFAICT.

Sorry, my mistake.  There is a recommendation that when working as root
you switch 'modeline' off, but it's not done automatically.

I do think that it's a good idea to make it automatic.

-- 
He who laughs last, thinks slowest.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Reply via email to