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#21816: elisp-mode-tests fails on a case-preserving filesystem Date: Tue, 03 Nov 2015 23:05:05 +0200 Message-ID: <83h9l2vloe.fsf@gnu.org> References: <86mvuv30i1.fsf@stephe-leake.org> <86y4ef16ha.fsf@stephe-leake.org> <83d1vrw0p9.fsf@gnu.org> <5638D836.8090600@yandex.ru> <5638DE4A.308@yandex.ru> <86h9l2270y.fsf@stephe-leake.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1446584842 3093 80.91.229.3 (3 Nov 2015 21:07:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Nov 2015 21:07:22 +0000 (UTC) Cc: lekktu@gmail.com, 21816@debbugs.gnu.org, dgutov@yandex.ru To: Stephen Leake Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 03 22:07:10 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZtinM-0007Dh-M3 for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Nov 2015 22:07:08 +0100 Original-Received: from localhost ([::1]:51007 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtinM-0000ID-BJ for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Nov 2015 16:07:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtinJ-0000I8-F4 for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2015 16:07:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZtinG-0001fY-9C for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2015 16:07:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:32930) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtinG-0001fU-5v for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2015 16:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZtinF-0005C6-KU for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2015 16:07:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Nov 2015 21:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21816 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21816-submit@debbugs.gnu.org id=B21816.144658477619909 (code B ref 21816); Tue, 03 Nov 2015 21:07:01 +0000 Original-Received: (at 21816) by debbugs.gnu.org; 3 Nov 2015 21:06:16 +0000 Original-Received: from localhost ([127.0.0.1]:51871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZtimV-0005B3-Sn for submit@debbugs.gnu.org; Tue, 03 Nov 2015 16:06:16 -0500 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:51492) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZtimT-0005Ao-5a for 21816@debbugs.gnu.org; Tue, 03 Nov 2015 16:06:14 -0500 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NX900N00BGY3700@mtaout25.012.net.il> for 21816@debbugs.gnu.org; Tue, 03 Nov 2015 23:02:36 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NX900H9GBSCGD60@mtaout25.012.net.il>; Tue, 03 Nov 2015 23:02:36 +0200 (IST) In-reply-to: <86h9l2270y.fsf@stephe-leake.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:108390 Archived-At: > From: Stephen Leake > Cc: Juanma Barranquero , Eli Zaretskii , 21816@debbugs.gnu.org > Date: Tue, 03 Nov 2015 13:54:21 -0600 > > If the file name identifies an existing file, convert the file name > casing to match the actual file name casing. If not, no case > conversion is done. For existing files we have file-equal-p, which is more general. The problem here is that files might not exist, so we need a weaker test that still does a reasonably good job. > I'm not clear how to do the case conversion, but I bet Emacs does have > the right functions. It does. Actually, we have more than one such function. > This does not handle comparing two file names for a not-yet-created file > that differ in case. Indeed.