emacs-devel
[Top][All Lists]
Advanced

[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 ...




reply via email to

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