This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: inserting some Emacs-specific stuff into the source files


Maciej Stachowiak <mjs@eazel.com> writes:

> Michael Livshin <mlivshin@bigfoot.com> writes:
> 
> > /*
> >   Local Variables:
> >   eval: (and (fboundp 'c-set-style) (c-set-style "gnu"))
> >   End:
> > */
> > 
> > does anyone have a problem with this?  or any better idea?
> 
> I approve. I have the same problem.

Wait wait wait!  eval blocks are very very inconvenient when sharing
files because you'd be insane to have `enable-local-eval' set to
t... it's a virus waiting to happen.  And always being asked about
evalling the block is unnecessarily tedious.  Let's extend [X]Emacs with 
a variable that gets used to set the style after a file is loading so it 
does not need to be an eval block at the end of the file.

Thanks,
Greg

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]