[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch: Blunderbuss ".dir-locals.el" raises everything in its path!!
From: |
Stefan Monnier |
Subject: |
Re: Patch: Blunderbuss ".dir-locals.el" raises everything in its path!! |
Date: |
Wed, 15 Jul 2009 16:20:15 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) |
> Yidong, hack-local-variables desperately needs refactoring.
A refactoring would not be unwelcome.
> It was sort of tolerable when only file local variables were involved,
> but now it's all but unreadable and ununderstandable
I'd agree.
> (should this just be derstandable?)
Depends if you're constructivist or classicist.
> In particular, there's no great care taken about how the local variable
> settings from the two sources get combined. How about the following
> idea: when a setting from the Local Variables: section is to be pushed
> onto file-local-variables-alist, any exisiting element for the same
> variable is first removed?
That would make a lot of sense, since it reflects what happens to the
variable's value in the end. Also it does correspond to the behavior we
want that file-local should take precedence over dir-local.
Stefan
- Re: Blunderbuss ".dir-locals.el" raises everything in its path!!, (continued)
- Re: Blunderbuss ".dir-locals.el" raises everything in its path!!, Juri Linkov, 2009/07/18
- Re: Blunderbuss ".dir-locals.el" raises everything in its path!!, Ken Raeburn, 2009/07/13
- Re: Blunderbuss ".dir-locals.el" raises everything in its path!!, Dan Nicolaescu, 2009/07/12
- Re: Blunderbuss ".dir-locals.el" raises everything in its path!!, Jason Rumney, 2009/07/13
- 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!!, Alan Mackenzie, 2009/07/14
- Re: Blunderbuss ".dir-locals.el" raises everything in its path!!, Stefan Monnier, 2009/07/14
- Patch: Blunderbuss ".dir-locals.el" raises everything in its path!!, Alan Mackenzie, 2009/07/14
- Re: Patch: Blunderbuss ".dir-locals.el" raises everything in its path!!, Jan Djärv, 2009/07/15
- Re: Patch: Blunderbuss ".dir-locals.el" raises everything in its path!!, Alan Mackenzie, 2009/07/15
- Re: Patch: Blunderbuss ".dir-locals.el" raises everything in its path!!,
Stefan Monnier <=
- Re: Patch: Blunderbuss ".dir-locals.el" raises everything in its path!!, Chong Yidong, 2009/07/15
- Re: Patch: Blunderbuss ".dir-locals.el" raises everything in its path!!, Alan Mackenzie, 2009/07/18
- Re: Patch: Blunderbuss ".dir-locals.el" raises everything in its path!!, Jan Djärv, 2009/07/20
- Re: Patch: Blunderbuss ".dir-locals.el" raises everything in its path!!, Alan Mackenzie, 2009/07/20
- Re: Patch: Blunderbuss ".dir-locals.el" raises everything in its path!!, Jan Djärv, 2009/07/20
- Re: Blunderbuss ".dir-locals.el" raises everything in its path!!, Stefan Monnier, 2009/07/13
- Re: Blunderbuss ".dir-locals.el" raises everything in its path!!, Stephen J. Turnbull, 2009/07/14
- Re: Blunderbuss ".dir-locals.el" raises everything in its path!!, Jan Djärv, 2009/07/14
- Re: Blunderbuss ".dir-locals.el" raises everything in its path!!, Davis Herring, 2009/07/14
- Re: Blunderbuss ".dir-locals.el" raises everything in its path!!, Alan Mackenzie, 2009/07/14