GNU bug report logs - #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

Previous Next

Package: emacs;

Reported by: Vardhan Varma <vardhan.varma <at> xilinx.com>

Date: Fri, 2 Mar 2012 16:38:01 UTC

Severity: normal

Tags: notabug

Found in version 24.0.94

Fixed in version 24.0.95

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Vardhan Varma <vardhan.varma <at> xilinx.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 10928 <at> debbugs.gnu.org
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
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.






This bug report was last modified 13 years and 154 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.