Subject: bug#10928: 24.0.94; dired-mode on /proj/foo/bar gives error : dir-locals-read-from-file: Opening input file: No such file or directory, /proj/.dir-locals.el

From: Vardhan Varma <[email-masked]>
Date: Sat, 3 Mar 2012 02:05:13 +0800

Hi Glenn Morris,

> 
> >   Opening dired-mode on a directory which starts with '/proj/' give
> >   following error :
> >
> > dir-locals-read-from-file: Opening input file: No such file or
> > directory, /proj/.dir-locals.el
> 
> Thanks for the report, but I cannot reproduce this. I tried:
> 
> mkdir -p /proj/foo/bar
> touch /proj/foo/bar/qux
> emacs -Q
> C-x d /proj/foo/bar RET
> 
> Please can you give a recipe starting from emacs -Q?
> 
> > In GNU Emacs 24.0.94.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.10.

I again installed from emacs from :
-rw-r--r--  1 vardhan users 51251891 Feb 27 09:17 emacs-24.0.94.tar.gz

And run 'emacs -Q' and got the same message trying to access
/proj/foo/bar

On the machine, '/proj' is a nfs mounted directory .. if it helps you !

I also got following message on trying to open a file:
Directory-local variables error: (file-error "Opening input file" "No
such file or directory" "/proj/.dir-locals.el")

But the file opens without any problem, and the message is only in
*Messages* buffer.

I looked in dired-x , and found variable enable-local-variables .

When i did a (set-variable 'enable-local-variables ()), i stopped
getting
these messages !!

If this doesn't help you in finding the problem,
I can try all the stuff on another machine

Thanx for the great work in developing emacs.

--
Vardhan

This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.