--------------------
From: unknownmail.com
Subject: Re: vim: how to use set indentexpr
Date: Sat, 11 Aug 2007 12:50:31 -0500
...
--------------------
I get the following error:
--------------------
Error detected while processing modelines:
line 2:
E518: Unknown option: how
--------------------
No matter where I put the second line on the text I get always the same
error with different 'line'.
Many thanks in advance.
--
Cesar
Vim thinks it's a modeline because it's in the top 5 lines and it's
' vim: ..'. It's probably best to just ignore this since it will only
happen very rarely, or you can do ':set nomodeline' when editing emails.
(for example by detecting that file extension is .eml or something). -ak
Modelines present a potential (and in the past, actual) security
vulnerability. The standard plugin vim73/ftplugin/mail.vim
disables modelines because when reading mail anything could be
present in the text. So my advice to the OP would be to ensure
modelines are disabled before reading mail.
John