from perl5-porters:

On Sun, Sep 08, 2002 at 09:47:24PM +0200, Rafael Garcia-Suarez wrote:
> Nicholas Clark wrote:
> > Are we going to assimilate what parrot is doing in all its C files - 
> > 
> > /*
> >  * Local variables:
> >  * c-indentation-style: bsd
> >  * c-basic-offset: 4
> >  * indent-tabs-mode: nil 
> >  * End:
> >  *
> >  * vim: expandtab shiftwidth=4:
> > */
> > 
> > at the end. IIRC this sets the indenting and tabbing behaviour for both emacs
> > and  vi (vim only?)
> 
> For most vi versions the portable vi modeline would be
>  * vi: set expandtab shiftwidth=4:

Would changing the parrot boilerplate in this way be a good idea?

I don't know much about vi, so I've no idea myself.

[I know that the that the correct incantation to escape from vi is

  <ESC>:q!emacs^M

:-)

(actually I might confess under torture I know slightly more that that,
but I don't use vi regularly)]

Nicholas Clark
-- 
Even better than the real thing:        http://nms-cgi.sourceforge.net/

Reply via email to