From unknown Fri Sep 12 12:20:27 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#10928 <10928@debbugs.gnu.org> To: bug#10928 <10928@debbugs.gnu.org> Subject: Status: 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 Reply-To: bug#10928 <10928@debbugs.gnu.org> Date: Fri, 12 Sep 2025 19:20:27 +0000 retitle 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 reassign 10928 emacs submitter 10928 Vardhan Varma severity 10928 normal tag 10928 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 02 11:37:22 2012 Received: (at submit) by debbugs.gnu.org; 2 Mar 2012 16:37:22 +0000 Received: from localhost ([127.0.0.1]:58909 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3VTr-0006hr-Ua for submit@debbugs.gnu.org; Fri, 02 Mar 2012 11:37:22 -0500 Received: from eggs.gnu.org ([208.118.235.92]:39016) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3QTX-0006uh-JQ for submit@debbugs.gnu.org; Fri, 02 Mar 2012 06:16:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3QSy-0001M8-2u for submit@debbugs.gnu.org; Fri, 02 Mar 2012 06:16:09 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00,HTML_MESSAGE, RECEIVED_FROM_WINDOWS_HOST autolearn=no version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:37504) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3QSx-0001Lp-Va for submit@debbugs.gnu.org; Fri, 02 Mar 2012 06:16:04 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3QSr-0007Gb-99 for bug-gnu-emacs@gnu.org; Fri, 02 Mar 2012 06:16:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3QSn-0001Hg-9D for bug-gnu-emacs@gnu.org; Fri, 02 Mar 2012 06:15:56 -0500 Received: from va3ehsobe005.messaging.microsoft.com ([216.32.180.31]:22584 helo=VA3EHSOBE009.bigfish.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3QSn-0001HU-3t for bug-gnu-emacs@gnu.org; Fri, 02 Mar 2012 06:15:53 -0500 Received: from mail30-va3-R.bigfish.com (10.7.14.246) by VA3EHSOBE009.bigfish.com (10.7.40.29) with Microsoft SMTP Server id 14.1.225.23; Fri, 2 Mar 2012 10:45:43 +0000 Received: from mail30-va3 (localhost [127.0.0.1]) by mail30-va3-R.bigfish.com (Postfix) with ESMTP id D486E1C006C for ; Fri, 2 Mar 2012 10:45:43 +0000 (UTC) X-SpamScore: -8 X-BigFish: VPS-8(z21eNz936eKc85fhzz1202hzz8275bh8275dhz2fh95h668h839h906i) X-Forefront-Antispam-Report: CIP:149.199.60.83; KIP:(null); UIP:(null); IPV:NLI; H:xsj-gw1; RD:unknown-60-83.xilinx.com; EFVD:NLI Received-SPF: pass (mail30-va3: domain of xilinx.com designates 149.199.60.83 as permitted sender) client-ip=149.199.60.83; envelope-from=vardhan.varma@xilinx.com; helo=xsj-gw1 ; helo=xsj-gw1 ; Received: from mail30-va3 (localhost.localdomain [127.0.0.1]) by mail30-va3 (MessageSwitch) id 1330685140243501_3442; Fri, 2 Mar 2012 10:45:40 +0000 (UTC) Received: from VA3EHSMHS027.bigfish.com (unknown [10.7.14.238]) by mail30-va3.bigfish.com (Postfix) with ESMTP id 2A7461A0047 for ; Fri, 2 Mar 2012 10:45:40 +0000 (UTC) Received: from xsj-gw1 (149.199.60.83) by VA3EHSMHS027.bigfish.com (10.7.99.37) with Microsoft SMTP Server id 14.1.225.23; Fri, 2 Mar 2012 10:45:39 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-smtp1.xilinx.com) by xsj-gw1 with esmtp (Exim 4.63) (envelope-from ) id 1S3PzX-0004O7-80 for bug-gnu-emacs@gnu.org; Fri, 02 Mar 2012 02:45:39 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CCF861.9A07F0FA" Subject: 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: Fri, 2 Mar 2012 18:45:35 +0800 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 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 thread-index: Acz4YZmd0ywQ9H7hRqWlwM7kDZbIkQ== From: Vardhan Varma To: X-OriginalArrivalTime: 02 Mar 2012 10:45:37.0114 (UTC) FILETIME=[9A4CC3A0:01CCF861] X-RCIS-Action: ALLOW Message-ID: <9a463078-3008-4658-8349-be5f28d786f8@VA3EHSMHS027.ehs.local> X-OriginatorOrg: xilinx.com X-detected-operating-system: by eggs.gnu.org: Windows XP/2000 (RFC1323+, w+, tstamp-) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 02 Mar 2012 11:37:08 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) ------_=_NextPart_001_01CCF861.9A07F0FA Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Problem: 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 = After this, the buffer comes out blank. Pressing 'g' in the buffer displays the dired-mode properly = -Thanx = = = = = = In GNU Emacs 24.0.94.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.10.4) of 2012-03-02 on _machine_name_ Configured using: `configure '--prefix=3D/scratch/sw' 'CFLAGS=3D-I/scratch/sw/include' 'LDFLAGS=3D-L/scratch/sw/lib'' = Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t = Major mode: Fundamental = Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t = Recent input: ESC [ > 0 ; 1 3 6 ; 0 c C-x C-f / p r o j / m i g RET C-x b * M e s TAB RET ESC x r e p o TAB TAB r TAB - TAB RET d i r s - l o c a l RET ESC O B ESC O B ESC O B ESC O B ESC O C ESC O C ESC O C RET ESC O A ESC O B RET ESC O A ESC O B ESC x ESC O A C-e ESC DEL ESC DEL ESC DEL ESC DEL TAB RET = Recent messages: ("emacs") For information about GNU Emacs and the GNU system, type C-h C-a. dir-locals-read-from-file: Opening input file: No such file or directory, /proj/.dir-locals.el Making completion list... Using a proxy for http... Contacting host: proxy:8080 Reporting new bug! [2 times] = Load-path shadows: None found. = Features: (shadow sort mail-extr wid-edit network-stream starttls url-cache url-http tls url-gw url-auth url url-proxy url-privacy url-expand url-methods url-history url-cookie url-util url-parse auth-source eieio byte-opt bytecomp byte-compile cconv macroexp assoc gnus-util password-cache url-vars mailcap emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-mode easymenu view dired regexp-opt time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) = This email and any attachments are intended for the sole use of the named r= ecipient(s) and contain(s) confidential information that may be proprietary= , privileged or copyrighted under applicable law. If you are not the intend= ed recipient, do not read, copy, or forward this email message or any attac= hments. Delete this email message and any attachments immediately. ------_=_NextPart_001_01CCF861.9A07F0FA Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Problem:

  Opening dired-mode on a directory which = starts with '/proj/' give

  followi= ng error :

 

dir-locals-read-from-file: Opening input file: No such file or= directory, /proj/.dir-locals.el

&n= bsp;

  After this, the buffer comes out = blank.

  Pressing 'g' in the buffer= displays the dired-mode properly

&= nbsp;

-Thanx

 

 

 

 

 

 =

In GNU Emacs 24.0.94.1 (x86_64-unknown-linux= -gnu, GTK+ Version 2.10.4)

of 2012-03-0= 2 on _machine_name_

Configured using:

`configure '--prefix=3D/scratch/sw' 'CFLA= GS=3D-I/scratch/sw/include'

'LDFLAGS=3D= -L/scratch/sw/lib''

 

Important settings:

  value of $LC_ALL: nil

  va= lue of $LC_COLLATE: nil

  value of = $LC_CTYPE: nil

  value of $LC_MESSA= GES: nil

  value of $LC_MONETARY: n= il

  value of $LC_NUMERIC: nil=

  value of $LC_TIME: nil

=

  value of $LANG: nil

  value of $XMODIFIERS: nil

  locale-coding-system: nil

 = default enable-multibyte-characters: t

=  

Major mode: Fundamental

 

Minor m= odes in effect:

  tooltip-mode: t

  mouse-wheel-mode: t

=

  tool-bar-mode: t

  menu-bar-mode: t

  file= -name-shadow-mode: t

  global-font-= lock-mode: t

  auto-composition-mod= e: t

  auto-encryption-mode: t=

  auto-compression-mode: t

  line-number-mode: t

  transient-mark-mode: t

=  

Recent input:

ESC [ > 0 ; 1 3 6 ; 0 c C-x C-f / p r o j / m i g RET

C-x b * M e s TAB RET ESC x r e p o TAB TA= B r TAB -

TAB RET d i r s - l o c a l RE= T ESC O B ESC O B ESC

O B ESC O B ESC O = C ESC O C ESC O C RET ESC O A ESC

O B RE= T ESC O A ESC O B ESC x ESC O A C-e ESC DEL ESC

DEL ESC DEL ESC DEL TAB RET

 

Recent messages:

("emacs")

For i= nformation about GNU Emacs and the GNU system, type C-h C-a.

=

dir-locals-read-from-file: Opening input file: No such= file or directory, /proj/.dir-locals.el

Making completion list...

Using a proxy= for http...

Contacting host: proxy:8080=

Reporting new bug! [2 times]=

 

Load-pat= h shadows:

None found.

 

Features:<= /o:p>

(shadow sort mail-extr wid-edit network-strea= m starttls url-cache

url-http tls url-gw= url-auth url url-proxy url-privacy url-expand

url-methods url-history url-cookie url-util url-parse auth-source ei= eio

byte-opt bytecomp byte-compile cconv= macroexp assoc gnus-util

password-cache= url-vars mailcap emacsbug message format-spec rfc822 mml

mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 = mailabbrev

gmm-utils mailheader sendmail= rfc2047 rfc2045 ietf-drums mm-util

mail= -prsvr mail-utils help-mode easymenu view dired regexp-opt time-date

tooltip ediff-hook vc-hooks lisp-float-type mw= heel x-win x-dnd tool-bar

dnd fontset im= age fringe lisp-mode register page menu-bar rfn-eshadow

timer select scroll-bar mouse jit-lock font-lock syntax fac= emenu

font-core frame cham georgian utf-= 8-lang misc-lang vietnamese tibetan

thai= tai-viet lao korean japanese hebrew greek romanian slovak czech=

european ethiopic indian cyrillic chinese case-tab= le epa-hook

jka-cmpr-hook help simple ab= brev minibuffer loaddefs button faces

cu= s-face files text-properties overlay sha1 md5 base64 format env<= /p>

code-pages mule custom widget hashtable-print-reada= ble backquote

make-network-process dbusb= ind dynamic-setting system-font-setting

= font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)

 


This = email and any attachments are intended for the sole use of the named recipi= ent(s) and contain(s) confidential information that may be proprietary, pri= vileged or copyrighted under applicable law. If you are not the intended re= cipient, do not read, copy, or forward this email message or any attachment= s. Delete this email message and any attachments immediately. ------_=_NextPart_001_01CCF861.9A07F0FA-- From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 02 12:31:50 2012 Received: (at 10928) by debbugs.gnu.org; 2 Mar 2012 17:31:50 +0000 Received: from localhost ([127.0.0.1]:58979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3WKb-0007zl-EL for submit@debbugs.gnu.org; Fri, 02 Mar 2012 12:31:50 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:40805) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3WKP-0007zO-H5 for 10928@debbugs.gnu.org; Fri, 02 Mar 2012 12:31:38 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1S3WJq-0008Ug-Lq; Fri, 02 Mar 2012 12:31:03 -0500 From: Glenn Morris To: Vardhan Varma Subject: Re: 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 References: <9a463078-3008-4658-8349-be5f28d786f8@VA3EHSMHS027.ehs.local> X-Spook: Albanian USCODE SSL S Key Lon Horiuchi STARLAN Gazprom ASO X-Ran: tS+D1+$y(wD&sQ6xVMln|1"N41tu"eiB-#`vj_4uT~>4 (Vardhan Varma's message of "Fri, 2 Mar 2012 18:45:35 +0800") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 10928 Cc: 10928@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) Vardhan Varma wrote: > 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.4) From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 02 13:08:03 2012 Received: (at 10928) by debbugs.gnu.org; 2 Mar 2012 18:08:03 +0000 Received: from localhost ([127.0.0.1]:59004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3Wtf-0000Oq-GR for submit@debbugs.gnu.org; Fri, 02 Mar 2012 13:08:03 -0500 Received: from [216.32.180.13] (port=20245 helo=VA3EHSOBE005.bigfish.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3WsG-0000Mc-KW for 10928@debbugs.gnu.org; Fri, 02 Mar 2012 13:07:03 -0500 Received: from mail102-va3-R.bigfish.com (10.7.14.253) by VA3EHSOBE005.bigfish.com (10.7.40.25) with Microsoft SMTP Server id 14.1.225.23; Fri, 2 Mar 2012 18:05:24 +0000 Received: from mail102-va3 (localhost [127.0.0.1]) by mail102-va3-R.bigfish.com (Postfix) with ESMTP id F133E34048B; Fri, 2 Mar 2012 18:05:23 +0000 (UTC) X-SpamScore: -16 X-BigFish: VPS-16(z21eNz1432N1447Mzz1202hzzz2fh95h668h839h944h906i) X-Forefront-Antispam-Report: CIP:149.199.60.83; KIP:(null); UIP:(null); IPV:NLI; H:xsj-gw1; RD:unknown-60-83.xilinx.com; EFVD:NLI Received-SPF: pass (mail102-va3: domain of xilinx.com designates 149.199.60.83 as permitted sender) client-ip=149.199.60.83; envelope-from=vardhan.varma@xilinx.com; helo=xsj-gw1 ; helo=xsj-gw1 ; Received: from mail102-va3 (localhost.localdomain [127.0.0.1]) by mail102-va3 (MessageSwitch) id 133071152215809_6594; Fri, 2 Mar 2012 18:05:22 +0000 (UTC) Received: from VA3EHSMHS012.bigfish.com (unknown [10.7.14.249]) by mail102-va3.bigfish.com (Postfix) with ESMTP id F24552C025E; Fri, 2 Mar 2012 18:05:21 +0000 (UTC) Received: from xsj-gw1 (149.199.60.83) by VA3EHSMHS012.bigfish.com (10.7.99.22) with Microsoft SMTP Server id 14.1.225.23; Fri, 2 Mar 2012 18:05:19 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-smtp1.xilinx.com) by xsj-gw1 with esmtp (Exim 4.63) (envelope-from ) id 1S3Wr0-0007k5-Mh; Fri, 02 Mar 2012 10:05:18 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: 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 In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 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 thread-index: Acz4mkZiyK/zGm4lSk2yLRxLxLaxGwAAzKGw References: <9a463078-3008-4658-8349-be5f28d786f8@VA3EHSMHS027.ehs.local> From: Vardhan Varma To: Glenn Morris X-OriginalArrivalTime: 02 Mar 2012 18:05:16.0664 (UTC) FILETIME=[05BCA780:01CCF89F] X-RCIS-Action: ALLOW Message-ID: X-OriginatorOrg: xilinx.com X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: 10928 Cc: 10928@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.1 (-) 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 r= ecipient(s) and contain(s) confidential information that may be proprietary= , privileged or copyrighted under applicable law. If you are not the intend= ed recipient, do not read, copy, or forward this email message or any attac= hments. Delete this email message and any attachments immediately. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 02 15:19:14 2012 Received: (at 10928) by debbugs.gnu.org; 2 Mar 2012 20:19:14 +0000 Received: from localhost ([127.0.0.1]:59343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3Ywb-0003WB-Bg for submit@debbugs.gnu.org; Fri, 02 Mar 2012 15:19:14 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:43645) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3YwO-0003VY-6K for 10928@debbugs.gnu.org; Fri, 02 Mar 2012 15:19:01 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1S3Yvr-0001BA-0a; Fri, 02 Mar 2012 15:18:27 -0500 From: Glenn Morris To: Vardhan Varma Subject: Re: 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 References: <9a463078-3008-4658-8349-be5f28d786f8@VA3EHSMHS027.ehs.local> X-Spook: ASO M-14 Guantanamo AMEMB warfare Albania Arnett condor X-Ran: duy"xQCtrkZRVc2P.l+@YQ.ue (Vardhan Varma's message of "Sat, 3 Mar 2012 02:05:13 +0800") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 10928 Cc: 10928@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) Vardhan Varma wrote: > On the machine, '/proj' is a nfs mounted directory .. if it helps you ! I tried with an nfs-mounted /proj, it still works for me. Does this only happen with directories literally called "/proj"? > 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") What does ls -l /proj/.dir-locals.el say in a shell? What does emacs -Q M-: (dir-locals-find-file "/proj/foo/bar") RET return? From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 05 05:26:11 2012 Received: (at 10928) by debbugs.gnu.org; 5 Mar 2012 10:26:11 +0000 Received: from localhost ([127.0.0.1]:33659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4V7K-0004ZK-8Y for submit@debbugs.gnu.org; Mon, 05 Mar 2012 05:26:10 -0500 Received: from tx2ehsobe002.messaging.microsoft.com ([65.55.88.12]:7755 helo=tx2outboundpool.messaging.microsoft.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4V78-0004Yy-D6 for 10928@debbugs.gnu.org; Mon, 05 Mar 2012 05:25:59 -0500 Received: from mail91-tx2-R.bigfish.com (10.9.14.241) by TX2EHSOBE005.bigfish.com (10.9.40.25) with Microsoft SMTP Server id 14.1.225.23; Mon, 5 Mar 2012 10:25:10 +0000 Received: from mail91-tx2 (localhost [127.0.0.1]) by mail91-tx2-R.bigfish.com (Postfix) with ESMTP id 941554042A; Mon, 5 Mar 2012 10:25:10 +0000 (UTC) X-SpamScore: -11 X-BigFish: VPS-11(z21eNz1432Nzz1202hzzz2fh95h668h839h944h906i) X-Forefront-Antispam-Report: CIP:149.199.60.83; KIP:(null); UIP:(null); IPV:NLI; H:xsj-gw1; RD:unknown-60-83.xilinx.com; EFVD:NLI Received-SPF: pass (mail91-tx2: domain of xilinx.com designates 149.199.60.83 as permitted sender) client-ip=149.199.60.83; envelope-from=vardhan.varma@xilinx.com; helo=xsj-gw1 ; helo=xsj-gw1 ; Received: from mail91-tx2 (localhost.localdomain [127.0.0.1]) by mail91-tx2 (MessageSwitch) id 1330943108251560_29113; Mon, 5 Mar 2012 10:25:08 +0000 (UTC) Received: from TX2EHSMHS021.bigfish.com (unknown [10.9.14.236]) by mail91-tx2.bigfish.com (Postfix) with ESMTP id 2E3A23E004B; Mon, 5 Mar 2012 10:25:08 +0000 (UTC) Received: from xsj-gw1 (149.199.60.83) by TX2EHSMHS021.bigfish.com (10.9.99.121) with Microsoft SMTP Server id 14.1.225.23; Mon, 5 Mar 2012 10:25:06 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-smtp1.xilinx.com) by xsj-gw1 with esmtp (Exim 4.63) (envelope-from ) id 1S4V6I-0002FH-7s; Mon, 05 Mar 2012 02:25:06 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: 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: Mon, 5 Mar 2012 18:25:01 +0800 In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 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 thread-index: Acz4sabYGByiHj9/S0u6wBGNP2tdNACBlwAw References: <9a463078-3008-4658-8349-be5f28d786f8@VA3EHSMHS027.ehs.local> From: Vardhan Varma To: Glenn Morris X-OriginalArrivalTime: 05 Mar 2012 10:25:02.0556 (UTC) FILETIME=[39AF69C0:01CCFABA] X-RCIS-Action: ALLOW Message-ID: X-OriginatorOrg: xilinx.com X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 10928 Cc: 10928@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) hi Glenn, > > On the machine, '/proj' is a nfs mounted directory .. if it helps you ! > = > I tried with an nfs-mounted /proj, it still works for me. > Does this only happen with directories literally called "/proj"? > = Yes, this is happening only with directories and files inside the '/proj/' tree. = > > 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") > = > What does > = > ls -l /proj/.dir-locals.el > = > say in a shell? Thanx for asking .. suddenly i'm enlightned ... $ ls -l /proj/.dir-locals.el ls: /proj/.dir-locals.el: No such file or directory $ ls -dl /proj/.dir-locals.el dr-xr-xr-x 2 root root 0 Jan 5 02:33 /proj/.dir-locals.el To me, it looks like the automount is playing some tricks .. initially it tells emacs that this exists = and when emacs tries to read it .. it tells that it doesn't exist ... or something like that ... And i'm sorry for giving partial info .. /proj is nfs and is auto mounted.. Here is the strace of calls that emacs is doing ... stat("/proj/foo/bar/qux/.dir-locals.el", 0x7fff6e27f590) =3D -1 ENOENT (No such file or directory) stat("/proj/foo/bar/.dir-locals.el", 0x7fff6e27f590) =3D -1 ENOENT (No such file or directory) stat("/proj/foo/.dir-locals.el", 0x7fff6e27f590) =3D -1 ENOENT (No such file or directory) stat("/proj/.dir-locals.el", {st_mode=3DS_IFDIR|0555, st_size=3D0, ...}) = =3D 0 stat("/proj/.dir-locals.el", {st_mode=3DS_IFDIR|0555, st_size=3D0, ...}) = =3D 0 open("/proj/.dir-locals.el", O_RDONLY) =3D -1 ENOENT (No such file or directory) stat("/proj/foo/bar/.dir-locals.el", 0x7fff6e27fb80) =3D -1 ENOENT (No such file or directory) stat("/proj/foo/.dir-locals.el", 0x7fff6e27fb80) =3D -1 ENOENT (No such file or directory) stat("/proj/.dir-locals.el", {st_mode=3DS_IFDIR|0555, st_size=3D0, ...}) = =3D 0 stat("/proj/.dir-locals.el", {st_mode=3DS_IFDIR|0555, st_size=3D0, ...}) = =3D 0 open("/proj/.dir-locals.el", O_RDONLY) =3D -1 ENOENT (No such file or directory) > = > What does > = > emacs -Q > = > M-: (dir-locals-find-file "/proj/foo/bar") RET > = > return? > = "/proj/.dir-locals.el" =3D=3D=3D I think this behaviour is quirk of automounting. Just for the record, = $ cat /etc/redhat-release Red Hat Enterprise Linux Client release 5.6 (Tikanga) : 15:45:39 : /home/vardhan $ rpm -qa | grep autofs autofs-5.0.1-0.rc2.148.bz667273.1.el5 Glenn, thanx a lot for helping me in finding this. This is a unique case, where '/proj/' is an automounted directory, and it's hightly improbable that lot of people will hit it ! It's up to you ... if you think some change can be done in emacs or dired.el ! Thanx a lot -Vardhan = = This email and any attachments are intended for the sole use of the named r= ecipient(s) and contain(s) confidential information that may be proprietary= , privileged or copyrighted under applicable law. If you are not the intend= ed recipient, do not read, copy, or forward this email message or any attac= hments. Delete this email message and any attachments immediately. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 05 21:53:08 2012 Received: (at 10928) by debbugs.gnu.org; 6 Mar 2012 02:53:08 +0000 Received: from localhost ([127.0.0.1]:35015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4kWR-0006Az-4c for submit@debbugs.gnu.org; Mon, 05 Mar 2012 21:53:08 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:50048) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4kW5-0006AR-2K for 10928@debbugs.gnu.org; Mon, 05 Mar 2012 21:52:55 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1S4kVE-0006iN-Mv; Mon, 05 Mar 2012 21:51:52 -0500 From: Glenn Morris To: Vardhan Varma Subject: Re: 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 References: <9a463078-3008-4658-8349-be5f28d786f8@VA3EHSMHS027.ehs.local> X-Spook: Roswell JSOFC3IP PET Al-Qaeda ASLET Aladdin Syria Cocaine X-Ran: J'_5#EBeU8!XX4u+8}/ (Vardhan Varma's message of "Mon, 5 Mar 2012 18:25:01 +0800") Message-ID: <6npqcqxwzb.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 10928 Cc: 10928@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Vardhan Varma wrote: > $ ls -l /proj/.dir-locals.el > ls: /proj/.dir-locals.el: No such file or directory > $ ls -dl /proj/.dir-locals.el > dr-xr-xr-x 2 root root 0 Jan 5 02:33 /proj/.dir-locals.el Is there really a /proj/.dir-locals.el directory (not file)? (How does it have zero size - what is the file system?) Can you just delete whatever that is? It looks to me like your automounter is broken, because the above sequence ought to be impossible, AIUI. > To me, it looks like the automount is playing some tricks .. initially > it tells emacs that this exists > and when emacs tries to read it .. it tells that it doesn't exist ... or > something like that ... [...] > stat("/proj/foo/.dir-locals.el", 0x7fff6e27f590) = -1 ENOENT (No such > file or directory) > stat("/proj/.dir-locals.el", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0 > stat("/proj/.dir-locals.el", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0 > open("/proj/.dir-locals.el", O_RDONLY) = -1 ENOENT (No such file or > directory) I don't understand what's going on there, but I made Emacs ignore .dir-locals.el if it is a directory (or unreadable). I guess that will fix your issue. But if /proj/.dir-locals.el was a weird file rather than a weird directory, the same issue would occur. I don't think there would anything Emacs could do about that. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 16 21:23:46 2012 Received: (at control) by debbugs.gnu.org; 17 Mar 2012 01:23:46 +0000 Received: from localhost ([127.0.0.1]:54069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S8iMz-0001zq-MJ for submit@debbugs.gnu.org; Fri, 16 Mar 2012 21:23:46 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:55470) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S8iMw-0001zh-1A for control@debbugs.gnu.org; Fri, 16 Mar 2012 21:23:42 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1S8htd-0002Oe-Ib for control@debbugs.gnu.org; Fri, 16 Mar 2012 20:53:25 -0400 Date: Fri, 16 Mar 2012 20:53:25 -0400 Message-Id: Subject: control message for bug 10928 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) tag 10928 notabug close 10928 24.0.95 From unknown Fri Sep 12 12:20:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 14 Apr 2012 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator