unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 15735@debbugs.gnu.org
Subject: bug#15735: 24.3.50; `find-library' completion bug
Date: Mon, 28 Oct 2013 08:06:01 -0700 (PDT)	[thread overview]
Message-ID: <5420d435-f2c8-4b5a-9abb-d91d67e3cf4d@default> (raw)
In-Reply-To: <jwv4n8178n9.fsf-monnier+emacsbugs@gnu.org>

> > It doesn't seem right to me, but I'm probably naive.
> 
> You can do (load "ess-5.3.10/somefile"), and for that reaon you can
> do
> You can do M-x load-library RET ess-5.3.10/somefile RET, and for
> that
> reason, you can do M-x load-library RET ess- TAB somefi TAB RET
> 
> This is not used with many packages, but it is used for (load
> "term/xterm.el") since "term/" is not in load-path, and it is used
> extensively for CEDET where the subdirectories are used for
> "namespace", so they can load "semantic/debug" without colliding
> with Emacs's debug.el.

OK.

Perhaps what is the most confusing to me is that instead of Emacs
telling you that there are no completions of what you've typed,
it tells you that this (the dir) is a successful completion, and
yet if you hit RET it tells you no library.

It would make more sense to me if RET at this point did what I
expected a second TAB to do: tell you there are no completions
(beyond the directory name), but not exit the minibuffer.

More generally, perhaps RET for `find-library' should not exit
the minibuffer for unsuccesful library-finding.

I'm OK with your closing the bug, but I wonder whether a less
surprising behavior might not be possible.





  reply	other threads:[~2013-10-28 15:06 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5420d435-f2c8-4b5a-9abb-d91d67e3cf4d@default \
    --to=drew.adams@oracle.com \
    --cc=15735@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).