bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#8586: 23.3.50; Directory-local variable ignored when file-local vari


From: Glenn Morris
Subject: bug#8586: 23.3.50; Directory-local variable ignored when file-local variables set mode
Date: Mon, 02 May 2011 20:45:11 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Reuben Thomas wrote:

> The bug here is that the .dir-locals.el settings should be applied in
> both cases AFAICS, but they are only applied in one, and ignored in the
> other (even when the mode matches exactly!). Apparently, it is something
> to do with the mode being set at a late stage.

I imagine this is an unintended version of this:

57.3.4.1 Specifying File Variables
[...]
    If `mode' is used to set a major mode, it should be the first
    "variable" in the list.  Otherwise, the entries that precede it will
    usually have no effect, since most major modes kill all local variables
    as part of their initialization.





reply via email to

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