emacs-devel
[Top][All Lists]
Advanced

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

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


From: Alan Mackenzie
Subject: Re: Blunderbuss ".dir-locals.el" raises everything in its path!!
Date: Mon, 13 Jul 2009 08:25:01 +0000
User-agent: Mutt/1.5.9i

Morning, Miles!

On Mon, Jul 13, 2009 at 01:37:31PM +0900, Miles Bader wrote:
> 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

c-file-style is documented as being for use only in file local variables.

> -- my sense is that most developers would agree that if a project has C
> style conventions, they should override the user's personal
> preferences...

Hmmm.  I think most hackers would agree they should be able to override
project defaults in their Emacs sessions.  How do you override a setting
which is in dir-locals.el?

> [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!]

Straw man!

> -Miles

-- 
Alan Mackenzie (Nuremberg, Germany).




reply via email to

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