opensubscriber
   Find in this group all groups
 
Unknown more information…

h : help-gnu-emacs@gnu.org 8 August 2012 • 2:43PM -0400

Re: dir-locals confusion
by Jambunathan K

REPLY TO AUTHOR
 
REPLY TO GROUP




Doug Lewan <dougl@shub...> writes:

> Recently (possibly with an upgrade to emacs 24.1.1) I'm frequently getting this message:
>     Error reading dir-locals: (file-error "Opening input file" "not a
> directory" "/cygdrive/q/.../tlock.c/.dir-locals.el")
>
> I see this frequently (but not always) under Cygwin and never under AIX 6.1.
>
> I do, of course, hack emacs, but I can't think of anything I've done
> that might have to do with dir-locals. Except for X configuration, I
> use exactly the same code on AIX and Cygwin.
>
> Since the obvious question is too vague, I'll simply ask this:
>     Does anyone have any thoughts about this?

Orgmode git tree used to have a .dir-locals.el that was "symlinked" to
.dir-settings.el[1].  I was facing similar errors and was likewise
confused.  So check for symlinks and replace the linked files with
actual physical copies.  The problem would go away.

Footnotes:

[1] I don't find reference to .dir-settings.el in my Emacs info.  It is
possible that .dir-locals.el used to be known as .dir-settings.el.

> Thanks.
>
> ,Douglas
> Douglas Lewan
> Shubert Ticketing
> (201) 489-8600 ext 224
> Optimism is an occupational hazard of programming: testing is the treatment. - - K. Beck
>
>
>
>



--


Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.