On Sat, Sep 06, 2014 at 03:38:31PM +0000, Yury Gribov wrote: > Segher Boessenkool <segher <at> kernel.crashing.org> writes: > > On Fri, Sep 05, 2014 at 07:10:02PM +0400, Yury Gribov wrote: > > > Now I don't quite like the idea of plugin: > > > > Anything that will make this enabled automatically will meet a lot of > > resistance. Make something nice for contrib/ instead? > > Hm, isn't it already enabled by default for Emacs (in .dirs-local.el)?
That may well be. But Vim is not Emacs. > Also > GNU coding style is a requirement for GCC so resisting it may not make > sense... I'm not resisting GNU coding style. I am resisting scripts and/or other configuration things that make my editor do something else than what I tell it to do. If I type enter in insert mode, the cursor should go to column one in a newly opened line, not "helpfully" to e.g. four spaces in. Because I will bloody well type four spaces anyway. Etc. Not to mention the horrors it will do in a machine description file. This all should be opt-in. As it already is. If you can give some suggested config for other users, that's marvellous, it will probably be helpful to some. Changing the config for everyone is quite the opposite of helpful. Segher p.s. At least you're not forcing syntax hilighting on ;-)