From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: API for excess DOS file attributes??
Date: Thu, 29 Sep 2011 23:23:48 +0300 [thread overview]
Message-ID: <83ehyzdrmz.fsf@gnu.org> (raw)
In-Reply-To: <j62imi$ls1$1@dough.gmane.org>
> From: Oleksandr Gavenko <gavenkoa@gmail.com>
> 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:
>
> http://www.emacswiki.org/emacs/setup-cygwin.el
>
> 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.
next prev parent reply other threads:[~2011-09-29 20:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-29 19:59 API for excess DOS file attributes?? Oleksandr Gavenko
2011-09-29 20:23 ` Eli Zaretskii [this message]
2011-09-29 21:55 ` Oleksandr Gavenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83ehyzdrmz.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).