bug-gnulib
[Top][All Lists]
Advanced

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

Emacs local variables


From: Reuben Thomas
Subject: Emacs local variables
Date: Fri, 29 Apr 2011 20:43:00 +0100

I've just been puzzling out a bug in Emacs which stops me correcting
my setting of indent-tabs-mode to t for GNU files (I have it
customized to nil).

Basically, the bug (at least in 23.3) is that when a file's mode is
set by its local variables, as in the case for example of
announce-gen, then any directory-local variables are ignored.

To work around this, would it be alright to add a setting for
indent-tabs-mode to such files?

I was going to suggest that it would also help to have .dir-locals.el
files instead of repeating the same settings in each file, but the bug
to which I've just referred militates against that.

However, since my .dir-locals.el file is still useful in many cases
(for files with explicit suffixes, where the bug does not show up), it
would seem reasonable to add .dir-locals.el to the top-level
.gitignore.

-- 
http://rrt.sc3d.org



reply via email to

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