unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15735: 24.3.50; `find-library' completion bug
@ 2013-10-27 17:36 Drew Adams
  2013-10-28  4:07 ` Stefan Monnier
  0 siblings, 1 reply; 13+ messages in thread
From: Drew Adams @ 2013-10-27 17:36 UTC (permalink / raw)
  To: 15735

emacs -Q

I add directory`ess-5.3.10' to my `load-path'.  That dir has a
subdirectory `lisp', which contains libraries whose names begin with
`ess', such as `ess.el'.  (But subdir `lisp' is not in `load-path'.)

M-x find-library ess TAB

completes to `ess-5.3.10', which it should not.  There is no library in
my `load-path' that has that prefix.

`RET' with the completion `ess-5.3.10' raises an error (naturally):

Debugger entered--Lisp error: (error "Can't find library ess-5.3.10/")
  signal(error ("Can't find library ess-5.3.10/"))
  error("Can't find library %s" "ess-5.3.10/")
  find-library-name("ess-5.3.10/")
  (find-file-noselect (find-library-name library))
  (let ((buf (find-file-noselect (find-library-name library)))) (condition-case nil (switch-to-buffer buf) (error (pop-to-buffer buf))))
  find-library("ess-5.3.10/")
  call-interactively(find-library record-it)
...

In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
 of 2013-10-19 on LEG570
Bzr revision: 114715 rgm@gnu.org-20131019023520-s8mwtib7xcx9e05w
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking 'CFLAGS=-O0 -g3' CPPFLAGS=-DGLYPH_DEBUG=1'





^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2022-02-06  0:29 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-27 17:36 bug#15735: 24.3.50; `find-library' completion bug Drew Adams
2013-10-28  4:07 ` Stefan Monnier
2013-10-28 14:00   ` Drew Adams
2013-10-28 14:32     ` Andreas Röhler
2013-10-28 14:39       ` Drew Adams
2013-10-28 14:53     ` Stefan Monnier
2013-10-28 15:06       ` Drew Adams
2013-10-29  1:25         ` Stefan Monnier
2013-10-29  1:28           ` Drew Adams
2022-02-05 23:29           ` bug#15735: locate-file-completion-table should not accept incomplete input Lars Ingebrigtsen
2022-02-06  0:17             ` bug#15735: [External] : " Drew Adams
2022-02-06  0:18               ` Lars Ingebrigtsen
2022-02-06  0:29                 ` Drew Adams

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).