[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
.dir-locals/automount
From: |
HASM |
Subject: |
.dir-locals/automount |
Date: |
Tue, 24 Feb 2015 09:20:08 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
In my machine I have two automount points:
/net -hosts
which allows me to go to
/net/host/path/to/remote/file/on/host
and
/smb (complicated automount map)
which allows me to to go
/smb/windows_host/share/path/to/file/on/windows_host/share
the "complicated automount map" makes
/smb/windows_host
another mount point of type autofs
In emacs 24.4.1 when I open
/net/host/path/to/remote/file/on/host
things seem to work fine, when I try to open
/smb/windows_host/share/path/to/file/on/windows_host/share
I get this error:
Error reading dir-locals: (file-error "Read error" "is a directory"
"/smb/.dir-locals.el")
Note that until first (auto)mount, neither /smb/windows_host nor
/smb/windows_host/share, exist on the system.
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? (Works fine on xemacs ...)
-- HASM
- .dir-locals/automount,
HASM <=