From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Bug Emacs 21.3: write-file downcasing Date: 12 Feb 2003 19:36:28 +0000 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20030207163850.3779.LEKTU@terra.es> <2110-Fri07Feb2003191658+0200-eliz@is.elta.co.il> <20030207182150.377E.LEKTU@terra.es> <2593-Fri07Feb2003201921+0200-eliz@is.elta.co.il> <5xwuk5ssl9.fsf@kfs2.cua.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1045078885 29653 80.91.224.249 (12 Feb 2003 19:41:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 12 Feb 2003 19:41:25 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18j2fL-0007F1-00 for ; Wed, 12 Feb 2003 20:35:31 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18j2rS-0002mR-00 for ; Wed, 12 Feb 2003 20:48:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18j2gw-00072U-0C for emacs-devel@quimby.gnus.org; Wed, 12 Feb 2003 14:37:10 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18j2gl-0006zP-00 for emacs-devel@gnu.org; Wed, 12 Feb 2003 14:36:59 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18j2gc-0006iE-00 for emacs-devel@gnu.org; Wed, 12 Feb 2003 14:36:50 -0500 Original-Received: from server0011.freedom2surf.net ([194.106.56.14] helo=server0027.freedom2surf.net) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18j2gW-0006UL-00; Wed, 12 Feb 2003 14:36:45 -0500 Original-Received: from nyaumo.jasonr.f2s.com ([195.137.103.251]) h1CJatP5013482; Wed, 12 Feb 2003 19:36:56 GMT Original-Received: from nyaumo.jasonr.f2s.com (localhost [127.0.0.1]) by nyaumo.jasonr.f2s.com (Postfix) with ESMTP id 769EF4A933; Wed, 12 Feb 2003 19:36:29 +0000 (GMT) Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: <5xwuk5ssl9.fsf@kfs2.cua.dk> Original-Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-cc: rms@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:11597 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11597 storm@cua.dk (Kim F. Storm) writes: > So there are really two issues here when comparing two file names A and B: > > 1) do A and B name the same file (could be in different directories) > > 2) are A and B the "same" file name, if underlaying FS is case insensitive. > > In case 1), comparing inodes (when available) will be the correct solution. > > In case 2), just comparing inodes doesn't help. No, but comparing inodes and file-names in a case-insensitive way does solve 2). > Furthermore, if the file hasn't been created yet, you cannot use inodes to > compare names A and B... Correct, and that is the case that currently fails under MS-Windows. So I don't think we have made any progress. I am currently swinging back to RMS's viewpoint that introducing this new function is not needed, since I am not aware of any bugs that introducing it would fix.