emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] .dir-locals.el broken links on cygwin
@ 2011-01-10 22:36 Vladimir Alexiev
  2011-01-11  8:47 ` Vladimir Alexiev
  0 siblings, 1 reply; 5+ messages in thread
From: Vladimir Alexiev @ 2011-01-10 22:36 UTC (permalink / raw)
  To: emacs-orgmode

Some of the .dir-locals.el files in the distribution are 
symbolic links to another.
On cygwin they come out as LNK files.
Emacs tries to load such LNK file and fails.
I had to remove these files to be able to edit orgmode elisp files.

Perhaps there is a way to make emacs on cygwin interpret LNK as links,
then it should be mentioned in the installation instructions.

Otherwise (and I think better), the build process could copy .dir-locals.el
from the master dir to the slave dirs

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

* Re: [BUG] .dir-locals.el broken links on cygwin
  2011-01-10 22:36 [BUG] .dir-locals.el broken links on cygwin Vladimir Alexiev
@ 2011-01-11  8:47 ` Vladimir Alexiev
  2011-01-11 11:12   ` Jambunathan K
  2011-01-11 11:12   ` Jambunathan K
  0 siblings, 2 replies; 5+ messages in thread
From: Vladimir Alexiev @ 2011-01-11  8:47 UTC (permalink / raw)
  To: emacs-orgmode

> Some of the .dir-locals.el files in the distribution are 
> symbolic links to another. On cygwin they come out as LNK files.

The error I get is 
Directory-local variables error: (wrong-type-argument listp !<symlink>  \.)

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

* Re: [BUG] .dir-locals.el broken links on cygwin
  2011-01-11  8:47 ` Vladimir Alexiev
@ 2011-01-11 11:12   ` Jambunathan K
  2011-01-11 11:12   ` Jambunathan K
  1 sibling, 0 replies; 5+ messages in thread
From: Jambunathan K @ 2011-01-11 11:12 UTC (permalink / raw)
  To: Vladimir Alexiev; +Cc: emacs-orgmode

Vladimir Alexiev <vladimir@sirma.bg> writes:

>> Some of the .dir-locals.el files in the distribution are 
>> symbolic links to another. On cygwin they come out as LNK files.
>
> The error I get is 
> Directory-local variables error: (wrong-type-argument listp !<symlink>
> \.)

(Resent)

I find the symlink very problematic. I normally copy the contents of
.dir-settings.el' to .dir-locals.el.

Another troubled soul,
Jambunathan K.


>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: [BUG] .dir-locals.el broken links on cygwin
  2011-01-11  8:47 ` Vladimir Alexiev
  2011-01-11 11:12   ` Jambunathan K
@ 2011-01-11 11:12   ` Jambunathan K
  2011-01-15 11:45     ` Bastien
  1 sibling, 1 reply; 5+ messages in thread
From: Jambunathan K @ 2011-01-11 11:12 UTC (permalink / raw)
  To: Vladimir Alexiev; +Cc: emacs-orgmode

Vladimir Alexiev <vladimir@sirma.bg> writes:

>> Some of the .dir-locals.el files in the distribution are 
>> symbolic links to another. On cygwin they come out as LNK files.
>
> The error I get is 
> Directory-local variables error: (wrong-type-argument listp !<symlink>  \.)

I find the symlink very problematic. I normally copy the contents of
.dir-settings.el' to .dir-locals.el.

Another troubled soul,
Jambunathan K.


>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Re: [BUG] .dir-locals.el broken links on cygwin
  2011-01-11 11:12   ` Jambunathan K
@ 2011-01-15 11:45     ` Bastien
  0 siblings, 0 replies; 5+ messages in thread
From: Bastien @ 2011-01-15 11:45 UTC (permalink / raw)
  To: Jambunathan K; +Cc: emacs-orgmode, Vladimir Alexiev

Hi Vladimir and Jambunathan,

Jambunathan K <kjambunathan@gmail.com> writes:

> Vladimir Alexiev <vladimir@sirma.bg> writes:
>
>>> Some of the .dir-locals.el files in the distribution are 
>>> symbolic links to another. On cygwin they come out as LNK files.
>>
>> The error I get is 
>> Directory-local variables error: (wrong-type-argument listp !<symlink>  \.)
>
> I find the symlink very problematic. I normally copy the contents of
> .dir-settings.el' to .dir-locals.el.

.dir-locals.el is now a copy of .dir-settings.el, which should prevent
this problem.

Thanks,

-- 
 Bastien

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

end of thread, other threads:[~2011-01-15 11:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-10 22:36 [BUG] .dir-locals.el broken links on cygwin Vladimir Alexiev
2011-01-11  8:47 ` Vladimir Alexiev
2011-01-11 11:12   ` Jambunathan K
2011-01-11 11:12   ` Jambunathan K
2011-01-15 11:45     ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).