From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: Bug Emacs 21.3: write-file downcasing Date: Fri, 07 Feb 2003 21:19:25 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20030207210812.63F0.LEKTU@terra.es> References: <20030207182150.377E.LEKTU@terra.es> <7263-Fri07Feb2003201811+0200-eliz@is.elta.co.il> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1044649119 24121 80.91.224.249 (7 Feb 2003 20:18:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 7 Feb 2003 20:18:39 +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 18hExI-0006GV-00 for ; Fri, 07 Feb 2003 21:18:36 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18hF6z-0008WT-00 for ; Fri, 07 Feb 2003 21:28:38 +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 18hEyU-0004my-06 for emacs-devel@quimby.gnus.org; Fri, 07 Feb 2003 15:19:50 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18hEy9-0004e1-00 for emacs-devel@gnu.org; Fri, 07 Feb 2003 15:19:29 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18hEy5-0004XJ-00 for emacs-devel@gnu.org; Fri, 07 Feb 2003 15:19:27 -0500 Original-Received: from smtp.terra.es ([213.4.129.129] helo=tsmtp10.mail.isp) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18hEy4-0004X7-00; Fri, 07 Feb 2003 15:19:24 -0500 Original-Received: from [80.36.30.211] ([80.36.30.211]) by tsmtp10.mail.isp (terra.es) with ESMTP id H9YGGA00.4US; Fri, 7 Feb 2003 21:19:22 +0100 Original-To: Eli Zaretskii In-Reply-To: <7263-Fri07Feb2003201811+0200-eliz@is.elta.co.il> X-Mailer: Becky! ver. 2.05.06 Original-cc: seagull@fastmail.fm Original-cc: emacs-pretest-bug@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:11487 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11487 On Fri, 07 Feb 2003 20:18:12 +0200 "Eli Zaretskii" wrote: > I still don't see how a problem of downcasing the drive letter got to > normalizing the file name by downcasing all of it. There are two problems: 1.- from "C:/file1" to "c:/file1" 2.- from "/file1" to "c:/file1" While trying to solve both, I proposed using an already existing function: `untranslated-canonical-name'. That function does the downcasing: (untranslated-canonical-name "/fILe1") => "c:/file1", but that was, from the point of view of the bug fix, a side effect. Anyway, we've had, AFAIK, just one report for the bug, and that was from someone using 20.7; while the downcasing is obviously much more troublesome. So reverting to the old behavior and fixing the bug in a much less "brute force" way is IMO the best answer. :) -- Juanma Barranquero