From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nathan Trapuzzano Newsgroups: gmane.emacs.bugs Subject: bug#16857: 24.3.50; Incorrect output from `list-load-path-shadows' Date: Sun, 23 Feb 2014 19:50:18 -0500 Message-ID: <87k3clwcz9.fsf@nbtrap.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1393203135 5953 80.91.229.3 (24 Feb 2014 00:52:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Feb 2014 00:52:15 +0000 (UTC) To: 16857@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 24 01:52:23 2014 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 1WHjmQ-0007gh-Lq for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Feb 2014 01:52:22 +0100 Original-Received: from localhost ([::1]:55261 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHjmQ-0008E0-2T for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 Feb 2014 19:52:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHjmE-0008Ds-KJ for bug-gnu-emacs@gnu.org; Sun, 23 Feb 2014 19:52:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WHjm6-0004Qt-HZ for bug-gnu-emacs@gnu.org; Sun, 23 Feb 2014 19:52:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35870) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHjm6-0004Qj-EY for bug-gnu-emacs@gnu.org; Sun, 23 Feb 2014 19:52:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WHjm6-0006vl-1q for bug-gnu-emacs@gnu.org; Sun, 23 Feb 2014 19:52:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Nathan Trapuzzano Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Feb 2014 00:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16857 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.139320306426560 (code B ref -1); Mon, 24 Feb 2014 00:52:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Feb 2014 00:51:04 +0000 Original-Received: from localhost ([127.0.0.1]:37052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WHjlA-0006uK-2R for submit@debbugs.gnu.org; Sun, 23 Feb 2014 19:51:04 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:58775) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WHjl6-0006to-Ir for submit@debbugs.gnu.org; Sun, 23 Feb 2014 19:51:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WHjkt-0004FN-Bi for submit@debbugs.gnu.org; Sun, 23 Feb 2014 19:50:55 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:48365) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHjkt-0004FI-8v for submit@debbugs.gnu.org; Sun, 23 Feb 2014 19:50:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60477) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHjkm-0007vf-6J for bug-gnu-emacs@gnu.org; Sun, 23 Feb 2014 19:50:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WHjke-0004Cz-TY for bug-gnu-emacs@gnu.org; Sun, 23 Feb 2014 19:50:40 -0500 Original-Received: from gproxy2-pub.mail.unifiedlayer.com ([69.89.18.3]:42341) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1WHjke-0004Cf-JR for bug-gnu-emacs@gnu.org; Sun, 23 Feb 2014 19:50:32 -0500 Original-Received: (qmail 1344 invoked by uid 0); 24 Feb 2014 00:50:27 -0000 Original-Received: from unknown (HELO cmgw4) (10.0.90.85) by gproxy2.mail.unifiedlayer.com with SMTP; 24 Feb 2014 00:50:27 -0000 Original-Received: from host393.hostmonster.com ([66.147.240.193]) by cmgw4 with id W7qL1n0034B3kjm017qPbh; Mon, 24 Feb 2014 00:50:25 -0700 X-Authority-Analysis: v=2.1 cv=Ht/lRSjS c=1 sm=1 tr=0 a=GZ6qK+eS4AuCRVUKGEKC+Q==:117 a=GZ6qK+eS4AuCRVUKGEKC+Q==:17 a=DsvgjBjRAAAA:8 a=f5113yIGAAAA:8 a=sdXnnfW09vAA:10 a=XKSpX-tYeI0A:10 a=lfvU_ReahkwA:10 a=ngU5ixn2AAAA:8 a=CI-rVI0Sf54A:10 a=fWyWhr6xdMwA:10 a=1Lq0gJeMIf3rmXz20yUA:9 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbtrap.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From; bh=i3kBcuW1eIEpFl2MNSSdYoq2pGsbbi0hQzd4eipYZuM=; b=ZhbHO8Wd5K5lQLG4A23WbHQSWzTNvD1DmlHbAs8XjKQDuH+rdhvjlI2ejSmfXx4nACHidt9BVEp4zqE6HFzCDaxtxrbd/wzuxP08St3vaCCfq3LGLF7uaSIuEdsVnLzO; Original-Received: from [50.90.253.209] (port=60661 helo=Nathan-GNU) by host393.hostmonster.com with esmtpsa (UNKNOWN:CAMELLIA128-SHA:128) (Exim 4.80) (envelope-from ) id 1WHjkT-0004KH-LJ for bug-gnu-emacs@gnu.org; Sun, 23 Feb 2014 17:50:21 -0700 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Identified-User: {1585:host393.hostmonster.com:nbtrapco:nbtrap.com} {sentby:smtp auth 50.90.253.209 authed with nbtrap@nbtrap.com} X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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: 140.186.70.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:86089 Archived-At: I'm seeing incorrect behavior from `list-load-path-shadows'. I just installed Slime from the github master branch. Since it relies on cl-lib, it comes with its own copy so it will work on older versions of Emacs. Now, when I do `list-load-path-shadows', here's what it shows: /home/nathan/opt/elisp/js2-mode-20131118.1516/.dir-locals hides /opt/emacs-trunk/share/emacs/24.3.50/lisp/gnus/.dir-locals /opt/emacs-trunk/share/emacs/24.3.50/lisp/emacs-lisp/cl-lib hides /home/nathan/opt/elisp/slime/lib/cl-lib /opt/emacs-trunk/share/emacs/24.3.50/lisp/emacs-lisp/ert hides /home/nathan/opt/elisp/slime/lib/ert /opt/emacs-trunk/share/emacs/24.3.50/lisp/emacs-lisp/ert-x hides /home/nathan/opt/elisp/slime/lib/ert-x 4 Emacs Lisp load-path shadowings were found It says that the version of cl-lib that comes with Emacs shadows Slime's copy. In fact, it's the other way around. I know this is the case because: 1. Slime's directory comes first in `load-path'. 2. I get warning messages on startup about Emacs' cl-lib being shadowed ("Real cl-lib shadowed by compatibility cl-lib? (/home/nathan/opt/elisp/slime/lib/cl-lib.elc)"). 3. After removing Slime's copy, Slime no longer exceeds max-list-eval-depth and max-specpdl-size. Moreover, when I remove Slime's copy of cl-lib and restart Emacs, here's what `list-load-path-shadows' prints: /home/nathan/opt/elisp/js2-mode-20131118.1516/.dir-locals hides /opt/emacs-trunk/share/emacs/24.3.50/lisp/gnus/.dir-locals /home/nathan/opt/elisp/slime/lib/ert-x hides /opt/emacs-trunk/share/emacs/24.3.50/lisp/emacs-lisp/ert-x /home/nathan/opt/elisp/slime/lib/ert hides /opt/emacs-trunk/share/emacs/24.3.50/lisp/emacs-lisp/ert 3 Emacs Lisp load-path shadowings were found For some reason, it now gets the "what shadows what" correct.