help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: case sensitivity in 'find file'?


From: Viktor Haag
Subject: Re: case sensitivity in 'find file'?
Date: 23 Jun 2004 14:52:28 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

John Paul Wallington <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]