From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.devel Subject: Re: Behavior of directory-files on Windows Date: Fri, 02 Dec 2011 16:51:39 +0100 Message-ID: <87k46fx984.fsf@gmail.com> References: <87liqw3116.fsf@gmail.com> <83r50o439k.fsf@gnu.org> <878vmw6vs6.fsf@gmail.com> <83aa7b4a1s.fsf@gnu.org> <871usnw8rr.fsf@gmail.com> <83d3c7c8x2.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1322841117 12391 80.91.229.12 (2 Dec 2011 15:51:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 2 Dec 2011 15:51:57 +0000 (UTC) Cc: lekktu@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 02 16:51:52 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RWVOx-0000Yk-Ia for ged-emacs-devel@m.gmane.org; Fri, 02 Dec 2011 16:51:51 +0100 Original-Received: from localhost ([::1]:55035 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWVOx-0004JU-2y for ged-emacs-devel@m.gmane.org; Fri, 02 Dec 2011 10:51:51 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:53826) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWVOu-0004J9-1h for emacs-devel@gnu.org; Fri, 02 Dec 2011 10:51:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RWVOs-0007dP-Rq for emacs-devel@gnu.org; Fri, 02 Dec 2011 10:51:47 -0500 Original-Received: from mail-ww0-f49.google.com ([74.125.82.49]:47563) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWVOs-0007cy-LK; Fri, 02 Dec 2011 10:51:46 -0500 Original-Received: by wgbdt11 with SMTP id dt11so1098163wgb.30 for ; Fri, 02 Dec 2011 07:51:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=pjGR0Us1EaYVxA5TLNgwdpQLqi4gv0bPEkLtb3CP3g0=; b=R8Lo7WkxksCBBVX6QrSC5Z/AuKdr+3javw7EbcLiDzLlbwhAUsaB7EXnVVb0F5GHvV DW04JZQE5lpPNqLWQtIl/mzsgcf/BjJ4Y2GD8ylklUcb5CVp2es2PgWpLckvemVj/opp ZLG3coF99SEs2Zk6bEWui4hYWzgMnVUECQn+4= Original-Received: by 10.227.207.67 with SMTP id fx3mr6322357wbb.0.1322841104770; Fri, 02 Dec 2011 07:51:44 -0800 (PST) Original-Received: from thierry-MM061 (30.77.197.77.rev.sfr.net. [77.197.77.30]) by mx.google.com with ESMTPS id dw6sm3396831wib.12.2011.12.02.07.51.41 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 02 Dec 2011 07:51:42 -0800 (PST) In-Reply-To: <83d3c7c8x2.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 02 Dec 2011 17:03:53 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.49 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146430 Archived-At: Eli Zaretskii writes: >> From: Thierry Volpiatto >> 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. Ok, I see, thanks for this comment. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997