From: Teemu Likonen <tlikonen@iki.fi>
To: 3577@emacsbugs.donarmstrong.com
Subject: bug#3577: 23.0.94; Info manual does not explain MTIME argument for dir-locals-set-directory-class
Date: Thu, 18 Jun 2009 08:25:48 +0300 [thread overview]
Message-ID: <87ws7aglk3.fsf@iki.fi> (raw)
In-Reply-To: <87hbyhe8uk.fsf@iki.fi> (Teemu Likonen's message of "Mon, 15 Jun 2009 19:54:11 +0300")
On 2009-06-15 19:54 (+0300), Teemu Likonen wrote:
> Info nodes
>
> (emacs) Directory Variables
> (elisp) Directory Local Variables
>
> explain or give examples of function dir-locals-set-directory-class but
> neither of them mentions the mandatory third argument MTIME.
It other words if I copy the example from "(emacs) Directory Variables"
and perhaps use my own variables:
(dir-locals-set-class-variables 'unwritable-directory
'((nil . ((fill-column . 78)))))
(dir-locals-set-directory-class
"/usr/include/" 'unwritable-directory)
I get this:
Debugger entered--Lisp error: (wrong-number-of-arguments #[(directory
class mtime) [...]
[directory class dir-locals-class-alist mtime dir-locals-directory-cache file-name-as-directory expand-file-name error "No such class `%s'" symbol-name] 4 1821511] 2)
dir-locals-set-directory-class("/usr/include/" unwritable-directory)
eval((dir-locals-set-directory-class "/usr/include/" (quote unwritable-directory)))
eval-last-sexp-1(nil)
eval-last-sexp(nil)
call-interactively(eval-last-sexp nil nil)
next prev parent reply other threads:[~2009-06-18 5:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-15 16:54 bug#3577: 23.0.94; Info manual does not explain MTIME argument for dir-locals-set-directory-class Teemu Likonen
2009-06-18 5:25 ` Teemu Likonen [this message]
2009-06-18 6:58 ` Glenn Morris
2009-06-18 7:44 ` Teemu Likonen
2011-02-25 7:58 ` Glenn Morris
2011-02-25 8:08 ` 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
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=87ws7aglk3.fsf@iki.fi \
--to=tlikonen@iki.fi \
--cc=3577@emacsbugs.donarmstrong.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).