[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17467: 24.3; locate-library returning spurious path
From: |
Eli Zaretskii |
Subject: |
bug#17467: 24.3; locate-library returning spurious path |
Date: |
Sun, 11 May 2014 20:03:40 +0300 |
> From: Alex Kosorukoff <alex@3form.com>
> Date: Sun, 11 May 2014 09:06:10 -0700
>
> locate-library incorrectly generates a set of suffixes to extend the
> base library name (".elc" ".elc.gz" ".el" ".el.gz" "" ".gz"), while it
> should be just (".elc" ".elc.gz" ".el" ".el.gz") when nosuffix is
> nil. This leads to spurious paths found, like name.gz. I found
> this issue because (locate-library "tramp") was returning
> "/home/alex/.emacs.d/trump" not "../lisp/net/trum.elc". The workaround
> is (locate-file "tramp" load-path (get-load-suffixes))
What if I say
(locate-library "tramp.el")
Shouldn't it be able to find tramp.el.gz then?
- bug#17467: 24.3; locate-library returning spurious path, Alex Kosorukoff, 2014/05/11
- bug#17467: 24.3; locate-library returning spurious path,
Eli Zaretskii <=
- bug#17467: 24.3; locate-library returning spurious path, Alex Kosorukoff, 2014/05/11
- bug#17467: 24.3; locate-library returning spurious path, Eli Zaretskii, 2014/05/11
- bug#17467: 24.3; locate-library returning spurious path, Alex Kosorukoff, 2014/05/11
- bug#17467: 24.3; locate-library returning spurious path, Eli Zaretskii, 2014/05/11
- bug#17467: 24.3; locate-library returning spurious path, Alex Kosorukoff, 2014/05/11
- bug#17467: 24.3; locate-library returning spurious path, Stefan Monnier, 2014/05/11
- bug#17467: 24.3; locate-library returning spurious path, Alex Kosorukoff, 2014/05/11
bug#17467: 24.3; locate-library returning spurious path, Glenn Morris, 2014/05/11
bug#17467: 24.3; locate-library returning spurious path, Stefan Monnier, 2014/05/11