From: Nathan Trapuzzano <nbtrap@nbtrap.com>
To: 16857@debbugs.gnu.org
Subject: bug#16857: 24.3.50; Incorrect output from `list-load-path-shadows'
Date: Sun, 23 Feb 2014 19:50:18 -0500 [thread overview]
Message-ID: <87k3clwcz9.fsf@nbtrap.com> (raw)
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.
next reply other threads:[~2014-02-24 0:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-24 0:50 Nathan Trapuzzano [this message]
2014-02-24 1:06 ` bug#16857: 24.3.50; Incorrect output from `list-load-path-shadows' Glenn Morris
2014-02-24 1:20 ` Nathan Trapuzzano
2014-02-24 1:41 ` Glenn Morris
2014-02-24 1:51 ` Nathan Trapuzzano
2014-02-24 21:03 ` Stefan Monnier
2014-02-24 23:16 ` Nathan Trapuzzano
2014-02-24 23:34 ` Glenn Morris
2014-02-25 21:56 ` Stefan Monnier
2014-02-26 3:49 ` Nathan Trapuzzano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k3clwcz9.fsf@nbtrap.com \
--to=nbtrap@nbtrap.com \
--cc=16857@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).