all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: HASM <netnews@invalid.com>
To: help-gnu-emacs@gnu.org
Subject: .dir-locals/automount
Date: Tue, 24 Feb 2015 09:20:08 -0800	[thread overview]
Message-ID: <871tlf6xbr.fsf@127.0.0.1> (raw)


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


             reply	other threads:[~2015-02-24 17:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-24 17:20 HASM [this message]
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

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=871tlf6xbr.fsf@127.0.0.1 \
    --to=netnews@invalid.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.