Subject: load-library vs. list-load-path-shadows

From: Juanma Barranquero <[email-masked]>
Date: Tue, 6 Apr 2010 15:36:12 +0200

[Forward of http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00182.html]

(This is on Windows, so case insensitive search, etc.)

I installed color-theme in my site-lisp, and then

  M-x load-library <RET> authors <RET>

fails because it finds site-lisp/color-theme/AUTHORS instead of
lisp/emacs-lisp/authors.el[c], which is or isn't a bug (I think it's
not, given that `load-library' clearly says that "LIBRARY is searched
[...] both with and without `load-suffixes'").

But at least `list-load-path-shadows' should use the same heuristics,
so it could point out the problem...

   Juanma