From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#52907: 28.0.90; M-X is broken if (current-local-map)=nil Date: Sat, 15 Jan 2022 22:30:27 +0100 Message-ID: <87tue46618.fsf@web.de> References: <7b2aa1a9-1e75-c586-3987-fd066765da9e@daniel-mendler.de> <87lezhxrbk.fsf@gnus.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="37414"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Daniel Mendler , 52907@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 15 22:31:16 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 1n8qdo-0009aL-E6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Jan 2022 22:31:16 +0100 Original-Received: from localhost ([::1]:38220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8qdm-0001gO-SL for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Jan 2022 16:31:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36458) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8qda-0001eo-Bw for bug-gnu-emacs@gnu.org; Sat, 15 Jan 2022 16:31:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49166) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8qda-0000Q9-2M for bug-gnu-emacs@gnu.org; Sat, 15 Jan 2022 16:31:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8qdZ-0004x6-My for bug-gnu-emacs@gnu.org; Sat, 15 Jan 2022 16:31:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Jan 2022 21:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52907 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 52907-submit@debbugs.gnu.org id=B52907.164228225619023 (code B ref 52907); Sat, 15 Jan 2022 21:31:01 +0000 Original-Received: (at 52907) by debbugs.gnu.org; 15 Jan 2022 21:30:56 +0000 Original-Received: from localhost ([127.0.0.1]:42069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8qdU-0004wj-Dn for submit@debbugs.gnu.org; Sat, 15 Jan 2022 16:30:56 -0500 Original-Received: from mout.web.de ([217.72.192.78]:50759) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8qdQ-0004wR-Jz for 52907@debbugs.gnu.org; Sat, 15 Jan 2022 16:30:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1642282228; bh=pYasAGzN+6d4IGu59HAvrq2NjNJy8jmLeuQ+1QbbqV0=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=JO3vnfg+8r7r2ClA82I333CYZ1Nuqg9j5FUc7DdfnX2jJZkBApU8fFjuIWKrWlRUa NB+LeHcuNRv+L3R9u55mvBik9c+r3pxbEkwUBmWOLmtCSX+TiPoFu8xaCxOrtve8G2 W9NVmAEhVYLMm4WoOBs+aQVUyyyMPB4Q3JvZqmog= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from drachen.dragon ([88.66.201.186]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MgRQD-1mgdPn386Z-00harP; Sat, 15 Jan 2022 22:30:28 +0100 In-Reply-To: <87lezhxrbk.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 15 Jan 2022 10:48:31 +0100") X-Provags-ID: V03:K1:DdL40Cwc7CDPPzeTzwdchk6Jy5R2oBdcHnhA4Amr0PgwjTv5sGP nCojisY3qtGNvWx9YQbk3mEHqpXwRsc/ybrvfOtjMFWvLec2VNp72poQBMjCw6JGj20lIY6 MmqneL0PnrHIxNhVymBuRiRB94w4fypX1SayBy0J6LE6LH/F1Lynim3JKNUDx4yZfcq7kah +68Dyld/IcrUL2Ne3RABg== X-UI-Out-Filterresults: notjunk:1;V03:K0:2sK4Oe2ajZk=:TZLVNXVkc5vUXSiXqaMwaj DIPk18SPeESDi+Y3pu8ASyNkaHBskZtmtzxBQQUTn7MYD3AgEHcIFOk+7iHZ2AtOW9XIEnx8h c4NKoiaehAq8hsyLT36RR0O9cKuIoSsOzDy0A3hroTa4bOSPgCeYZSDSWAjtZG2PrQ90LzH87 NLc1+oS+S/t2ruike2yJZTPnyhRf9D3xzdcKXI+KE8OibNZGZWxlwdRWt+u9Te6WXG95Uo3O6 UIgG0qgkVRzmOWHWSYwahLmblednrziZk/Oxnt3u3qgIZ7IpADS6AHopsAUMylHJL11wcV43f WZpVswT7ALMekKqYRCskKKQmmQXJ47kCD6mqTyxov57w6ttgPwv63x78BO2ghTMv28rPLPxlm y3y+TWA27GTySrQf64MtEFt5A0sCUV53TN1KEd+3r4pqfpHR3quusrnVBRLz1Hp5/MqEDj80l B3plE+fw+rNePSd1uvK10lrqKX82qyL7LFHvaNt2ubC+kodt3VIhq+RhbYG0agXQJ58VbLrRe v1OpUYGeo3w4FycViYRxhM9uFlJroZqOCAn78/nyX2zmheEEbQKNHfhMpJ7iNotofwGd4yF7V nVvuecCHBPrn6bfkW1ESLU3O3yBr5pNErWbBSTiL5GJRZT1TCJgjhJ5xZQ2B49UqWWUu9horJ 1REapAwc5hGz/O8u7JDUAXak2VmF51nAsOaFCCqyJc+FTdm2rPfpM0NVRHJTkRy/LO3+MA+N2 lJMSYe7o3zDUxBneh7538jCqE1saYh5/fTtDbYIncCUuR9s2TLInHcVfUhACUezyt4PN5fZI 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" Xref: news.gmane.io gmane.emacs.bugs:224341 Archived-At: Lars Ingebrigtsen writes: > Daniel Mendler writes: > > > 1. Start emacs -Q > > > > 2. Define in the scratch buffer > > (defun broken-command () > > (interactive fundamental-mode)) > > > > 3. Switch to fundamental mode > > (fundamental-mode) > > > > 4. M-X brok TAB ===> Error (see below) > > > > The problem is that the (current-local-map) is nil. This breaks > > the predicate of execute-extended-command-for-buffer. > > I'm unable to reproduce this problem in either Emacs 28 or 29. Are > there additional steps needed to reproduce the bug (or has this been > fixed since this was reported)? I can reproduce with a master built from today. I need to enable `debug-on-error', otherwise I only see a minibuffer message indicating the error, the minibuffer survives. Lars, be sure to follow the recipe with all details right - no M-x instead of M-X, not "bro" instead of "brok" etc - then the recipe "works" for me (and the analysis given by the OP makes sense to me). HTH, Michael.