From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: add read-file-name-completion-ignore-case user variable ? Date: 25 Jun 2004 11:31:30 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1088155937 15977 80.91.224.253 (25 Jun 2004 09:32:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 25 Jun 2004 09:32:17 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Jun 25 11:32:11 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bdn46-0005O7-00 for ; Fri, 25 Jun 2004 11:32:10 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bdn46-0003Mr-00 for ; Fri, 25 Jun 2004 11:32:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bdn5Y-0007JU-Cg for emacs-devel@quimby.gnus.org; Fri, 25 Jun 2004 05:33:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Bdn5R-0007JF-PK for emacs-devel@gnu.org; Fri, 25 Jun 2004 05:33:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Bdn5R-0007J2-6z for emacs-devel@gnu.org; Fri, 25 Jun 2004 05:33:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bdn5R-0007Iz-4c for emacs-devel@gnu.org; Fri, 25 Jun 2004 05:33:33 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bdn3V-0000mv-Ck for emacs-devel@gnu.org; Fri, 25 Jun 2004 05:31:33 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1Bdn3U-0006bw-MU; Fri, 25 Jun 2004 05:31:33 -0400 Original-To: John Paul Wallington In-Reply-To: Original-Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:25248 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25248 David Kastrup writes: > John Paul Wallington writes: > > > Stef's change of 2004-03-17 to `read-file-name' to set > > completion-ignore-case for case-insensitive systems is hard for users > > to configure -- Viktor Haag pointed this out on the gnu.emacs.help > > newsgroup. > > > > How about having a `read-file-name-completion-ignore-case' user > > variable rather than hard-coding a value according to system type? > > We could still set its default value according to system type. > > Which your change does not seem to do. Anyway, I am not sure this is the right approach. After all, case insensitivity is not as much an operating system, but a file system feature. When doing file name completion on a Windows partition mounted on a typical Linux root file system, the "natural" behavior would be case sensitive completion in the path components up to the mount point, and case insensitive after that. I doubt, however, that it would be easy to access the relevant information from the OS. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum