GNU bug report logs - #17467
24.3; locate-library returning spurious path

Previous Next

Package: emacs;

Reported by: Alex Kosorukoff <alex <at> 3form.com>

Date: Sun, 11 May 2014 16:51:02 UTC

Severity: minor

Tags: patch

Found in version 24.3

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Alex Kosorukoff <alex <at> 3form.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 17467 <17467 <at> debbugs.gnu.org>
Subject: bug#17467: 24.3; locate-library returning spurious path
Date: Sun, 11 May 2014 10:43:09 -0700
[Message part 1 (text/plain, inline)]
You are right, I had my ~/.emacs.d in the load-path. I removed it as my
first step to resolve this issue, but then I thought that even if it were
in the load-path, returning the path to a file without a valid library
extension is an unexpected behavior for locate-library.


On Sun, May 11, 2014 at 10:37 AM, Glenn Morris <rgm <at> gnu.org> wrote:

> Alex Kosorukoff wrote:
>
> > I found this issue because (locate-library "tramp") was returning
> > "/home/alex/.emacs.d/trump" not "../lisp/net/trum.elc".
>
> I assume there are some typos there...
>
> Anyway, sounds like you have your ~/.emacs.d directory in load-path?
> You are strongly encouraged not to do that.
> Newer Emacs will in fact warn you about it.
> Because you can get problems just like this one! :)
>
[Message part 2 (text/html, inline)]

This bug report was last modified 4 years and 226 days ago.

Previous Next


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