From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 20 20:48:52 2015 Received: (at submit) by debbugs.gnu.org; 21 Apr 2015 00:48:52 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 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 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 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 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 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) 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) From: Howard Melman Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: 24.5; Info-menu completing-read doesn't use DEF argument Message-Id: <4863FB33-9877-41C5-938B-E2C2D4B92854@gmail.com> Date: Mon, 20 Apr 2015 20:48:33 -0400 To: bug-gnu-emacs@gnu.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) 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)) From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 27 00:55:41 2015 Received: (at 20391-done) by debbugs.gnu.org; 27 Apr 2015 04:55:41 +0000 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 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" 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 Received: by ceviche.home (Postfix, from userid 20848) id A73806610A; Mon, 27 Apr 2015 00:55:32 -0400 (EDT) From: Stefan Monnier To: Howard Melman Subject: Re: bug#20391: 24.5; Info-menu completing-read doesn't use DEF argument Message-ID: References: <4863FB33-9877-41C5-938B-E2C2D4B92854@gmail.com> Date: Mon, 27 Apr 2015 00:55:32 -0400 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) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 20391-done Cc: 20391-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) 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 From unknown Mon Jun 23 07:49:44 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 25 May 2015 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator