[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: |
Lennart Borgman |
Subject: |
Re: Blunderbuss ".dir-locals.el" raises everything in its path!! |
Date: |
Mon, 13 Jul 2009 09:50:37 +0200 |
On Mon, Jul 13, 2009 at 9:36 AM, Alan Mackenzie<address@hidden> wrote:
> Hi, Lennart!
Hi Alan!
>> Maybe I do not understand what you mean, but is not the real trouble
>> that those things can be confused? Major mode settings and project
>> settings are of course two different dimensions. Orthogonal.
>
> Are they? The following (from page "Config Basics" in the CC Mode
> manual) shows what I mean:
>
> (defun my-c-mode-hook ()
> (c-set-style
> (if (and (buffer-file-name)
> (string-match "/usr/src/linux" (buffer-file-name)))
> "linux"
> "free-group-style")))
> (add-hook 'c-mode-hook 'my-c-mode-hook)
Yes, you can mix them and you of course do. But that does not mean
that they are not orthogonal before you do that...
This is a clever example but this way of doing things has
disadvantages that other here has pointed out.
>> > AARRRGGGGHHHH!!! As if we don't don't have enough complexity as it is.
>
>> We are supposed to grow with it...
>
> We're supposed to fight it on the beaches, ...... ;-)
Yes, we are ...
- Blunderbuss ".dir-locals.el" raises everything in its path!!, Alan Mackenzie, 2009/07/12
- 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
- Re: Add file-locals and dir-locals, Juri Linkov, 2009/07/18
- Re: Add file-locals and dir-locals, martin rudalics, 2009/07/19
- Re: Add file-locals and dir-locals, Juri Linkov, 2009/07/19
- Re: Add file-locals and dir-locals, Leo, 2009/07/20
- Re: Add file-locals and dir-locals, Juri Linkov, 2009/07/21
- Re: Add file-locals and dir-locals, Leo, 2009/07/21