From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Howard Melman Newsgroups: gmane.emacs.bugs Subject: bug#20391: 24.5; Info-menu completing-read doesn't use DEF argument Date: Mon, 20 Apr 2015 20:48:33 -0400 Message-ID: <4863FB33-9877-41C5-938B-E2C2D4B92854@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1429577364 32279 80.91.229.3 (21 Apr 2015 00:49:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Apr 2015 00:49:24 +0000 (UTC) To: 20391@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 21 02:49: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 1YkMND-0007nk-PR for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Apr 2015 02:49:12 +0200 Original-Received: from localhost ([::1]:55774 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkMNC-0006Ju-SC for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Apr 2015 20:49:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkMN9-0006Jp-GM for bug-gnu-emacs@gnu.org; Mon, 20 Apr 2015 20:49:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YkMN4-0007yX-Fm for bug-gnu-emacs@gnu.org; Mon, 20 Apr 2015 20:49:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44255) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkMN4-0007yR-CA for bug-gnu-emacs@gnu.org; Mon, 20 Apr 2015 20:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YkMN4-0008Um-1I for bug-gnu-emacs@gnu.org; Mon, 20 Apr 2015 20:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Howard Melman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Apr 2015 00:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20391 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.142957733232635 (code B ref -1); Tue, 21 Apr 2015 00:49:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Apr 2015 00:48:52 +0000 Original-Received: from localhost ([127.0.0.1]:34031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YkMMt-0008UI-ON for submit@debbugs.gnu.org; Mon, 20 Apr 2015 20:48:52 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34090) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YkMMr-0008U2-NZ for submit@debbugs.gnu.org; Mon, 20 Apr 2015 20:48:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YkMMk-0007un-VR for submit@debbugs.gnu.org; Mon, 20 Apr 2015 20:48:44 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41302) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkMMk-0007uj-Sq for submit@debbugs.gnu.org; Mon, 20 Apr 2015 20:48:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47593) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkMMj-0006I4-KG for bug-gnu-emacs@gnu.org; Mon, 20 Apr 2015 20:48:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YkMMe-0007mH-KT for bug-gnu-emacs@gnu.org; Mon, 20 Apr 2015 20:48:41 -0400 Original-Received: from mail-qc0-x229.google.com ([2607:f8b0:400d:c01::229]:34912) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkMMe-0007lK-Cg for bug-gnu-emacs@gnu.org; Mon, 20 Apr 2015 20:48:36 -0400 Original-Received: by qcbii10 with SMTP id ii10so68497524qcb.2 for ; Mon, 20 Apr 2015 17:48:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=66J5rffD0RiFKvCuTZ3Xpkwg60+2ipVtiFYIqFsTqhw=; b=nT6abi8MhhKS4VfuKc3dYaga+Lw9ECpWhne6p03ZMBqv7ketG7Hk9jpjl0Y5ysJFcS NMFx6jPq6NNYNC+NOLj04SfvreYX4OTcqSgjg7s4hVQsDstGCUndpNe3+NM9kPeY1S/6 H3r3WhwjgglP+TTHVDBPJTRFqa2nRPMwMszo6f3y4pEVdmRh8YblaMXM640VIFVDK3GT Qy1LT7kGnUBOeaPTSuXAuUjYWOVQLuI2mhbim5KJK85QzdMjaJ4tV4u52x5SmAaWhzOG GuWRiGoWqhYl9kjrdu4MdMZ1mfhs8Dk+W5b8sVS4aiBV7Vvot+VsWPavBHhAGkcNs/H2 sO2g== X-Received: by 10.55.21.17 with SMTP id f17mr33670055qkh.41.1429577315902; Mon, 20 Apr 2015 17:48:35 -0700 (PDT) Original-Received: from lumet.home (pool-108-26-182-240.bstnma.fios.verizon.net. [108.26.182.240]) by mx.google.com with ESMTPSA id r17sm256048qkh.12.2015.04.20.17.48.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 Apr 2015 17:48:34 -0700 (PDT) X-Mailer: Apple Mail (2.2098) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:101795 Archived-At: 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.=20 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. Howard In GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21) of 2015-04-10 on builder10-9.porkrind.org Windowing system distributor `Apple', version 10.3.1347 Configured using: `configure --with-ns '--enable-locallisppath=3D/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp'' Important settings: locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: eldoc-mode: t helm-mode: t shell-dirtrack-mode: t outline-minor-mode: t auto-insert-mode: t global-auto-revert-mode: t which-function-mode: t show-paren-mode: t recentf-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Loading /Users/hmelman/.simplenote2/.notes-info.el (source)...done Loading hrm-packages...done Loading hrm-helm... ad-handle-definition: `tramp-read-passwd' got redefined Helm completion enabled Loading hrm-helm...done Loading hrm-keys...done Loading hrm...done Finished loading ~/.emacs For information about GNU Emacs and the GNU system, type M-x = about-emacs. Load-path shadows: /Users/hmelman/.emacs.d/elpa/smartparens-20150419.833/smartparens hides = /Users/hmelman/elisp/smartparens /Users/hmelman/.emacs.d/elpa/google-this-20150226.2005/google-this hides = /Users/hmelman/elisp/google-this Features: (shadow sort face-remap mail-extr emacsbug message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader sendmail winner helm-command helm-elisp helm-eval eldoc lisp-mnt helm-swoop helm-mode helm-files rx image-dired tramp tramp-compat tramp-loaddefs trampver shell dired-aux ffap thingatpt helm-buffers helm-elscreen helm-tags helm-bookmark helm-adaptive helm-info bookmark pp helm-locate helm-help helm-org helm-match-plugin helm-grep helm-regexp helm-plugin grep helm-external helm-net browse-url xml helm-utils compile helm helm-source helm-config edmacro kmacro async-bytecomp cl-macs async helm-aliases hydra lv simplenote2 request-deferred deferred cl gv request url-http tls url-auth mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-gw mail-utils url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf mailcap hungry-delete dired-x dired org-location-google-maps org-agenda google-maps google-maps-static url-util url-parse auth-source eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core gnus-util mm-util mail-prsvr password-cache url-vars google-maps-geocode google-maps-base json org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline easy-mmode org-version ob-R ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs format-spec cal-menu calendar cal-loaddefs autoinsert advice help-fns autorevert filenotify find-func info package epg-config saveplace tango-theme which-func imenu paren recentf tree-widget wid-edit cl-loaddefs cl-lib easymenu cus-start cus-load time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process cocoa ns multi-tty emacs) Memory information: ((conses 16 288177 9414) (symbols 48 39157 0) (miscs 40 84 95) (strings 32 79279 9567) (string-bytes 1 2344094) (vectors 16 30502) (vector-slots 8 600497 8348) (floats 8 726 67) (intervals 56 364 0) (buffers 960 13))