From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: find-library-name fails if file (with no extension) exists. Date: Wed, 22 Nov 2006 20:25:28 +0100 Message-ID: <85lkm3l1w7.fsf@lola.goethe.zz> References: <8764d8u085.fsf@pacem.orebokech.com> <85lkm4zbfa.fsf@lola.goethe.zz> <85vel7ombx.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1164223737 15272 80.91.229.2 (22 Nov 2006 19:28:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 22 Nov 2006 19:28:57 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 22 20:28:52 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 1Gmxlx-0006fO-Av for ged-emacs-devel@m.gmane.org; Wed, 22 Nov 2006 20:28:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gmxlv-0005JH-VX for ged-emacs-devel@m.gmane.org; Wed, 22 Nov 2006 14:28:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GmxjA-0001z8-VF for emacs-devel@gnu.org; Wed, 22 Nov 2006 14:25:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GmxjA-0001xs-4K for emacs-devel@gnu.org; Wed, 22 Nov 2006 14:25:48 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gmxj9-0001xc-Ta for emacs-devel@gnu.org; Wed, 22 Nov 2006 14:25:47 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gmxj9-0000L9-Fs for emacs-devel@gnu.org; Wed, 22 Nov 2006 14:25:47 -0500 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.52) id 1Gmxj8-00034s-M5; Wed, 22 Nov 2006 14:25:46 -0500 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 426781C29846; Wed, 22 Nov 2006 20:25:28 +0100 (CET) Original-To: Eli Zaretskii In-Reply-To: (Eli Zaretskii's message of "Wed\, 22 Nov 2006 20\:43\:34 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) 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:62687 Archived-At: Eli Zaretskii writes: >> Cc: emacs-devel@gnu.org >> From: David Kastrup >> Date: Wed, 22 Nov 2006 10:35:46 +0100 >> >> And they don't violate the principle that listing a directory will >> tell you all legal _file names_ available from that directory. I can >> decide whether the file `/fdsaf/dsafd/asfd/daffa' can exist by looking >> at the directory listing of `/fdsaf/dsafd/asfd/'. >> >> 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. > > The Windows API does have such a function. Heck, even DOS had it. > And it can be emulated on Posix filesystems with readdir and fnmatch. > It's a non-issue. Which must be why neither Emacs nor Bash nor likely any other application get this non-issue right. I don't say that fixing this should be a high priority, but I find the stance "there are no problems with case-insensitivity except programmer incompetence, and if you point out anything I'll deny it" disingenuous. Given this "four legs good, two legs bad" argument style sanctifying the status quo, I am really glad this "discussion" can be dropped since we don't need to resolve anything in this regard. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum