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 08:28:07 +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> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1045038558 17179 80.91.224.249 (12 Feb 2003 08:29:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 12 Feb 2003 08:29:18 +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 18isGb-0004Sx-00 for ; Wed, 12 Feb 2003 09:29:17 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18isSU-0004kz-00 for ; Wed, 12 Feb 2003 09:41:34 +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 18isGP-0003gH-00 for emacs-devel@quimby.gnus.org; Wed, 12 Feb 2003 03:29:05 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18isGB-0003aj-00 for emacs-devel@gnu.org; Wed, 12 Feb 2003 03:28:51 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18isFm-0003NF-00 for emacs-devel@gnu.org; Wed, 12 Feb 2003 03:28:27 -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 18isFg-0003F7-00; Wed, 12 Feb 2003 03:28:21 -0500 Original-Received: from nyaumo.jasonr.f2s.com ([195.137.103.251]) h1C8SWP5025198; Wed, 12 Feb 2003 08:28:32 GMT Original-Received: from nyaumo.jasonr.f2s.com (localhost [127.0.0.1]) by nyaumo.jasonr.f2s.com (Postfix) with ESMTP id 0975D4A92C; Wed, 12 Feb 2003 08:28:07 +0000 (GMT) Original-To: rms@gnu.org In-Reply-To: Original-Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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:11581 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11581 Richard Stallman writes: > That adds to the weight of the need. Still, I would much rather > we could avoid the need to compare file names using anything other > than string=. Even on GNU and similar systems, it is probably better to compare inodes than strings to determine if two files are the same file. That would deal with case-insensitive filesystems where they exist on those platforms. There are already places in the Emacs code where inodes are used (to deal with hard-links), making a function available for lisp to do such a comparison and encouraging people to use it rather than string= seems like a good thing to me.