From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#508: emacs 22.2.1 becomes confused Date: Fri, 04 Jul 2008 13:04:22 +0300 Message-ID: References: <871w2evmfk.fsf@gmx.de> <8763rqu1dh.fsf@gmx.de> <87fxqu6ruw.fsf@gmx.de> Reply-To: Eli Zaretskii , 508@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1215168872 29502 80.91.229.12 (4 Jul 2008 10:54:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Jul 2008 10:54:32 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, kevin.d.rodgers@gmail.com, 508@emacsbugs.donarmstrong.com, svenjoac@gmx.de To: Stefan Monnier , 508@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 04 12:55:17 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KEiwc-0005SS-V4 for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Jul 2008 12:55:15 +0200 Original-Received: from localhost ([127.0.0.1]:45474 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEivl-0001Qr-Vb for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Jul 2008 06:54:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KEivf-0001Q6-E9 for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2008 06:54:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KEivc-0001OS-Gm for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2008 06:54:14 -0400 Original-Received: from [199.232.76.173] (port=55450 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEivc-0001OF-6v for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2008 06:54:12 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:60096) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KEiVY-0004wa-HS for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2008 06:27:16 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m64ARDof008431; Fri, 4 Jul 2008 03:27:14 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m64AF3VN004969; Fri, 4 Jul 2008 03:15:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 04 Jul 2008 10:15:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 508 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12151659163512 (code B ref -1); Fri, 04 Jul 2008 10:15:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 4 Jul 2008 10:05:16 +0000 Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m64A5Bft003217 for ; Fri, 4 Jul 2008 03:05:12 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KEiAA-0002W4-6H for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2008 06:05:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KEiA7-0002V9-Ns for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2008 06:05:08 -0400 Original-Received: from [199.232.76.173] (port=60541 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEiA6-0002Ut-5X for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2008 06:05:06 -0400 Original-Received: from mtaout5.012.net.il ([84.95.2.13]:57061) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KEiA5-00089Q-OQ for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2008 06:05:05 -0400 Original-Received: from HOME-C4E4A596F7 ([77.126.76.119]) by i_mtaout5.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K3H00LSM8OV8KA2@i_mtaout5.012.net.il> for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2008 13:19:44 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-kernel: by monty-python.gnu.org: Solaris 9.1 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Fri, 04 Jul 2008 06:54:14 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:18642 Archived-At: > Resent-From: Stefan Monnier > Resent-To: bug-submit-list@donarmstrong.com > Resent-CC: Emacs Bugs > Resent-Sender: don@donarmstrong.com > From: Stefan Monnier > Date: Thu, 03 Jul 2008 00:54:57 -0400 > Cc: Kevin Rodgers , 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).