bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Glenn Morris
Subject: bug#17489: 24.3; Major mode spec in .dir-locals.el breaks dired
Date: Wed, 14 May 2014 14:29:25 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Eli Zaretskii wrote:

>> From: Glenn Morris <rgm@gnu.org>
>> Date: Wed, 14 May 2014 13:38:20 -0400
>> Cc: 17489@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.





reply via email to

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