Henner Zeller wrote:
>
> Hi,
> two short remarks; I usually put these lines in every file I write
>
> /* Emacs:
> * Local variables:
> * c-basic-offset: 8
> * End:
> * vi:set tabstop=8 shiftwidth=8 nowrap:
> */
>
> which is understood by emacs and vim so these editors are switched to the
> 'correct' indentation style automatically (without 20 Mails/Thread
> necessary :-)
>
> Another: use 'diff -uw' to see see changes which are not due to
> whitespaces.
One short remark. The line with * vi:... doesn't work with
all vi-clones, I'm using the nvi and read in the documentation:
modelines, modeline [off]
If the modelines option is set, ex/vi has histori-
cally scanned the first and last five lines of
each file as it is read for editing, looking for
any ex commands that have been placed in those
lines. After the startup information has been
processed, and before the user starts editing the
file, any commands embedded in the file are exe-
cuted.
Commands were recognized by the letters "e" or "v"
followed by "x" or "i", at the beginning of a line
or following a tab or space character, and fol-
lowed by a ":", an ex command, and another ":".
This option is a security problem of immense pro-
portions, and should not be used under any circum-
stances.
This option will never be implemented.
Greetings from the security paranoid Stephan
------------------------------------------------
<[EMAIL PROTECTED]> | beusen Solutions GmbH
fon: +49 30 549932-62 | Landsberger Allee 366
fax: +49 30 549932-21 | 12681 Berlin, Germany
------------------------------------------------