[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Blunderbuss ".dir-locals.el" raises everything in its path!!
From: |
Chong Yidong |
Subject: |
Re: Blunderbuss ".dir-locals.el" raises everything in its path!! |
Date: |
Sun, 12 Jul 2009 12:39:29 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
Alan Mackenzie <address@hidden> writes:
> Surely .dir-locals.el should, in some fashion, supply defaults which may
> be overridden by mode hooks and the like. It is almost, but not quite,
> entirely unlike file local settings, a rarely used precision instrument.
I'm not sure I understand. Directory-local variables are processed
right before file-local variables, and can be overridden by them. See
`hack-local-variables'---the code merely adds extra variables to the
file-local-variables-alist, defined in .dir-locals.el files, before
Emacs adds those defined in the visited file itself. The local
variables are then processed in order, wrapped by
before/after-hack-local-variables-hook.
Could you try to dig deeper and figure out the problem?
- Blunderbuss ".dir-locals.el" raises everything in its path!!, Alan Mackenzie, 2009/07/12
- Re: Blunderbuss ".dir-locals.el" raises everything in its path!!,
Chong Yidong <=
- Re: Blunderbuss ".dir-locals.el" raises everything in its path!!, Alan Mackenzie, 2009/07/12
- Re: Blunderbuss ".dir-locals.el" raises everything in its path!!, David De La Harpe Golden, 2009/07/12
- Re: Blunderbuss ".dir-locals.el" raises everything in its path!!, Alan Mackenzie, 2009/07/12
- Re: Blunderbuss ".dir-locals.el" raises everything in its path!!, Lennart Borgman, 2009/07/12
- Re: Blunderbuss ".dir-locals.el" raises everything in its path!!, Alan Mackenzie, 2009/07/13
- Re: Blunderbuss ".dir-locals.el" raises everything in its path!!, Lennart Borgman, 2009/07/13
- Add file-locals and dir-locals (was: Blunderbuss ".dir-locals.el" raises everything in its path!!), Juri Linkov, 2009/07/16
- Re: Add file-locals and dir-locals, martin rudalics, 2009/07/17
- Re: Add file-locals and dir-locals, Juri Linkov, 2009/07/17
- Re: Add file-locals and dir-locals, martin rudalics, 2009/07/18