From: Glenn Morris <rgm@gnu.org>
To: "Arne Jørgensen" <arne@arnested.dk>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Problem with `dir-locals-set-class-variables'
Date: Fri, 06 Apr 2012 12:26:17 -0400 [thread overview]
Message-ID: <0gbon4su6u.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <m2k41t6zb2.fsf@arnested.dk> ("Arne Jørgensen"'s message of "Fri, 06 Apr 2012 10:26:41 +0200")
Arne Jørgensen wrote:
> But if I want to use the other form of `dir-locals-set-class-variables'
> where variables is of the form (DIRECTORY . LIST) like this:
>
> (dir-locals-set-class-variables 'my-test '(("~/my-test-dir" . ((nil . ((my-test-var . "some-value")))))))
>
> and then visit a file i.e. ~/my-test-dir/my-test-file the variable is
> NOT applied.
I don't see this form documented anywhere. What makes you think it
should work?
C-h f dir-locals-set-class-variables
(dir-locals-set-directory-class DIRECTORY CLASS &optional MTIME)
[...]
CLASS is the name of a project class, a symbol.
next prev parent reply other threads:[~2012-04-06 16:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-06 8:26 Problem with `dir-locals-set-class-variables' Arne Jørgensen
2012-04-06 16:26 ` Glenn Morris [this message]
[not found] ` <mailman.660.1333729584.20052.help-gnu-emacs@gnu.org>
2012-04-08 9:09 ` Arne Jørgensen
2012-04-09 7:05 ` Glenn Morris
[not found] ` <mailman.781.1333955155.20052.help-gnu-emacs@gnu.org>
2012-04-09 16:24 ` Arne Jørgensen
2012-04-11 16:36 ` Glenn Morris
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0gbon4su6u.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=arne@arnested.dk \
--cc=help-gnu-emacs@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.