add standard vi formatting directives to all source files?
Bernhard Fischer
rep.nop at aon.at
Thu May 18 14:02:43 UTC 2006
On Thu, May 18, 2006 at 09:48:57AM -0400, Robert P. J. Day wrote:
>
> i notice that some, but not all, BB source files end with the
>editing directives:
>
>
>/*
>Local Variables:
>c-file-style: "linux"
>c-basic-offset: 4
>tab-width: 4
>End:
>*/
AFAIK this is for emacs and not vi.
For vi, i usually say this at the top of the file (end should work too,
IIRC):
/* vi: set sw=4 ts=4: */
I think Rob has ripped out this emacs-block from some (or one) applet(s)
recently. I do not know off-hand if emacs honours the vi notation.
HTH
More information about the busybox
mailing list