[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Use directory-local variables to establish some coding styles in Ema
From: |
John Mandereau |
Subject: |
Re: Use directory-local variables to establish some coding styles in Emacs (issue 6460109) |
Date: |
Mon, 20 Aug 2012 08:06:53 +0200 |
Il giorno lun, 20/08/2012 alle 00.39 +0200, David Kastrup ha scritto:
> The only reasonable way to address the amount and kind of concerns
> voiced here is not to apply the patch. Instead, one should likely
> explain in CG how to use M-x add-dir-local-variable RET to achieve its
> equivalent. In that case, nobody will have his Emacs' behavior get
> silently changed from under him to obey LilyPond coding standards while
> inside of LilyPond source directories.
>
> It may also be feasible to add a lengthy explanation to the CG that on
> sufficiently new Emacs versions, the coding standards might be obeyed
> automatically on some points.
>
> Writing a treatise of that kind is quite beyond the scope of the
> original patch. Analyzing the effect of reformatting the whole Scheme
> directory with Emacs' default Scheme indentation, whether or not using
> tabs, is also wildly outside of the scope of the patch.
>
> I don't see myself in a position to deal with the can of worms opened by
> this patch in a reasonable manner.
Neither am I, and probably it's not a so good idea to force Emacs
settings without the knowing it... an explanation in the CG that tells
the contributor to generate herself the .dir-locals.el, and adding this
file to .gitignore, could be a better way to go. Graham, what do you
think?
John
Re: Use directory-local variables to establish some coding styles in Emacs (issue 6460109), ianhulin44, 2012/08/19
Re: Use directory-local variables to establish some coding styles in Emacs (issue 6460109), dak, 2012/08/19
Re: Use directory-local variables to establish some coding styles in Emacs (issue 6460109), dak, 2012/08/19
Re: Use directory-local variables to establish some coding styles in Emacs (issue 6460109), Ian Hulin, 2012/08/19