unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* .dir-locals/automount
@ 2015-02-24 17:20 HASM
  2015-02-24 21:08 ` .dir-locals/automount Glenn Morris
       [not found] ` <mailman.776.1424812114.31049.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: HASM @ 2015-02-24 17:20 UTC (permalink / raw)
  To: help-gnu-emacs


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-24 22:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-24 17:20 .dir-locals/automount HASM
2015-02-24 21:08 ` .dir-locals/automount Glenn Morris
     [not found] ` <mailman.776.1424812114.31049.help-gnu-emacs@gnu.org>
2015-02-24 22:40   ` .dir-locals/automount HASM

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).