From: John Paul Wallington <jpw@gnu.org>
Subject: Re: case sensitivity in 'find file'?
Date: Wed, 23 Jun 2004 18:05:08 +0100 [thread overview]
Message-ID: <877jty8at7.fsf@indigo.shootybangbang.com> (raw)
In-Reply-To: 1z8yee5lz6.fsf@suldrun.rim.net
Viktor Haag <vhaag@rim.com> 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 ?
next prev parent reply other threads:[~2004-06-23 17:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-23 15:32 case sensitivity in 'find file'? Viktor Haag
2004-06-23 15:42 ` David Kastrup
2004-06-23 18:48 ` Viktor Haag
2004-06-23 17:05 ` John Paul Wallington [this message]
2004-06-23 18:52 ` Viktor Haag
2004-06-24 15:46 ` John Paul Wallington
2004-06-24 20:31 ` Viktor Haag
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877jty8at7.fsf@indigo.shootybangbang.com \
--to=jpw@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).