From: Glenn Morris <rgm@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: sergio.pokrovskij@gmail.com, 17489@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 [thread overview]
Message-ID: <5dsiocrz7e.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <83mweknrxp.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 14 May 2014 21:20:02 +0300")
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.
next prev parent reply other threads:[~2014-05-14 18:29 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-14 7:14 bug#17489: 24.3; Major mode spec in .dir-locals.el breaks dired Sergio Pokrovskij
2014-05-14 15:10 ` Eli Zaretskii
2014-05-14 16:56 ` Stefan Monnier
2014-05-14 17:24 ` Sergio Pokrovskij
2014-05-14 17:31 ` Glenn Morris
2014-05-14 17:38 ` Glenn Morris
2014-05-14 18:20 ` Eli Zaretskii
2014-05-14 18:29 ` Glenn Morris [this message]
2014-05-14 18:40 ` Eli Zaretskii
2014-05-14 19:01 ` Glenn Morris
2014-05-14 19:38 ` Eli Zaretskii
2014-05-14 19:40 ` Glenn Morris
2022-02-22 14:29 ` Lars Ingebrigtsen
2014-05-14 18:17 ` Eli Zaretskii
2014-05-15 0:39 ` Sergio Pokrovskij
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5dsiocrz7e.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=17489@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=sergio.pokrovskij@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).