From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: loaddefs.el filenames as seen by `update-file-autoloads' Date: Mon, 12 May 2003 18:30:00 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: Reply-To: ttn@glug.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1052779046 7041 80.91.224.249 (12 May 2003 22:37:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 12 May 2003 22:37:26 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue May 13 00:37:24 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 19FLug-0001n0-00 for ; Tue, 13 May 2003 00:36:54 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19FM1H-0003zi-00 for ; Tue, 13 May 2003 00:43:43 +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 19FLtc-000058-01 for emacs-devel@quimby.gnus.org; Mon, 12 May 2003 18:35:48 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19FLsv-0008Co-00 for emacs-devel@gnu.org; Mon, 12 May 2003 18:35:05 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19FLoR-0003ZN-00 for emacs-devel@gnu.org; Mon, 12 May 2003 18:30:29 -0400 Original-Received: from colo.agora-net.com ([207.245.84.69]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19FLo0-00037a-00 for emacs-devel@gnu.org; Mon, 12 May 2003 18:30:00 -0400 Original-Received: from ttn by colo.agora-net.com with local (Exim 3.34 #1) id 19FLo0-00086H-00 for emacs-devel@gnu.org; Mon, 12 May 2003 18:30:00 -0400 Original-To: 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:13811 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13811 ciao a tutti, under vms, filenames are case-insensitive and are upcased w/in emacs. lisp/loaddefs.el records autoload forms that include filename fragments. `update-file-autoloads' compares these fragments using `string=' and fails to recognize existing entries, resulting in two entries for those ("foo" and "FOO"). i would like to add a check: (let ((load-name ...)) (when (memq system-type '(vax-vms vms ;; Add other systems whose filenames ;; are case insensitive and for which ;; `expand-file-name' DTRT, here. )) (setq load-name (downcase load-name))) ... (when (string= load-name ...) ...)) changing `load-name' instead of making the comparison case-insensitive means loaddefs.el will have lowercased frags (under vms), a change that is transparent to `expand-file-name'. is this ok? other ideas? thi