all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: Tom Tromey  <tromey@redhat.com>
Cc: 2833@emacsbugs.donarmstrong.com
Subject: bug#2833: 23.0.92; Bug in Directory Variables
Date: Thu, 02 Apr 2009 14:50:42 -0400	[thread overview]
Message-ID: <87skkqzy7x.fsf@cyd.mit.edu> (raw)

> I think there's a bug in directory variables code, that is, changing
> the directory variables would require a restart of Emacs for them to
> take effect.

Tom, could you please take a shot at implementing this?  It may be too
late in the release to put this in 23.1 (depending on how complicated
the change turns out to be), but this problem definitely needs fixing at
some point.

I guess this is what the following comment in files.el is referring to:

(defun dir-locals-read-from-file (file)
  "Load a variables FILE and register a new class and instance.
FILE is the name of the file holding the variables to apply.
The new class name is the same as the directory in which FILE
is found.  Returns the new class name."
  (with-temp-buffer
    ;; We should probably store the modtime of FILE and then
    ;; reload it whenever it changes.
    (insert-file-contents file)






             reply	other threads:[~2009-04-02 18:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-02 18:50 Chong Yidong [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-04-11 15:31 bug#2833: 23.0.92; Bug in Directory Variables Chong Yidong
2009-04-12 13:22 ` Leo
2009-04-09  2:59 Chong Yidong
2009-04-09 11:03 ` bug#2833: " David De La Harpe Golden
2009-04-09 14:27 ` Stefan Monnier
2009-04-09 15:20   ` Chong Yidong
2009-04-09  2:59 Chong Yidong
2009-04-09 11:31 ` Leo
2009-03-31 14:32 Leo
2009-04-01  1:14 ` Stefan Monnier
2009-04-01 10:01   ` Leo

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=87skkqzy7x.fsf@cyd.mit.edu \
    --to=cyd@stupidchicken.com \
    --cc=2833@emacsbugs.donarmstrong.com \
    --cc=tromey@redhat.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 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.