GNU bug report logs - #508
emacs 22.2.1 becomes confused

Previous Next

Package: emacs;

Reported by: "Bruce Korb" <bruce.korb <at> gmail.com>

Date: Mon, 30 Jun 2008 15:10:04 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #65 received at 508 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Sven Joachim <svenjoac <at> gmx.de>
To: Kevin Rodgers <kevin.d.rodgers <at> gmail.com>
Cc: 508 <at> debbugs.gnu.org
Subject: Re: bug#508: emacs 22.2.1 becomes confused
Date: Tue, 01 Jul 2008 08:28:07 +0200
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 <svenjoac <at> gmx.de>
>>>> Date: Mon, 30 Jun 2008 19:53:51 +0200
>>>> Cc: 508 <at> emacsbugs.donarmstrong.com
>>>>
>>>> +	  (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




This bug report was last modified 16 years and 299 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.