[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: API for excess DOS file attributes??

From: Eli Zaretskii
Subject: Re: API for excess DOS file attributes??
Date: Thu, 29 Sep 2011 23:23:48 +0300

> From: Oleksandr Gavenko <>
> Date: Thu, 29 Sep 2011 22:59:09 +0300
> So I think that I can not excess to this data from Emacs
> (native Windows build).

Not from Lisp, no.

> I try rewrite 'follow-cygwin-symlink' from:
> for more strict conformance of definition of symbolic link
> in Cygwin (from 'cygwin-ug-net-nochunks.html'):
>    The file style symlinks are files containing a magic cookie
>    followed by the path to which the link points. They are marked
>    with the System DOS attribute so that only files with that
>    attribute have to be read to determine whether or not the file is
>    a symbolic link.

What's in setup-cygwin.el is about as good as you can get in Lisp.  A
better solution would be to add to file-symlink-p and
make-symbolic-link the ability to recognize and create Cygwin-style
symlink (and Windows 7 style symlink as well), but that requires
changes on the C level.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]