From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Drew Adams <drew.adams@oracle.com>
Cc: 'Juanma Barranquero' <lekktu@gmail.com>, 4718@emacsbugs.donarmstrong.com
Subject: bug#4718: 23.1; C-h f gives doc for the wrong function
Date: Tue, 13 Oct 2009 23:11:25 -0400 [thread overview]
Message-ID: <jwvskdm65e2.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <4A14BB04EC704AE8AC77727C8363945A@us.oracle.com> (Drew Adams's message of "Tue, 13 Oct 2009 18:49:30 -0700")
> I entered one entire function name. Emacs didn't complain that there
> was no such function. Emacs instead silently gave me the doc for
> a different function. That's totally inappropriate.
> When I hit RET, Emacs should say `No match' and not accept my
> erroneous input, as it used to do in Emacs 22 and before.
emacs22 -Q
C-h f dolis RET
will happily descrie the `dolist' function. So, no, this is no strictly
new behavior in this respect. The partial completion in Emacs-23 does
make it more likely that completion will find some function rather than
return "no match". If someone wants to make this function use a `ask'
for `require-match', as is done in M-x, I won't object, tho I do not
think it's a big deal.
For what it's worth I have a local patch that indirectly changes this
behavior: it accepts any function name (even non-existing ones),
requires confirmation for non-existing ones, and then tries to guess
which file to load to find the function.
Stefan
next prev parent reply other threads:[~2009-10-14 3:11 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-13 23:49 bug#4718: 23.1; C-h f gives doc for the wrong function Drew Adams
2009-10-14 0:28 ` Juanma Barranquero
2009-10-14 1:49 ` Drew Adams
2009-10-14 3:11 ` Stefan Monnier [this message]
2009-10-14 4:24 ` Drew Adams
2009-10-14 13:40 ` Stefan Monnier
2009-10-14 15:59 ` Drew Adams
2009-10-15 3:14 ` Stefan Monnier
2009-10-14 3:32 ` Juanma Barranquero
2009-10-14 4:24 ` Drew Adams
2009-10-14 4:51 ` Juanma Barranquero
2009-10-14 6:25 ` Drew Adams
2009-10-14 13:31 ` Stefan Monnier
2009-10-14 15:50 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvskdm65e2.fsf-monnier+emacsbugreports@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=4718@emacsbugs.donarmstrong.com \
--cc=drew.adams@oracle.com \
--cc=lekktu@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.