[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#508: emacs 22.2.1 becomes confused
From: |
Eli Zaretskii |
Subject: |
bug#508: emacs 22.2.1 becomes confused |
Date: |
Fri, 04 Jul 2008 13:04:22 +0300 |
> Resent-From: Stefan Monnier <monnier@iro.umontreal.ca>
> Resent-To: bug-submit-list@donarmstrong.com
> Resent-CC: Emacs Bugs <bug-gnu-emacs@gnu.org>
> Resent-Sender: don@donarmstrong.com
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Thu, 03 Jul 2008 00:54:57 -0400
> Cc: Kevin Rodgers <kevin.d.rodgers@gmail.com>, 508@emacsbugs.donarmstrong.com
>
> > 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.")
>
> Actually, it should not be a variable but a function (and even
> a file-name operation, obeying file-name-handlers):
>
> (directory-case-sensitive-p FILE)
100% agreement: with the proliferation of network-mounted filesystems,
there's no longer a deterministic way to infer whether a filesystem is
case-sensitive or not from the OS brand. Instead, we should query the
filesystem about that, and the function suggested by Stefan should do
that (when there're no file-name-handlers for the filesystem).