GNU bug report logs - #17489
24.3; Major mode spec in .dir-locals.el breaks dired

Previous Next

Package: emacs;

Reported by: Sergio Pokrovskij <sergio.pokrovskij <at> gmail.com>

Date: Wed, 14 May 2014 07:29:01 UTC

Severity: minor

Merged with 13685

Found in version 24.3

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: sergio.pokrovskij <at> gmail.com, 17489 <at> debbugs.gnu.org
Subject: bug#17489: 24.3; Major mode spec in .dir-locals.el breaks dired
Date: Wed, 14 May 2014 21:20:02 +0300
> From: Glenn Morris <rgm <at> gnu.org>
> Date: Wed, 14 May 2014 13:38:20 -0400
> Cc: 17489 <at> debbugs.gnu.org
> 
> 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.




This bug report was last modified 3 years and 112 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.