From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: loaddefs.el filenames as seen by `update-file-autoloads' Date: Tue, 13 May 2003 10:00:54 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200305131400.h4DE0sd6012045@rum.cs.yale.edu> References: <200305122305.h4CN5EGw009946@rum.cs.yale.edu> <200305130114.h4D1EDBZ010190@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1052834747 4788 80.91.224.249 (13 May 2003 14:05:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 13 May 2003 14:05:47 +0000 (UTC) Cc: monnier+gnu/emacs@rum.cs.yale.edu Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue May 13 16:05:40 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19FaPU-0001Ej-00 for ; Tue, 13 May 2003 16:05:40 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19FaWP-0004W1-00 for ; Tue, 13 May 2003 16:12:49 +0200 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 19FaOr-0001hR-05 for emacs-devel@quimby.gnus.org; Tue, 13 May 2003 10:05:01 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19FaMr-0000sx-00 for emacs-devel@gnu.org; Tue, 13 May 2003 10:02:57 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19FaKz-00085J-00 for emacs-devel@gnu.org; Tue, 13 May 2003 10:01:33 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19FaKv-00083F-00 for emacs-devel@gnu.org; Tue, 13 May 2003 10:00:57 -0400 Original-Received: from rum.cs.yale.edu (localhost [127.0.0.1]) by rum.cs.yale.edu (8.12.8/8.12.8) with ESMTP id h4DE0sx6012047; Tue, 13 May 2003 10:00:54 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.12.8/8.12.8/Submit) id h4DE0sd6012045; Tue, 13 May 2003 10:00:54 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Thien-Thi Nguyen Original-cc: emacs-devel@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:13828 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13828 > From: "Stefan Monnier" > Date: Mon, 12 May 2003 21:14:13 -0400 > > Under W32, the file-system preserves the capitalization, even though > it ignores it when searching for files. I.e. you can't have both "Foo" > and "FOO", but after creating "Foo", an application can know whether > the file was created as "Foo" or "foo" or "FOO". > > If `directory-files' *can* properly return ("ChangeLog" "README" > "configure"), rather than ("changelog" "readme" "configure") or > ("CHANGELOG" "README" "CONFIGURE"), without having to read the user's > mind (and without performance cost) then I think it should. > > ok, i see what you mean. i see that `readdir' for vms (in sysdep.c) > does no case translation, and stepping through that function a few times > in the debugger shows the filename to be upcased from the beginning. it > looks like vms that i am using follows the last of the three models > above. In that case, it probably makes sense to keep all file names upcased, indeed. But that means that there is no way we can reliably use on Unix a loaddefs.el generated on VMS. So I think the thing we should do is use something like `file-name-equal' rather than string=. Stefan