all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Thierry Volpiatto <thierry.volpiatto@gmail.com>
Cc: lekktu@gmail.com, emacs-devel@gnu.org
Subject: Re: Behavior of directory-files on Windows
Date: Fri, 02 Dec 2011 17:03:53 +0200	[thread overview]
Message-ID: <83d3c7c8x2.fsf@gnu.org> (raw)
In-Reply-To: <871usnw8rr.fsf@gmail.com>

> From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
> Cc: lekktu@gmail.com,  emacs-devel@gnu.org
> Date: Fri, 02 Dec 2011 11:46:48 +0100
> 
> I think adding both c:/. and c:/.. to listing of directory-files doesn't
> arm.
> It's what I did here (in anything) and it is nice feature IMO.
> On GNU/Linux, having "." and ".." in (directory-files "/") is not a
> problem.
> 
> Do you think this can create problems in some places?

It won't create problems if done thoroughly: you need to invent all of
the file-attributes for these fake entries, including such obscure
ones as number of links etc.  And you need to handle the cases where
there are real directory entries by those names, so as not to clobber
accurate information.




  reply	other threads:[~2011-12-02 15:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-01 12:54 Behavior of directory-files on Windows Thierry Volpiatto
2011-12-01 14:39 ` Juanma Barranquero
2011-12-01 15:17   ` Thierry Volpiatto
2011-12-01 15:22     ` Juanma Barranquero
2011-12-01 15:37       ` Thierry Volpiatto
2011-12-01 15:43         ` Juanma Barranquero
2011-12-01 17:21     ` Eli Zaretskii
2011-12-01 17:36       ` Thierry Volpiatto
2011-12-01 17:20   ` Eli Zaretskii
2011-12-01 17:34     ` Thierry Volpiatto
2011-12-02  9:06       ` Eli Zaretskii
2011-12-02 10:46         ` Thierry Volpiatto
2011-12-02 15:03           ` Eli Zaretskii [this message]
2011-12-02 15:51             ` Thierry Volpiatto

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83d3c7c8x2.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=lekktu@gmail.com \
    --cc=thierry.volpiatto@gmail.com \
    /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.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.