[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17467: 24.3; locate-library returning spurious path
From: |
Stefan Monnier |
Subject: |
bug#17467: 24.3; locate-library returning spurious path |
Date: |
Mon, 12 May 2014 02:39:04 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
> variant matched tramp.el.old which is not a valid library name.
Who cares? The point is that if the user asks to load foo.el.old, we
should consider load-file-rep-suffixes, whereas for "foo" we shouldn't.
I'm not particularly worried about finding files with name "foo.el.old.el".
> + (unless nosuffix
> + (if (string-match "\\.elc?\\(\\.gz\\)?\\'" library)
I don't want to hardcode "gz" here. We have load-file-rep-suffixes for that.
> + (if (= 2 (length (match-data))) load-file-rep-suffixes)
> + (get-load-suffixes))))))
If you only use (get-load-suffixes) that will fail when we (load "~/.gnus").
My check for absolute-file-name-p was not an optimization.
Stefan
- bug#17467: 24.3; locate-library returning spurious path, (continued)
- 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, Alex Kosorukoff, 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/12
- bug#17467: 24.3; locate-library returning spurious path,
Stefan Monnier <=
- bug#17467: 24.3; locate-library returning spurious path, Alex Kosorukoff, 2014/05/12
bug#17467: 24.3; locate-library returning spurious path, Stefan Monnier, 2014/05/15