all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs trying to read .dir-locals.el that doesn't exist
@ 2013-11-01 18:16 Doug Lewan
  0 siblings, 0 replies; 2+ messages in thread
From: Doug Lewan @ 2013-11-01 18:16 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

All,

When I want to read a file from an NFS-mounted file system I get the following error:
    Error reading dir-locals: (file-error "Opening input file" "not a directory" "/cygdrive/q/.../tt.pl/.dir-locals.el")
In this case, the file I wanted was tt.pl.

I'd prefer not to get that error. Any ideas?

Here's what I have found. This is most likely from (ange-ftp-barf-if-not-directory) and it is called from 3 places: (ange-ftp-directory-files), (ange-ftp-filename-all-completions) and (ange-ftp-filename-completion). I can imagine any of those 3 being invoked under M-x find-file, but haven't found the connection yet. (And, I would think, an NFS mounted file system is still just a file system. It's not obvious that ange-ftp has to get involved.)

Details: 
    GNU emacs 24.3
    CYGWIN 64 bit on Windows 8 (updated weekly)
    NFS: OpenText NFS client 16, 64 bit

,Douglas
Douglas Lewan
Shubert Ticketing
(201) 489-8600 ext 224

These are my principles and if you don't like them... well, I have others. - Groucho Marx




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

* Emacs trying to read .dir-locals.el that doesn't exist
@ 2017-04-16 16:05 Alexandre Oberlin
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Oberlin @ 2017-04-16 16:05 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

Error reading dir-locals: (file-error "Opening input file" "Not a  
directory"  
"/home/all/alex_r/works/squashfs/build-distro-livestick.txt/.dir-locals.el")

I get this as well when there are no symlinks in the path.


GNU Emacs 25.2.1 (i686-pc-cygwin)  of 2017-03-23


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

end of thread, other threads:[~2017-04-16 16:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-16 16:05 Emacs trying to read .dir-locals.el that doesn't exist Alexandre Oberlin
  -- strict thread matches above, loose matches on Subject: below --
2013-11-01 18:16 Doug Lewan

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.