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: Glenn Morris <rgm <at> gnu.org>
To: Eli Zaretskii <eliz <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 14:29:25 -0400
Eli Zaretskii wrote:

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

I'm sure it makes sense to the OP.

Dired buffers have buffer-file-name = nil so IMO can quite reasonably be
viewed as not visiting files.




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.