[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Blunderbuss ".dir-locals.el" raises everything in its path!!

From: Miles Bader
Subject: Re: Blunderbuss ".dir-locals.el" raises everything in its path!!
Date: Mon, 13 Jul 2009 13:37:31 +0900

Chong Yidong <address@hidden> writes:
>> ! These settings can override those made by a user in his .emacs so
>> ! you should be careful not to set variables which are a matter of
>> ! personal choice.  You should probably not set @code{c-file-syle}
>> ! and @code{c-file-offsets} here (@pxref{File Styles,,,ccmode}).
> But I think we have a basic disagreement here.  A user should feel
> free to set directory local variables that override his or her .emacs
> settings---exactly like he or she should feel free to write file-local
> variables.  The manual has no purpose telling people what to do with
> their own files.

It also seems downright bizarre to tell people not to set c-file-style
in .dir-settings.el -- my sense is that most developers would agree that
if a project has C style conventions, they should override the user's
personal preferences...

[and painful memories of source code where basic things like indentation
levels varied line-to-line within functions makes me grateful for any
method that helps automate project conventions!]


Future, n. That period of time in which our affairs prosper, our friends
are true and our happiness is assured.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]