GNU bug report logs - #5845
load-library vs. list-load-path-shadows

Previous Next

Package: emacs;

Reported by: Juanma Barranquero <lekktu <at> gmail.com>

Date: Tue, 6 Apr 2010 13:37:02 UTC

Severity: normal

Tags: fixed

Fixed in version 26.1

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Bug-Gnu-Emacs <bug-gnu-emacs <at> gnu.org>
Subject: load-library vs. list-load-path-shadows
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





This bug report was last modified 7 years and 180 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.