[Top][All Lists]
[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 <address@hidden>
> Resent-To: address@hidden
> Resent-CC: Emacs Bugs <address@hidden>
> Resent-Sender: address@hidden
> From: Stefan Monnier <address@hidden>
> Date: Thu, 03 Jul 2008 00:54:57 -0400
> Cc: Kevin Rodgers <address@hidden>, address@hidden
>
> > 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).