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 18:34:44 +0200 Message-ID: <83ziyvujmj.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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1446568586 19555 80.91.229.3 (3 Nov 2015 16:36:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Nov 2015 16:36:26 +0000 (UTC) Cc: lekktu@gmail.com, 21816@debbugs.gnu.org, stephen_leake@stephe-leake.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 03 17:36:14 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 1ZteZB-0002GG-Sd for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Nov 2015 17:36:14 +0100 Original-Received: from localhost ([::1]:49712 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZteZB-0002i6-9R for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Nov 2015 11:36:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57519) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZteZ3-0002hK-Ld for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2015 11:36:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZteZ0-0002vU-CY for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2015 11:36:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60953) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZteZ0-0002vP-9u for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2015 11:36:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZteZ0-0003fz-43 for bug-gnu-emacs@gnu.org; Tue, 03 Nov 2015 11:36:02 -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 16:36: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.144656851414041 (code B ref 21816); Tue, 03 Nov 2015 16:36:02 +0000 Original-Received: (at 21816) by debbugs.gnu.org; 3 Nov 2015 16:35:14 +0000 Original-Received: from localhost ([127.0.0.1]:51661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZteYE-0003eM-1j for submit@debbugs.gnu.org; Tue, 03 Nov 2015 11:35:14 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:36805) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZteYA-0003e2-WD for 21816@debbugs.gnu.org; Tue, 03 Nov 2015 11:35:12 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NX800H00ZCD5H00@a-mtaout22.012.net.il> for 21816@debbugs.gnu.org; Tue, 03 Nov 2015 18:34:29 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NX800GNLZDGN1B0@a-mtaout22.012.net.il>; Tue, 03 Nov 2015 18:34:29 +0200 (IST) In-reply-to: <5638DE4A.308@yandex.ru> 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:108361 Archived-At: > Cc: Eli Zaretskii , 21816@debbugs.gnu.org, > Stephen Leake > From: Dmitry Gutov > Date: Tue, 3 Nov 2015 18:18:18 +0200 > > On 11/03/2015 06:04 PM, Juanma Barranquero wrote: > > > I'm not sure where you're arguing that > > > > a) xrefs never need to be compared > > b) they are sometimes, but it's ok to use equal and fail in > > case-preserving and case-insensitive systems > > Why don't we canonicalize the file name somehow when an xref instance is > created? Both forms (and some additional ones) are perfectly canonical. > > I'm a bit surprised to be discussing that the basic type offered by an > > infrastructure library as xref needs ways to be compared... > > Compared in an impementation-specialized way? Yes, I'd like to see a use > case. > > It's very nontrivial to write a comparison function that would work > beyond the type you're currently defining (just one xref subtype). > Hence, its applicability will probably be rather limited. This isn't a xref-specific problem, so I think it should have a more general solution that any package could use. It's not reasonable to expect from every Emacs developer to be an expert on subtle aspects of comparing Windows file names. We should provide a tested solution for that.