unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
To: bug-gnu-emacs@gnu.org
Subject: bug#5845: load-library vs. list-load-path-shadows
Date: Tue, 06 Apr 2010 15:40:56 +0100	[thread overview]
Message-ID: <xbaiy6h0wsnb.fsf@cam.ac.uk> (raw)
In-Reply-To: <v2gf7ccd24b1004060636jc1bbe9f0l8dc7b091b051b5bf@mail.gmail.com>

On 2010-04-06 14:36 +0100, Juanma Barranquero wrote:
> [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

I wonder if it would be better not to include files with no extensions.
Quite a few packages include things like README/ChangeLog.

Leo








  reply	other threads:[~2010-04-06 14:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <n2uf7ccd24b1004050403vc659b113p56b642fd59a841a4@mail.gmail.com>
2010-04-06 13:36 ` bug#5845: load-library vs. list-load-path-shadows Juanma Barranquero
2010-04-06 14:40   ` Leo [this message]
2010-04-06 16:11     ` Juanma Barranquero
2018-01-16 15:54   ` Noam Postavsky
2018-01-16 17:25     ` Ken Brown
2018-01-16 21:32       ` Noam Postavsky
2018-01-17 15:37         ` Eli Zaretskii
2018-01-18 17:05           ` Noam Postavsky
2018-01-18 18:51             ` Eli Zaretskii
2018-01-18 19:39               ` Noam Postavsky
2018-01-18 20:46                 ` Eli Zaretskii
2018-01-18 21:40                   ` Noam Postavsky

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=xbaiy6h0wsnb.fsf@cam.ac.uk \
    --to=sdl.web@gmail.com \
    --cc=bug-gnu-emacs@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).