[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Tue, 24 Feb 2015 16:08:30 -0500
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
> I get this error:
> Error reading dir-locals: (file-error "Read error" "is a directory"
It's a message, not an error (unless you have debug-on-error non-nil).
It sounds like your smb share is returning weird file results.
See eg http://debbugs.gnu.org/10928
ls -l /smb/.dir-locals.el
ls -ld /smb/.dir-locals.el
> Setting the obsolete variable automount-dir-prefix as
> (setq automount-dir-prefix "^/smb/")
> makes no difference.
> Setting its replacement
> (setq directory-abbrev-alist '(("^/smb/" . "/"))
> makes the opening fail.
> What is the workaround for this?
Adding an entry for /smb to locate-dominating-stop-dir-regexp ought to
avoid the issue:
net\\|afs -> net\\|afs\\|smb
> (Works fine on xemacs ...)
XEmacs doesn't have directory local variables, does it?
For a slightly less antediluvian experience, you could revert to Emacs
22.3, which doesn't have them either. ;)