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 13:24:31 -0600 Message-ID: <86pozq28eo.fsf@stephe-leake.org> References: <86mvuv30i1.fsf@stephe-leake.org> <86y4ef16ha.fsf@stephe-leake.org> <83d1vrw0p9.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1446578788 919 80.91.229.3 (3 Nov 2015 19:26:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Nov 2015 19:26:28 +0000 (UTC) Cc: lekktu@gmail.com, 21816@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 03 20:26:16 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 1ZthDj-0002gI-4Y for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Nov 2015 20:26:15 +0100 Original-Received: from localhost ([::1]:50565 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZthDd-00031K-97 for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Nov 2015 14:26:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZthDZ-000317-Ig for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2015 14:26:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZthDW-0001mA-Df for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2015 14:26:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:32811) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZthDW-0001m3-Am for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2015 14:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZthDV-0002eh-W4 for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2015 14:26: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 19:26: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.144657871110141 (code B ref 21816); Tue, 03 Nov 2015 19:26:01 +0000 Original-Received: (at 21816) by debbugs.gnu.org; 3 Nov 2015 19:25:11 +0000 Original-Received: from localhost ([127.0.0.1]:51752 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZthCh-0002dV-0g for submit@debbugs.gnu.org; Tue, 03 Nov 2015 14:25:11 -0500 Original-Received: from gproxy7-pub.mail.unifiedlayer.com ([70.40.196.235]:60088) by debbugs.gnu.org with smtp (Exim 4.80) (envelope-from ) id 1ZthCM-0002cn-O6 for 21816@debbugs.gnu.org; Tue, 03 Nov 2015 14:25:10 -0500 Original-Received: (qmail 13103 invoked by uid 0); 3 Nov 2015 19:24:47 -0000 Original-Received: from unknown (HELO CMOut01) (10.0.90.82) by gproxy7.mail.unifiedlayer.com with SMTP; 3 Nov 2015 19:24:47 -0000 Original-Received: from host114.hostmonster.com ([74.220.207.114]) by CMOut01 with id d7Qf1r01M2UdiVW017Qixf; Tue, 03 Nov 2015 12:24:46 -0700 X-Authority-Analysis: v=2.1 cv=VOBOwb/X 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=mDV3o1hIAAAA:8 a=du2QjpoP--1MU9LRikMA:9 Original-Received: from [76.218.37.33] (port=64369 helo=TAKVER2) by host114.hostmonster.com with esmtpa (Exim 4.84) (envelope-from ) id 1ZthCC-00086n-MG; Tue, 03 Nov 2015 12:24:40 -0700 In-Reply-To: <83d1vrw0p9.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 03 Nov 2015 17:40:34 +0200") 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:108373 Archived-At: Eli Zaretskii writes: > Sorry to bust this party, guys, but I don't think this solution is > "good enough". In general, or just for this test? Let's fix the test first, and worry about the general case later. > First, it won't DTRT with Windows file names that have > backslashes (yes, they happen in Emacs). That's easy; add `expand-file-name'. > Second, 'downcase' has a known gotcha of using the current buffer's > case tables, which is something you definitely don't want here. Ah; I had not considered non-ASCII stuff. Is there some global variable we can let-bind to control that? > Bottom line, doing this "right" is not so trivial, and a dedicated > function is a better solution, IMO. If you put it in files-x.el, it > could be reused by other Lisp programs in the need of this. Yes, that makes sense. > IME, it doesn't pay off to use such incomplete solutions, the result > is an annoying, albeit minor, maintenance burden. Not in this test. -- -- Stephe