From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.bugs Subject: bug#21816: elisp-mode-tests fails on a case-preserving filesystem Date: Tue, 03 Nov 2015 16:07:00 -0600 Message-ID: <86wptyzqij.fsf@stephe-leake.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> <563913A5.7050403@yandex.ru> <868u6e21kg.fsf@stephe-leake.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1446588512 29237 80.91.229.3 (3 Nov 2015 22:08:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Nov 2015 22:08:32 +0000 (UTC) Cc: Juanma Barranquero , 21816@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 03 23:08:20 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 1ZtjkS-000392-IJ for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Nov 2015 23:08:12 +0100 Original-Received: from localhost ([::1]:51295 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtjkS-0002nh-4k for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Nov 2015 17:08:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49027) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtjkM-0002jy-5b for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2015 17:08:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZtjkI-0000lC-VP for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2015 17:08:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:32993) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtjkI-0000l8-T2 for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2015 17:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZtjkI-0006iq-D0 for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2015 17:08:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Leake Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Nov 2015 22:08:02 +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.144658844125777 (code B ref 21816); Tue, 03 Nov 2015 22:08:02 +0000 Original-Received: (at 21816) by debbugs.gnu.org; 3 Nov 2015 22:07:21 +0000 Original-Received: from localhost ([127.0.0.1]:51934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ztjjc-0006hg-SS for submit@debbugs.gnu.org; Tue, 03 Nov 2015 17:07:21 -0500 Original-Received: from gproxy5-pub.mail.unifiedlayer.com ([67.222.38.55]:43258) by debbugs.gnu.org with smtp (Exim 4.80) (envelope-from ) id 1Ztjja-0006hY-KY for 21816@debbugs.gnu.org; Tue, 03 Nov 2015 17:07:19 -0500 Original-Received: (qmail 25917 invoked by uid 0); 3 Nov 2015 22:07:14 -0000 Original-Received: from unknown (HELO cmgw4) (10.0.90.85) by gproxy5.mail.unifiedlayer.com with SMTP; 3 Nov 2015 22:07:14 -0000 Original-Received: from host114.hostmonster.com ([74.220.207.114]) by cmgw4 with id dA7B1r0032UdiVW01A7Equ; Tue, 03 Nov 2015 15:07:14 -0700 X-Authority-Analysis: v=2.1 cv=IekUBwaa c=1 sm=1 tr=0 a=CQdxDb2CKd3SRg4I0/XZPQ==:117 a=CQdxDb2CKd3SRg4I0/XZPQ==:17 a=DsvgjBjRAAAA:8 a=f5113yIGAAAA:8 a=9i_RQKNPAAAA:8 a=hEr_IkYJT6EA:10 a=x_XPkuGwIRMA:10 a=qtqOOiqGOCEA:10 a=vaJtXVxTAAAA:8 a=XcMUEJH0VgTIJJtNwu4A:9 Original-Received: from [76.218.37.33] (port=65382 helo=TAKVER2) by host114.hostmonster.com with esmtpa (Exim 4.84) (envelope-from ) id 1ZtjjS-00046V-PE; Tue, 03 Nov 2015 15:07:10 -0700 In-Reply-To: <868u6e21kg.fsf@stephe-leake.org> (Stephen Leake's message of "Tue, 03 Nov 2015 15:52:15 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt) X-Identified-User: {2442:host114.hostmonster.com:stephele:stephe-leake.org} {sentby:smtp auth 76.218.37.33 authed with stephen_leake@stephe-leake.org} 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:108397 Archived-At: Stephen Leake writes: > Dmitry Gutov writes: > >> On 11/03/2015 09:54 PM, Stephen Leake wrote: >> >>> I'm not clear how to do the case conversion, but I bet Emacs does have >>> the right functions. >> >> I'd expect file-truename to return an appropriate value, but >> apparently not. > > Right. But it does handle symbolic links; is that what we need for a > canonical file name? It is what we want for comparing filenames in > xrefs, so it at least needs to be an option. Actually, file-truename works for the cases we've discussed so far: (file-truename "c:/Projects/emacs/master/lisp/elide-head.el") "c:/Projects/emacs/master/lisp/elide-head.el" (file-truename "c:\\Projects\\emacs\\master\\lisp\\elide-head.el") "c:/Projects/emacs/master/lisp/elide-head.el" (file-truename "c:\\projects\\emacs\\master\\lisp\\elide-head.el") "c:/Projects/emacs/master/lisp/elide-head.el" I did not try a non-ASCII file name; I'm not sure how to construct one that has a non-ASCII casing issue. What test did you run that failed? -- -- Stephe