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#12456: 24.2.50; Completion in `Info-goto-node' (cross-manual jump) Date: Mon, 17 Sep 2012 17:12:10 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1347916372 25424 80.91.229.3 (17 Sep 2012 21:12:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Sep 2012 21:12:52 +0000 (UTC) Cc: 12456@debbugs.gnu.org To: Dani Moncayo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 17 23:12:56 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TDicf-0007jG-JR for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Sep 2012 23:12:53 +0200 Original-Received: from localhost ([::1]:49504 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDicb-0006BN-9f for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Sep 2012 17:12:49 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDicZ-0006BI-2E for bug-gnu-emacs@gnu.org; Mon, 17 Sep 2012 17:12:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TDicY-00069v-5c for bug-gnu-emacs@gnu.org; Mon, 17 Sep 2012 17:12:46 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59081) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDicY-00069r-2T for bug-gnu-emacs@gnu.org; Mon, 17 Sep 2012 17:12:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TDidl-00009c-SD for bug-gnu-emacs@gnu.org; Mon, 17 Sep 2012 17:14:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Sep 2012 21:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12456 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12456-submit@debbugs.gnu.org id=B12456.1347916413550 (code B ref 12456); Mon, 17 Sep 2012 21:14:01 +0000 Original-Received: (at 12456) by debbugs.gnu.org; 17 Sep 2012 21:13:33 +0000 Original-Received: from localhost ([127.0.0.1]:40394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TDidJ-00008p-Ch for submit@debbugs.gnu.org; Mon, 17 Sep 2012 17:13:33 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:40533) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TDidE-00008a-Ou for 12456@debbugs.gnu.org; Mon, 17 Sep 2012 17:13:32 -0400 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q8HLCApI009111; Mon, 17 Sep 2012 17:12:10 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id B1E2AB4071; Mon, 17 Sep 2012 17:12:10 -0400 (EDT) In-Reply-To: (Dani Moncayo's message of "Sun, 16 Sep 2012 19:59:43 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:64532 Archived-At: > Recipe from emacs -Q: C-h r g ( e l i s p ) n n > When I do it, I see in the echo area the message "[Complete, but not > unique]", which is wrong, as the elisp manual has no node called (nor > beggining with) "nn". > OTOH, if I repeat the experiment but this time with "(elisp)num", > Emacs says the same message (this time is right), but a second > produces the message "[No completions]", which is wrong, as there is 3 > nodes in the elisp manual whose names start with "num". IIRC the core of the problem is that Info's completion table does not (yet) know how to do completion after something like "(elisp)", so it basically returns some "dummy" completion data (because the way completion tables are defined currently, they have no way to say "I don't know"). So there are 2 ways to fix the above problem: - Extend minibuffer.el so a completion table return "don't know" (at which point it could put a message like " [No completion info]"). - Extend info.el so that it does provide actual completion by opening up the "elisp" info file and gathering the corresponding node names. Stefan