unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Sergio Pokrovskij <sergio.pokrovskij@gmail.com>
Cc: 17489@debbugs.gnu.org
Subject: bug#17489: 24.3; Major mode spec in .dir-locals.el breaks dired
Date: Wed, 14 May 2014 21:17:36 +0300	[thread overview]
Message-ID: <83oaz0ns1r.fsf@gnu.org> (raw)
In-Reply-To: <87vbt846jk.fsf@gmail.com>

> From: Sergio Pokrovskij <sergio.pokrovskij@gmail.com>
> Cc: 17489@debbugs.gnu.org
> Date: Thu, 15 May 2014 00:24:47 +0700
> 
>   Eli> IOW, why isn't that .dir-locals.el setting of yours not a
>   Eli> cockpit error?
> 
> Because there is no appropriate means to impose a reasonable
> condition.  Just the "nil" or a major mode name.  It may happen
> that I do not know the a-priori mode; actually it is mode that I
> would like to set.

Why would someone want to apply a fixed major mode to all the files in
a directory?

> ,----
> | Whenever Emacs visits any file IN THAT DIRECTORY or any of its
> | subdirectories, it will apply the directory-local variables
> | specified in `.dir-locals.el', AS THOUGH THEY HAD BEEN DEFINED AS
> | FILE-LOCAL VARIABLES for that file ...
> `----

Are you saying that "." is not a file?





  parent reply	other threads:[~2014-05-14 18:17 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
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 [this message]
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=83oaz0ns1r.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=17489@debbugs.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).