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: Stefan Monnier
Subject: Re: dir-locals.el take precedence over user's mode-hook changes
Date: Tue, 30 Dec 2008 20:43:19 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> So rather than "just" switch the order, we need to find a way for the
>> user to be able to cleanly specify which behavior he wants on a case by
>> case basis.

> Maybe something like

> ;; Pre-Local Variables:
> ;; End:

> for variables set before mode hook or

> ;; Post-Local Variables:
> ;; End:

> after mode hook.

Hmm... interesting.  I was thinking of doing it in the .emacs instead,
since often the preference depends also on what is placed on the
mode-hook, and the mode-hook is under the control of the end user,
whereas the dir-locals and file-variables may be under the control of
someone else.

>> Could you explain why you think it should be in dir-locals rather than
>> in the file?
> In the Emacs tree we have more than 50 ChangeLog files and counting.

Indeed, makes sense.  Sorry for not thinking.

>> Please report this bug.
> Done.  (Bug#1744)

Thank you,


        Stefan




reply via email to

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