From debbugs-submit-bounces@debbugs.gnu.org Tue May 24 02:22:51 2022 Received: (at submit) by debbugs.gnu.org; 24 May 2022 06:22:51 +0000 Received: from localhost ([127.0.0.1]:50774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntNwR-00010y-JA for submit@debbugs.gnu.org; Tue, 24 May 2022 02:22:51 -0400 Received: from lists.gnu.org ([209.51.188.17]:42310) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntNwP-00010s-Iv for submit@debbugs.gnu.org; Tue, 24 May 2022 02:22:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39036) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntNwP-0003Rs-CC for bug-gnu-emacs@gnu.org; Tue, 24 May 2022 02:22:49 -0400 Received: from mout.gmx.net ([212.227.15.19]:48465) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntNwN-00011j-2i for bug-gnu-emacs@gnu.org; Tue, 24 May 2022 02:22:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1653373360; bh=Zhv0U+hwjDku/EmW5pmFvuvC+/vSrTLop4pvhnd0KrA=; h=X-UI-Sender-Class:Date:To:Subject:From; b=ThhjEUQ0ZRkwXbgznDUGJYzLEadTOY2qLfKgyhW5DtxO4NPNh7gompGUQE5+LyBKu 8PmTwvoQPK4UMLyQybKtbGKAv4CSkxTYeSoVjtMP1AQ9BOpD8aFWEVSnMTKWmqleO2 aW2faHT44m7BXeK+N2PQXctfdHG2nFzsaoH7LIUI= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost ([153.220.26.59]) by mail.gmx.net (mrgmx004 [212.227.17.184]) with ESMTPSA (Nemesis) id 1N4hzZ-1nkLlI1wKl-011ior; Tue, 24 May 2022 08:22:40 +0200 Date: Tue, 24 May 2022 15:22:11 +0900 (JST) Message-Id: <20220524.152211.1734534619486113978.teika@gmx.com> To: bug-gnu-emacs@gnu.org Subject: 28.1; C-x is hardcoded, but should use the keymap ctl-x-map From: Teika Kazura Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:EcayhES0deWwTgXK7CXYoyJG8vwoPhHOSVAECqUwlbMHPAUwV70 zX7W4+0i8zKdAqk1+Aql8D2zeu8hmvd+eo5n2seTHVadpzEiajwz/KATyMwXKWHASNI7V7P +6kghD41y47BwwENMEWAoJuT4IkSyBqr3LPNlpLWY2cjk68MaedjlBfve+KhQUHYiqkbJ/A ugdScX+OweaBlUx8939Fg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:TNHAfD+/3Vg=:UdaBnPR3oP7enNuBqUoU+y 5oLbyAMz5svX1MBsLogx/fk2M+63s1cHQ7oBeXVN+GeIMtI2taHCt5P65YQ84H7EOqYFZs7Zu 9tOqaB0rEdOFs4g6nRI4RH9Nk0LBi1WcQL7zofrX6jA5iUzqzVbzB4dS2bS6S4dhqMj6mWPRd vrKkHHF7YU5E3SS1c7WmvgYkbQUEOY2JUFKL3JhHkuxMvlG50mahn6/pBtFfsZPy/rr8Eq18g nq6N5iI50WHnnZomrikbE01xyUfFem7hwofKeG6utWzfi4exhMq8ff8KS7HGB7zbjMGwgDQB+ eqIkfTW3GIoThDCEltxoLXybDKHZjVIDSqrYCV3L5mTZaWJjjoSknxH6JvhCjYaL/QV3QdF8y F6G0F7y8ZiuaLfXXbh3E5Im8fy52GEBwTNzeEQ0J6M10w5aYL/tSawEZ6q+YIpONIrn+pIZNn fd70WNf/DKKYpaF6CHcm+lXXtJYFqlsMa4fvfzhZNbcpDtZy9xZgw0ENVZcv5SsB3szUIhLns aQkO2Y7mvK+Nvnx1KQ22OHtppJT4wLzBBsBJPv36eOyqtJVOIylDirQQ6RkUduZeVLW/8GJWK bRnd01so0WAKUkc+xhC60kQrReOJEoqogK9J1C0MaTyqEIaZw6xPZnEcmIuJSQhOoKz84j/H1 ZyV9gxAoscVVwhi+n7C8RvvmtQSHRm9MwmwXOSd1vedhDKzPcLvvR3Kx9Z4Njuesr7GnNK7YI KTMsHT96ZTiHzME/hL0cQiu8zJU71gG2WcfkELVcnqyrD0ObW6UCOwepDn8OJt5LU3erMwfzV rpFhLYas9nUYLFpcTNaMMOP3AfKHX1VXVU8wek8kdMpyQqBZ59S/1lNBYGjqJHiEssNyGRrTg fW5A3CUcjv4U/BuQj4/GmKGM/8eWevbYAbIdGubiVm0+7mMDKcN96m6reMgZhpiGDpe3d7T/t SB9+tSqf+p6XPJjuBViaJvlfsKUfxZTeL/CH1JA/0CRwj3i5+bj2pGpmyDbGn4GtmWuAZdZ3V CIAIf9WJmniLhCuWRjKyaPg8zCG49ci/x7orW/+COoeBX9Sqz7DgoCe2E0mEZfxLGPmOX0usO aG/mAGvcwbZu7SD6iVEU0MT7NvlW2yEL/ixQ1rcvpoVNbCvk8N76Uvr2g== Received-SPF: pass client-ip=212.227.15.19; envelope-from=teika@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -2.4 (--) Hi, the emacs world. At least in the file emacs-28.1/lisp/emacs-lisp/edebug.el, the prefix key C-x is hardcoded. An error will be produced if you bind C-x to something else. Instead `ctl-x-map' should be respected. How to reproduce it: $ emacs -Q -l foo.el ------------------------------------------------------------------------ The content of foo.el: ------------------------------------------------------------------------ (setq debug-on-error t) (global-set-key "\C-x" 'fill-paragraph) ; or whatever (require 'edebug) ------------------------------------------------------------------------ Sorry that I fail to report exactly; if you don't set (setq debug-on-error t), emacs can start without an error, only showing a message in the minibuffer and in *Messages*. (However with my personal configuration, it produces an error and emacs initialization fails due to this problem, *without* debug-on-error. "edebug" is require-ed from the package "helm", more precisely from the file helm-eval.el .) I cannot write a patch for this; I don't understand the code in edebug.el. In fact, there seem to be other files with this problem. but I neglect them this time. And it is not the only prefix keymap. (See the section "prefix keymaps" in the emacs manual.) Another minor issue: In edebug.el, the lines 43-44 read: ------------------------------------------------------------------------ ;; If you wish to change the default edebug global command prefix, change: ;; (setq global-edebug-prefix "\C-xX") ------------------------------------------------------------------------ but `global-edebug-prefix' is obsolete since 28.1 . Thank you very much indeed for developing Emacs. Best regards. # BTW 10 years ago I reported a similar problem: # https://debbugs.gnu.org/cgi/bugreport.cgi?bug=10566 # Maybe not few aren't aware of prefix keymaps. ;-) From debbugs-submit-bounces@debbugs.gnu.org Tue May 24 21:51:10 2022 Received: (at 55607) by debbugs.gnu.org; 25 May 2022 01:51:10 +0000 Received: from localhost ([127.0.0.1]:53926 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntgB3-0000bY-U3 for submit@debbugs.gnu.org; Tue, 24 May 2022 21:51:10 -0400 Received: from quimby.gnus.org ([95.216.78.240]:41614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntgAy-0000aq-VZ for 55607@debbugs.gnu.org; Tue, 24 May 2022 21:51:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=1G4jza0U3SvfwsBqnexGduBlPtRji7RthSYKPIptSjo=; b=PSTJATN6YZe3K6DnlnIVRJ6ho2 fb2ZyBiwtOXEyXSdmBYpQ7l/a4+3VV05KVwJWJjIdhSvTMK0m/P/fJU7msEEvwXy8BIJHi1S81yhz Q68dVGWqJb0P9ypI/125zmM8YsZ5RS7fppxfnv29dmKkjdTJCHuyAzDUmyW81sIi6Mf4=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ntgAo-0004bR-Ml; Wed, 25 May 2022 03:50:57 +0200 From: Lars Ingebrigtsen To: Teika Kazura Subject: Re: bug#55607: 28.1; C-x is hardcoded, but should use the keymap ctl-x-map References: <20220524.152211.1734534619486113978.teika@gmx.com> X-Now-Playing: Richard and Linda Thompson's _Hard Luck Stories (5): The Madness of Love: Live 1975 & 1977_: "Never Again (Live At Queen Elizabeth Hall, London 25.04.1975)" Date: Wed, 25 May 2022 03:50:54 +0200 In-Reply-To: <20220524.152211.1734534619486113978.teika@gmx.com> (Teika Kazura's message of "Tue, 24 May 2022 15:22:11 +0900 (JST)") Message-ID: <871qwifkht.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Teika Kazura writes: > At least in the file emacs-28.1/lisp/emacs-lisp/edebug.el, the prefix > key C-x is hardcoded. An error will be produced if you bind C-x to > something else. Instead `ctl-x-map' should be respected. [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55607 Cc: 55607@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.3 (---) Teika Kazura writes: > At least in the file emacs-28.1/lisp/emacs-lisp/edebug.el, the prefix > key C-x is hardcoded. An error will be produced if you bind C-x to > something else. Instead `ctl-x-map' should be respected. > > How to reproduce it: > $ emacs -Q -l foo.el > ------------------------------------------------------------------------ > > The content of foo.el: > ------------------------------------------------------------------------ > (setq debug-on-error t) > (global-set-key "\C-x" 'fill-paragraph) ; or whatever > (require 'edebug) > ------------------------------------------------------------------------ [...] > Another minor issue: In edebug.el, the lines 43-44 read: > ------------------------------------------------------------------------ > ;; If you wish to change the default edebug global command prefix, change: > ;; (setq global-edebug-prefix "\C-xX") > ------------------------------------------------------------------------ > but `global-edebug-prefix' is obsolete since 28.1 . I've now fixed this in Emacs 29. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue May 24 21:51:10 2022 Received: (at control) by debbugs.gnu.org; 25 May 2022 01:51:10 +0000 Received: from localhost ([127.0.0.1]:53928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntgB4-0000ba-5o for submit@debbugs.gnu.org; Tue, 24 May 2022 21:51:10 -0400 Received: from quimby.gnus.org ([95.216.78.240]:41630) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntgB2-0000bF-M4 for control@debbugs.gnu.org; Tue, 24 May 2022 21:51:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=kRGDwG94CAJIZ7/y1v9F6wCmtAdqCJTO4ydfpcq7tMI=; b=T8WJiRYZdoDDZr6GkKX5JAzHGg xqAZv2PX1EQqKRYoZkNrQSJD5kgdi2K9ICnCrxmJielXIxO3gXA22D1G1b0oQdRdU6V4h94UE/kwl ZPFYwYZwNhVsmpe/KJyw4/csW2GRdXrMqfS4aLcuqpVJ4cHF2+7aBeMtvVxyNMkT9/FU=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ntgAu-0004bZ-L5 for control@debbugs.gnu.org; Wed, 25 May 2022 03:51:02 +0200 Date: Wed, 25 May 2022 03:51:00 +0200 Message-Id: <87zgj6e5x7.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #55607 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 55607 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.3 (---) close 55607 29.1 quit From debbugs-submit-bounces@debbugs.gnu.org Wed May 25 08:12:58 2022 Received: (at 55607) by debbugs.gnu.org; 25 May 2022 12:12:58 +0000 Received: from localhost ([127.0.0.1]:54526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntpsn-0006Z3-PY for submit@debbugs.gnu.org; Wed, 25 May 2022 08:12:57 -0400 Received: from mout.gmx.net ([212.227.15.15]:37427) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntpsl-0006Yl-8I for 55607@debbugs.gnu.org; Wed, 25 May 2022 08:12:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1653480769; bh=nA38VZncBQMJvN+njsZRugbO0bH8Yoaamuh1dEnkVBY=; h=X-UI-Sender-Class:Date:to:Subject:From:In-Reply-To:References; b=EWPOz65GpJRULm5lot2j7rk48mNdQn0uhaH9tuTT3ztYAFn3V8wrw2d3Kk73/UkrL h+SPCGWprkjCbYLWR57Ogf46qUrGyC0JSjHcp/rrr8TtlR0RfkZFhjtQXwb8Iede64 Iy/bhKUdJSQAStppkQoMTkkc7YcW05fYqnbglq40= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost ([153.226.40.11]) by mail.gmx.net (mrgmx005 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MiaY9-1nNmSN1QHP-00fnMv; Wed, 25 May 2022 14:12:48 +0200 Date: Wed, 25 May 2022 21:12:22 +0900 (JST) Message-Id: <20220525.211222.1972843461568481577.teika@gmx.com> to: 55607@debbugs.gnu.org Subject: Re: bug#55607: 28.1; C-x is hardcoded, but should use the keymap ctl-x-map From: Teika Kazura In-Reply-To: <871qwifkht.fsf@gnus.org> References: <20220524.152211.1734534619486113978.teika@gmx.com> <871qwifkht.fsf@gnus.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:0Wwbicup+fm/rTYfBVQEnU2ngxWvlC6mvrZkGP72pLZ2o1pvW2j HhmvmaHDZcLgEnMiH4kuGWJRvbiwx8ymzQor6M0Az/tbRdopS2V2Yuou5gW2cc4l9Svb8nF Y+wpZCpAD/EYXcpg8axcaIdGVCwAU07P6M71NckMBT8AICdMT4uxITVYYeNXLWj3CTyeTds FVEaVrtHRethuWznl4iMg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:M7P72TTHW0E=:tDNMm0pQs22QKpuzkG+ZiD vPiYzOY9oGSTM3DrIn8bW/vJQIu0DFYcNMjbt6bYXF9QKxv3hvcZEzWwTkIFf//SlLyK//YNb ZAKORGHUUp1uhDlW4rSNgqXajhVRUvETxl9Mjt/UnS4+8aqRFC3mZZE/a7H2Ty5Kt13BsrOHW BxJD0VCElAKdYQhkqkCjClLmCF0GCOeTr3V+GZsw1gICPADXRs7TaSdm5YtEOvyB2BGvV3M0r +uHCQqZEpNTbY+0qUmADgcAz1RHiTtRsu3qk6IX4TQ8MwvCtL3WgY6wg8nHUjpPO4jOTDBonJ hguHnG7+wToGgcRHwu4Nfdb4KWB0GvhElOkXwnFf+rRJFRfaLKSFuv/fBmH4HdA4ARg5wiMMa xcqyHY7T3dui9zOaxQqyT+0EV2j2iEHauwuKndFGzygm8dD/MQoJsFy6mhLZrAsTIFG3rbuwt lmvp2YbtDu2xrWkAX5Ai2Brl+mrj0ZEdZfqZoXdMNApwanizH+/uidx9Ase9MifBDnBkRxxFb 2lnHUbEJZN4nMb2X3inhn93tuHY3PIkkZ6m7n85t0x+gvuBRTW+xesFutTvY1tzAVZ37LOnj5 YgnLNZ2VzzG6lac6Lze6cTJDcFime9LeN58nzLeIr067p7og3qkwa+IlQXhJsO/aAvyI2Lli7 /EExHtBCpwH+FwXOoMm6NSYT4wbO31xXY2bfd3W72tzf1PcGhetW0fWFr80xIi6lcpJ/fgB7S aZ50uiv2ItZUeRZ+V2UVt5fd0u64roWLvwMt1pEAsnlw3wnHTaEPagL8TERyGK/rICuHYaGPb lIpJ/dQjDB6CfgApdvTox4FTBoqOe+O9TI1tdVjPOb26kt99pVqdYsTC4d6JFogjf4iS6+bZg fTXStnKNxGwNlRGuJp6RxxdrDq7sRXGoVYGfSQ6vJ01w8U+3UwkW64BPNIWd3w5MynzhRvwqu iCgx9pj3yME34tKkVx633+OPRBPlcspETwcpM2E65Nfd3EED3esoqqH0Dny1+ou9pA20fYcLl NBehAFTed7zUF1I1mhDngHiP5XhEzogu5rwon8rQvSlZGNqodHyNFfwlG1revdNJoyMdwHo7W 4INhyaattO6O+fnE1jeTew9pNjSn7I/AVCO6g6A6k/F7LWI7glMOjN9Fg== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 55607 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.7 (-) The bug was fixed in the commit abd3411827, in the master branch: https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=abd3411827d77edee6f2a38d9fc1c3a61fba88ed Thanks Lars for a very quick action. From unknown Sat Jun 21 03:28:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 23 Jun 2022 11:24:04 +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