From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: John Paul Wallington Newsgroups: gmane.emacs.help Subject: Re: case sensitivity in 'find file'? Date: Wed, 23 Jun 2004 18:05:08 +0100 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <877jty8at7.fsf@indigo.shootybangbang.com> References: <1z8yee5lz6.fsf@suldrun.rim.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1088537973 24968 80.91.224.253 (29 Jun 2004 19:39:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Jun 2004 19:39:33 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 29 21:39:24 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BfORw-0007tw-00 for ; Tue, 29 Jun 2004 21:39:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BfOTc-0001UL-DG for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Jun 2004 15:41:08 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-X-Trace: news.uni-berlin.de gMMSNE6DHMdxDLxa7f7OcQpQQfE5Q7goXnK1/3qMjWfuagpsLW X-Orig-Path: indigo.shootybangbang.com!news X-Mailer: Norman X-Attribution: jpw X-Face: R(_z-rF:grdKO.*u`n); p.i$Eiz=h^CO5eDYv"4:K@#\HN09*Ykx}}B{kF/KH}%f_o^Wp List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:19272 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19272 Viktor Haag writes: > I'm using Emacs 21.3.50.1 built on Mac OSX through the Fink > project with the tarball 'emacs-21.3.50-20040617.tar.gz'. > > I've seen new behaviour that I don't like; when I use 'find-file' > the completion now seems to be case-insensitive. I find this > annoying as it now sees ~/Library and ~/lib as similar requiring > more keystrokes when finding a file in the ~/lib subtree. > > There must be a way to retrieve the old case-sensitive behaviour > so that ~/Lib and ~/lib are matched as different names. > > Can some kind soul please let me know where the variables are > that control this behaviour? There isn't presently an obvious way because the builtin `read-file-name' was changed to bind `completion-ignore-case' to t before calling `completing-read' on DOS, NT, VMS and MACOSX systems. You could partially revert that change to Fread_file_name, eg: --- fileio.c 22 May 2004 23:17:17 +0100 1.505 +++ fileio.c 23 Jun 2004 17:19:07 +0100 @@ -6284,7 +6284,7 @@ } count = SPECPDL_INDEX (); -#if defined VMS || defined DOS_NT || defined MAC_OSX +#if defined VMS || defined DOS_NT specbind (intern ("completion-ignore-case"), Qt); #endif Maybe there should be a `read-file-name-completion-ignore-case' user variable ?