emacs-devel
[Top][All Lists]
Advanced

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

Re: dir-locals.el take precedence over user's mode-hook changes


From: Dan Nicolaescu
Subject: Re: dir-locals.el take precedence over user's mode-hook changes
Date: Wed, 24 Dec 2008 11:03:28 -0800 (PST)

Stefan Monnier <address@hidden> writes:

  > It seems that the dir-local.el settings are applied after the major mode
  > hook has been run.
  > That makes it pretty impossible for the user to override them, which is
  > problematic (I noticed it because I use a tab-width of 4 in my (Emacs)
  > ChangeLog files and now tab-width is back to 8).
  > 
  > I guess it's the same problem as the one of setting file-local
  > variables, but for directories it's even worse.  We should provide some
  > way to override those settings.

If the user really really wants to override the settings doesn't
rm .dir-locals.el 
or
changing the contents of .dir-locals.el 
work well enough? 




reply via email to

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