GNU bug report logs -
#14680
24.3.50; `locate-file-completion' gives wrong candidates - *.elc.elc and no *.el
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Thu, 20 Jun 2013 21:16:01 UTC
Severity: normal
Tags: moreinfo, unreproducible
Found in version 24.3.50
Done: npostavs <at> users.sourceforge.net
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
tags 14680 unreproducible
quit
Drew Adams <drew.adams <at> oracle.com> writes:
> Yes, it is reproducible (on MS Windows, at least), using (at least)
> Emacs 24 and an Emacs 25 build of a month or so ago.
>
> However, the recipe should have said to do this also, before
> evaluating the `completing-read' sexp:
>
> (load-library "find-func")
Not able to reproduce on Windows 10; Emacs 24.3, 24.4, 24.5, 25.1-rc1
I tested in a directory with contents:
C:\Users\npostavs\src\emacs>dir /b bug-14680-locate-file-completion
bug-14680.el
isearch+.el
isearch+.elc
isearch+.el~
Evaluated the following from emacs -Q:
(load-library "find-func")
(add-to-list 'load-path ".")
(completing-read "Library name: "
'locate-file-completion
(cons load-path (find-library-suffixes))
nil nil nil (thing-at-point 'symbol))
I got
Possible completions are:
isearch+
isearch+.elc
isearch+.el~
This bug report was last modified 8 years and 328 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.