From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#60252: 29.0.60; help-fns--describe-function-or-command-prompt asks for confirmation Date: Fri, 23 Dec 2022 09:02:04 +0200 Organization: LINKOV.NET Message-ID: <861qoqfwpj.fsf@mail.linkov.net> References: <6971735f-b849-a76e-9a86-a99b68444e99@gmx.at> <86f81b9e45a3d6576082@heytings.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7022"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) Cc: martin rudalics , Gregory Heytings , "60252@debbugs.gnu.org" <60252@debbugs.gnu.org> To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 23 08:06:15 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p8c8F-0001eC-Cj for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Dec 2022 08:06:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p8c87-00018V-UW; Fri, 23 Dec 2022 02:06:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p8c82-000153-Ge for bug-gnu-emacs@gnu.org; Fri, 23 Dec 2022 02:06:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p8c82-0008RK-74 for bug-gnu-emacs@gnu.org; Fri, 23 Dec 2022 02:06:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p8c81-0003st-LH for bug-gnu-emacs@gnu.org; Fri, 23 Dec 2022 02:06:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Dec 2022 07:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60252 X-GNU-PR-Package: emacs Original-Received: via spool by 60252-submit@debbugs.gnu.org id=B60252.167177910514911 (code B ref 60252); Fri, 23 Dec 2022 07:06:01 +0000 Original-Received: (at 60252) by debbugs.gnu.org; 23 Dec 2022 07:05:05 +0000 Original-Received: from localhost ([127.0.0.1]:36737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p8c76-0003sQ-PR for submit@debbugs.gnu.org; Fri, 23 Dec 2022 02:05:05 -0500 Original-Received: from relay1-d.mail.gandi.net ([217.70.183.193]:35039) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p8c75-0003ry-0E for 60252@debbugs.gnu.org; Fri, 23 Dec 2022 02:05:03 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 3C82B240006; Fri, 23 Dec 2022 07:04:53 +0000 (UTC) In-Reply-To: (Drew Adams's message of "Thu, 22 Dec 2022 23:25:05 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:251706 Archived-At: >> I suggest >> >> (define-key minibuffer-local-must-match-map (kbd "RET") #'minibuffer- >> force-complete-and-exit) > > Why? > > Needing to do that is something new. The binding has > been `minibuffer-complete-and-exit' since Day One. I tried to check the function bound to RET in the minibuffer, but in Emacs 29 typing 'C-h f C-h k RET' raises an error: Debugger entered--Lisp error: (wrong-type-argument consp nil) event--posn-at-point() event-end(13) help--analyze-key("\15" [return] nil) #f(compiled-function (x) #)(("\15" . [return])) mapcar(#f(compiled-function (x) #) (("\15" . [return]))) describe-key((("\15" . [return]))) funcall-interactively(describe-key (("\15" . [return]))) command-execute(describe-key) completing-read-default("Describe function: " help--symbol-completion-table #f(compiled-function (f) #) confirm nil nil nil nil) help-fns--describe-function-or-command-prompt() command-execute(describe-function)