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 17:24:02 -0400 Message-ID: References: <83vcufaaqf.fsf@gnu.org> <83hb5vvwdp.fsf@gnu.org> <834o1t19hg.fsf@gnu.org> <83vcu9yn6h.fsf@gnu.org> <83obzzzpf8.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; CHARSET=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: dough.gmane.org 1312838653 30190 80.91.229.12 (8 Aug 2011 21:24:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 8 Aug 2011 21:24:13 +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 23:24:09 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 1QqXIu-0007o4-O6 for ged-emacs-devel@m.gmane.org; Mon, 08 Aug 2011 23:24:08 +0200 Original-Received: from localhost ([::1]:48207 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqXIu-00058l-1I for ged-emacs-devel@m.gmane.org; Mon, 08 Aug 2011 17:24:08 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:60778) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqXIr-00058b-HZ for emacs-devel@gnu.org; Mon, 08 Aug 2011 17:24:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QqXIq-0000r5-Nb for emacs-devel@gnu.org; Mon, 08 Aug 2011 17:24:05 -0400 Original-Received: from relais.videotron.ca ([24.201.245.36]:8747) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqXIp-0000qT-Fk; Mon, 08 Aug 2011 17:24:03 -0400 Original-Received: from ceviche.home ([96.22.109.87]) by vl-mr-mrz22.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTP id <0LPM0032ROS2OTE0@vl-mr-mrz22.ip.videotron.ca>; Mon, 08 Aug 2011 17:24:02 -0400 (EDT) Original-Received: by ceviche.home (Postfix, from userid 20848) id 598F46610B; Mon, 08 Aug 2011 17:24:02 -0400 (EDT) In-reply-to: <83obzzzpf8.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 24.201.245.36 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:143032 Archived-At: >> >> 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? > Not sure. Something vague comes to mind... > So what are they? file-name-equal or file-equal, or maybe both? I think they're file-equal but not file-name-equal, since I consider file-name-equal to be something that shouldn't pay too much attention to the actual existing files. But that's part of the issues that need to be clarified in the design of file-name-equal. BTW, rather than file-name-equal we may prefer to provide file-name-canonical such that (defun file-name-equal (f1 f2) (equal (file-name-canonical f1) (file-name-canonical f2))) In any case, all these things are for post-24.1. Stefan