From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stuart D. Herring" Newsgroups: gmane.emacs.devel Subject: Re: find-library-name fails if file (with no extension) exists. Date: Mon, 27 Nov 2006 11:32:09 -0800 (PST) Message-ID: <49907.128.165.123.18.1164655929.squirrel@webmail.lanl.gov> References: <8764d8u085.fsf@pacem.orebokech.com> <85lkm4zbfa.fsf@lola.goethe.zz> <85vel7ombx.fsf@lola.goethe.zz> Reply-To: herring@lanl.gov NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1164657831 21335 80.91.229.2 (27 Nov 2006 20:03:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Nov 2006 20:03:51 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 27 21:03:47 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gomh4-0007Tq-E2 for ged-emacs-devel@m.gmane.org; Mon, 27 Nov 2006 21:03:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gomh4-0003p9-41 for ged-emacs-devel@m.gmane.org; Mon, 27 Nov 2006 15:03:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GomDF-0005A7-L5 for emacs-devel@gnu.org; Mon, 27 Nov 2006 14:32:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GomDC-00056L-3I for emacs-devel@gnu.org; Mon, 27 Nov 2006 14:32:20 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GomDB-00055j-Br for emacs-devel@gnu.org; Mon, 27 Nov 2006 14:32:17 -0500 Original-Received: from [192.65.95.54] (helo=mailwasher-b.lanl.gov) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GomD5-0003Sg-Jk; Mon, 27 Nov 2006 14:32:12 -0500 Original-Received: from mailrelay3.lanl.gov (mailrelay3.lanl.gov [128.165.4.104]) by mailwasher-b.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id kARJW9os029997; Mon, 27 Nov 2006 12:32:10 -0700 Original-Received: from webmail1.lanl.gov (webmail1.lanl.gov [128.165.4.106]) by mailrelay3.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id kARJW9lf013462; Mon, 27 Nov 2006 12:32:09 -0700 Original-Received: from webmail1.lanl.gov (localhost.localdomain [127.0.0.1]) by webmail1.lanl.gov (8.12.11.20060308/8.12.11) with ESMTP id kARJW9wb025440; Mon, 27 Nov 2006 12:32:09 -0700 Original-Received: (from apache@localhost) by webmail1.lanl.gov (8.12.11.20060308/8.12.11/Submit) id kARJW9wl025438; Mon, 27 Nov 2006 11:32:09 -0800 X-Authentication-Warning: webmail1.lanl.gov: apache set sender to herring@lanl.gov using -f Original-Received: from 128.165.123.18 (SquirrelMail authenticated user 196434) by webmail.lanl.gov with HTTP; Mon, 27 Nov 2006 11:32:09 -0800 (PST) In-Reply-To: <85vel7ombx.fsf@lola.goethe.zz> Original-To: "David Kastrup" User-Agent: SquirrelMail/1.4.6-7.el3.7lanl X-Priority: 3 (Normal) Importance: Normal X-PMX-Version: 4.7.1.128075 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:62880 Archived-At: > That is not possible with case insensitive file systems unless I have > a function that is guaranteed to compare file names exactly in the > same manner as the operating system does. > > And if I have such a function, it might mean that I can't use file > names as an index into a hash data structure unless I have a hash > function that maps operating-system-identical file names onto > identical keys. > > And so forth and so on. In hopes of better defining the dilemma, some of the forth and on that might otherwise be missed: the filesystem-comparison function, in addition to the obvious business with mountpoints, must be an equivalence relation: in particular, it must be transitive. This worsens the aforementioned issue of i, I, and İ for obvious reasons: the latter two must be considered distinct in Turkish, but English considers the first two identical-up-to-case and Turkish considers the first and last IUTC. Certainly each filesystem could have its own equivalence relation, but the creation of a filesystem just to hold files whose names are in a different language causes its own problems (such as defeating the rather reasonable idea of hardlinking English and Turkish words to the same file to provide simple bilingual support). Davis -- This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping.