[Top][All Lists]
[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
- Emacs local variables,
Reuben Thomas <=
- Re: Emacs local variables, Bruno Haible, 2011/04/29
- Re: Emacs local variables, Reuben Thomas, 2011/04/29
- Re: Emacs local variables, Reuben Thomas, 2011/04/29
- Re: Emacs local variables, Jim Meyering, 2011/04/30
- Re: Emacs local variables, Reuben Thomas, 2011/04/30
- Re: Emacs local variables, Jim Meyering, 2011/04/30