unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Viktor Haag <vhaag@rim.com>
Subject: Re: case sensitivity in 'find file'?
Date: 23 Jun 2004 14:52:28 -0400	[thread overview]
Message-ID: <1zzn6u3y4z.fsf@suldrun.rim.net> (raw)
In-Reply-To: 877jty8at7.fsf@indigo.shootybangbang.com

John Paul Wallington <jpw@gnu.org> writes:

> 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 ?

That sounds like a fine idea, because I can easily see that users
might prefer this behaviour be configurable.

-- 
Viktor Haag : Software & Information Design : Research In Motion
                              +--+
 Disclaimer mandated by employer: "This transmission may contain
confidential or privileged material. Any use of this information
by anyone other than the intended recipient is prohibited. If you
  have received this transmission in error, please immediately
    reply to the sender and delete this information from your
system. Use, dissemination, distribution, or reproduction of this
 transmission by unintended recipients is not authorized and may
                          be unlawful."

  reply	other threads:[~2004-06-23 18:52 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
2004-06-23 18:52   ` Viktor Haag [this message]
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=1zzn6u3y4z.fsf@suldrun.rim.net \
    --to=vhaag@rim.com \
    /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).