From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: convert-standard-filename Date: Mon, 08 Aug 2011 14:20:56 -0400 Message-ID: References: <83vcufaaqf.fsf@gnu.org> <83hb5vvwdp.fsf@gnu.org> <834o1t19hg.fsf@gnu.org> <83vcu9yn6h.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1312827670 25694 80.91.229.12 (8 Aug 2011 18:21:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 8 Aug 2011 18:21:10 +0000 (UTC) Cc: sds@gnu.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 08 20:21:03 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 1QqURj-0003Nk-F3 for ged-emacs-devel@m.gmane.org; Mon, 08 Aug 2011 20:21:03 +0200 Original-Received: from localhost ([::1]:39884 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqURj-0005Od-1Z for ged-emacs-devel@m.gmane.org; Mon, 08 Aug 2011 14:21:03 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57999) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqURg-0005Nb-7k for emacs-devel@gnu.org; Mon, 08 Aug 2011 14:21:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QqURf-0002lX-8W for emacs-devel@gnu.org; Mon, 08 Aug 2011 14:21:00 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:51873 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqURe-0002ks-0j; Mon, 08 Aug 2011 14:20:58 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAMonQE5FxKeo/2dsb2JhbABDpyV4gUABAQQBJy8jEAs0EhQYDRABE4gAvhyGRwSfVYQx X-IronPort-AV: E=Sophos;i="4.67,338,1309752000"; d="scan'208";a="130089932" Original-Received: from 69-196-167-168.dsl.teksavvy.com (HELO ceviche.home) ([69.196.167.168]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 08 Aug 2011 14:20:56 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 3D8276610B; Mon, 8 Aug 2011 14:20:56 -0400 (EDT) In-Reply-To: (Eli Zaretskii's message of "Mon, 08 Aug 2011 00:14:46 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.183 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:143024 Archived-At: >> >> Why do you want to avoid hitting the disk? >> Because I'd like it to work for files and directories which may not even >> exist (yet?). But maybe that's unrealistic (I guess the foobar -> >> foob~1 rewrite in some Windows cases probably can't work without >> hitting the disk). > It _can_ work, given slightly more work, and sometimes we will have to > be less than 100% reliable, e.g. if more than a single foob~N file > exist in the same directory. If you say so. >> But then it's not "file-name-equal" but "file-equal". > Except for the issue with non-existing files, is there difference, > btw? Ever heard of (symbolic|hard) links? Stefan