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#20391: 24.5; Info-menu completing-read doesn't use DEF argument Date: Mon, 27 Apr 2015 00:55:32 -0400 Message-ID: References: <4863FB33-9877-41C5-938B-E2C2D4B92854@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1430110585 18015 80.91.229.3 (27 Apr 2015 04:56:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Apr 2015 04:56:25 +0000 (UTC) Cc: 20391-done@debbugs.gnu.org To: Howard Melman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 27 06:56:13 2015 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 1Ymb5X-0000W2-4r for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Apr 2015 06:56:11 +0200 Original-Received: from localhost ([::1]:53033 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ymb5W-0005rK-ID for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Apr 2015 00:56:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ymb5S-0005pt-Dc for bug-gnu-emacs@gnu.org; Mon, 27 Apr 2015 00:56:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ymb5P-0001fY-7l for bug-gnu-emacs@gnu.org; Mon, 27 Apr 2015 00:56:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51002) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ymb5P-0001fI-5L for bug-gnu-emacs@gnu.org; Mon, 27 Apr 2015 00:56:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Ymb5O-000798-SW for bug-gnu-emacs@gnu.org; Mon, 27 Apr 2015 00:56:02 -0400 Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Apr 2015 04:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 20391 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 20391@debbugs.gnu.org, monnier@iro.umontreal.ca, hmelman@gmail.com Original-Received: via spool by 20391-done@debbugs.gnu.org id=D20391.143011054127439 (code D ref 20391); Mon, 27 Apr 2015 04:56:02 +0000 Original-Received: (at 20391-done) by debbugs.gnu.org; 27 Apr 2015 04:55:41 +0000 Original-Received: from localhost ([127.0.0.1]:40776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ymb53-00078T-0I for submit@debbugs.gnu.org; Mon, 27 Apr 2015 00:55:41 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:50051) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ymb50-00078F-Cx for 20391-done@debbugs.gnu.org; Mon, 27 Apr 2015 00:55:38 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgUFAGvvdVRMCqjW/2dsb2JhbAA3gVOhb4EIgXUBAQQBViMFCwsOJhIUGA0kiBOiEYwhQwkDA4M+A4NwBKNjhFg X-IPAS-Result: AgUFAGvvdVRMCqjW/2dsb2JhbAA3gVOhb4EIgXUBAQQBViMFCwsOJhIUGA0kiBOiEYwhQwkDA4M+A4NwBKNjhFg X-IronPort-AV: E=Sophos;i="5.11,557,1422939600"; d="scan'208";a="117510711" Original-Received: from 76-10-168-214.dsl.teksavvy.com (HELO ceviche.home) ([76.10.168.214]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 27 Apr 2015 00:55:33 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id A73806610A; Mon, 27 Apr 2015 00:55:32 -0400 (EDT) In-Reply-To: <4863FB33-9877-41C5-938B-E2C2D4B92854@gmail.com> (Howard Melman's message of "Mon, 20 Apr 2015 20:48:33 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:102086 Archived-At: Version:25.1 > The Info-menu command in info.el uses completing-read but doesn't use the > DEF argument. As a result, helm fails to choose the right default > when invoked on an info menu line. > Doing the obvious and appending "nil nil default" to completing-read > in the Info-menu call did solve the problem for me with helm and did > seem to still work without helm, but I'm not completely confident it's > the correct thing. It looks correct, so that's what I installed. Thank you. > The next few lines of Info-menu say it's depending on completing-read > allowing "" even when require-match is t and "" is invalid, but it just > seems to be doing so to loop back to read another input. I think this code can now be simplified, but I wasn't in the mood, so I left it as is for now. Stefan