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

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

bug#508: emacs 22.2.1 becomes confused


From: Sven Joachim
Subject: bug#508: emacs 22.2.1 becomes confused
Date: Tue, 01 Jul 2008 08:28:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

On 2008-07-01 05:56 +0200, Kevin Rodgers wrote:

> Sven Joachim wrote:
>> On 2008-06-30 21:57 +0200, Eli Zaretskii wrote:
>>
>>>> From: Sven Joachim <address@hidden>
>>>> Date: Mon, 30 Jun 2008 19:53:51 +0200
>>>> Cc: address@hidden
>>>>
>>>> +    (case-fold-search
>>>> +     (if (memq system-type '(ms-dos windows-nt darwin macos vax-vms 
>>>> axp-vms))
>>> You forgot cygwin in this list.
>>
>> I just pasted the list from the read-file-name-completion-ignore-case
>> defcustom in minibuffer.el.
>
> Why not bind case-fold-search to the value of
> read-file-name-completion-ignore-case there?

That would be wrong, IMO.  Users may or may not prefer filename
completion to be case sensitive regardless of their filesystems, but the
code in question really depends on the actual feature of the filesystem.

There could be a new defvar (or defconst), like this:

(defvar case-insensitive-systems-alist
  '(ms-dos windows-nt cygwin darwin macos vax-vms axp-vms)
  "List of systems who have case insensitive filesystems.")

which could then be used in code that depends on the filesystem being
case sensitive or not, and in the read-file-name-completion-ignore-case
defcustom as well.

Sven






reply via email to

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