Subject: bug#17489: 24.3; Major mode spec in .dir-locals.el breaks dired

From: Eli Zaretskii <[email-masked]>
Date: Wed, 14 May 2014 21:20:02 +0300

> From: Glenn Morris <[email-masked]>
> Date: Wed, 14 May 2014 13:38:20 -0400
> Cc: [email-masked]
> 
> Although we could probably treat this specific example specially, and
> just say that it never (?) makes sense for a dir-local `mode' to apply to
> non-file buffers.

Arguably, it makes no sense to apply the same fixed mode to all the
files in a directory, either.

>From my POV, the .dire-locals.el facility has some serious
limitations, and this one is one of them.  Kludging over it will never
cut it, we will promptly need to apply more kludges on top of that.