unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Sven Joachim <svenjoac@gmx.de>
To: Kevin Rodgers <kevin.d.rodgers@gmail.com>
Cc: 508@emacsbugs.donarmstrong.com
Subject: bug#508: emacs 22.2.1 becomes confused
Date: Tue, 01 Jul 2008 08:28:07 +0200	[thread overview]
Message-ID: <87fxqu6ruw.fsf@gmx.de> (raw)
In-Reply-To: <mailman.14056.1214885238.18990.bug-gnu-emacs@gnu.org> (Kevin Rodgers's message of "Mon, 30 Jun 2008 21:56:33 -0600")

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@gmx.de>
>>>> Date: Mon, 30 Jun 2008 19:53:51 +0200
>>>> Cc: 508@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






  parent reply	other threads:[~2008-07-01  6:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.14013.1214839638.18990.bug-gnu-emacs@gnu.org>
2008-06-30 17:53 ` bug#508: emacs 22.2.1 becomes confused Sven Joachim
2008-06-30 18:12   ` Bruce Korb
2008-06-30 20:01     ` Eli Zaretskii
2008-06-30 19:57   ` Eli Zaretskii
2008-06-30 20:14     ` Sven Joachim
2008-06-30 20:30       ` Lennart Borgman (gmail)
2008-07-01  3:00         ` Eli Zaretskii
2008-07-01  2:58       ` Eli Zaretskii
2008-07-01  3:56       ` Kevin Rodgers
     [not found]       ` <mailman.14056.1214885238.18990.bug-gnu-emacs@gnu.org>
2008-07-01  6:28         ` Sven Joachim [this message]
2008-07-03  4:54           ` Stefan Monnier
2008-07-04 10:04             ` Eli Zaretskii
2008-06-30 15:03 Bruce Korb

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=87fxqu6ruw.fsf@gmx.de \
    --to=svenjoac@gmx.de \
    --cc=508@emacsbugs.donarmstrong.com \
    --cc=kevin.d.rodgers@gmail.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).