From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#4718: 23.1; C-h f gives doc for the wrong function Date: Tue, 13 Oct 2009 23:11:25 -0400 Message-ID: References: <4A14BB04EC704AE8AC77727C8363945A@us.oracle.com> Reply-To: Stefan Monnier , 4718@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1255490867 17415 80.91.229.12 (14 Oct 2009 03:27:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Oct 2009 03:27:47 +0000 (UTC) Cc: 'Juanma Barranquero' , 4718@emacsbugs.donarmstrong.com To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 14 05:27:36 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MxuWT-0003Wr-Ad for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Oct 2009 05:27:33 +0200 Original-Received: from localhost ([127.0.0.1]:35257 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxuWS-0002zc-N6 for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Oct 2009 23:27:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MxuWE-0002v2-Rs for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2009 23:27:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MxuWA-0002uR-Id for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2009 23:27:18 -0400 Original-Received: from [199.232.76.173] (port=38132 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxuWA-0002uH-2z for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2009 23:27:14 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:51469) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MxuW9-0000EW-31 for bug-gnu-emacs@gnu.org; Tue, 13 Oct 2009 23:27:13 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9E3RAWL009603; Tue, 13 Oct 2009 20:27:11 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9E3K5EH008385; Tue, 13 Oct 2009 20:20:05 -0700 Resent-Date: Tue, 13 Oct 2009 20:20:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Wed, 14 Oct 2009 03:20:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4718 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4718-submit@emacsbugs.donarmstrong.com id=B4718.12554898927096 (code B ref 4718); Wed, 14 Oct 2009 03:20:05 +0000 Original-Received: (at 4718) by emacsbugs.donarmstrong.com; 14 Oct 2009 03:11:32 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ironport2-out.pppoe.ca (ironport2-out.teksavvy.com [206.248.154.181]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9E3BUif007080 for <4718@emacsbugs.donarmstrong.com>; Tue, 13 Oct 2009 20:11:32 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUEACLe1EpMCqsb/2dsb2JhbACBUdc2hC0EgVuGDw X-IronPort-AV: E=Sophos;i="4.44,555,1249272000"; d="scan'208";a="47523989" Original-Received: from 76-10-171-27.dsl.teksavvy.com (HELO ceviche.home) ([76.10.171.27]) by ironport2-out.pppoe.ca with ESMTP; 13 Oct 2009 23:11:25 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 417E5B40B9; Tue, 13 Oct 2009 23:11:25 -0400 (EDT) In-Reply-To: <4A14BB04EC704AE8AC77727C8363945A@us.oracle.com> (Drew Adams's message of "Tue, 13 Oct 2009 18:49:30 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Tue, 13 Oct 2009 23:27:18 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31902 Archived-At: > 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