Received: (at 70938) by debbugs.gnu.org; 27 May 2024 15:48:32 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 27 11:48:32 2024 Received: from localhost ([127.0.0.1]:45091 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sBcaN-0002Vq-Qr for submit <at> debbugs.gnu.org; Mon, 27 May 2024 11:48:32 -0400 Received: from mout.gmx.net ([212.227.17.21]:40909) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stephen.berman@HIDDEN>) id 1sBcaM-0002Vd-C9 for 70938 <at> debbugs.gnu.org; Mon, 27 May 2024 11:48:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1716824895; x=1717429695; i=stephen.berman@HIDDEN; bh=66xHRFWiIBf8r9YkA2GwE+8VbmoUSgIGhN6M76axNzw=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=tI+9Nh4rYrAqYlkwSeKgCY+abC63iYDqo0YVbfIDPP1ybjoAN2czR21EMy24+kAL +ViYYPVOfN//6bVJM7vaKPqwn9aOzzjLf7boiCAJ9dqPFVI3fZZUsY4iqBcbLG8WO 3q+FdPh1mcVeDHEPkyrxpkTVNxp+66CJv9WHi7VBuqGFeGw03MRRX4ZeHxUllcb2u OgmvbSdQ7p7zMorUGHh0TdHRmmJvUpPbOaEvHfVYvsg2VMZuC0HoT1mbkLzW4Llm+ /p2lCVmcN44KrrVZycbC4IUA5O1RP1yrQsECMha6m2e23mOHTtsyfScf7FDkiNGbL N/F2WB4qQSr2Lf8O6w== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from strobelfs ([94.134.95.191]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N3se8-1sbuvO3OIy-013O2p; Mon, 27 May 2024 17:48:14 +0200 From: Stephen Berman <stephen.berman@HIDDEN> To: Michael Heerdegen <michael_heerdegen@HIDDEN> Subject: Re: bug#70938: 30.0.50; Edebug appropriates overriding-terminal-local-map In-Reply-To: <87a5kbcocz.fsf@HIDDEN> (Michael Heerdegen's message of "Mon, 27 May 2024 16:37:32 +0200") References: <877cfwh6h1.fsf@HIDDEN> <87msosks08.fsf@HIDDEN> <87ttj0car8.fsf@HIDDEN> <87o797yu6v.fsf@HIDDEN> <874jayykmb.fsf@HIDDEN> <87pltfo7a4.fsf@HIDDEN> <87a5kbcocz.fsf@HIDDEN> Date: Mon, 27 May 2024 17:48:14 +0200 Message-ID: <871q5nxnlt.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:OYq6jTn0DYR8fLn2LS3NLgMXnXjEF18MsfvUGIQwz8AO1NVSy/E XScZ3GbBgxe4fPOTfeqFl9/2o2QSqStTdLm3D7lEAru+dozM3DspSNs9OZZzPmMtQ9g2wGk sZgy1AHJGo9aG6YbDEqJ6Lu2w5uoCx5dA/vmMnNJC0vLcjacbRbP+3UdF3UGGtLtKckwisd exDo4P9TVMItwj2TeQOoQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:0mYrXm9H/q0=;q8P8cjahcK91jrCzqcVOJAw1QS1 G5pVPNOT8Nmog8wvV6HJLcXTQmCR+kdbon5pSMwquMT5hrw9Psbb5aCOpJa2Hg8+Krz7HAMI4 OncuPz7Mx7mJ9RcBOseXXprwF9x4scaTpy7PQu54N5s9dpIjR/XO0h23ALXJ4ZctF335H/pK4 TkfITSoVnW2OGkLjfVk6ynjPHN6L630+BB9waYxa+5wfiPOGtDTDVrNI2EPqpJA1mFpAuMCaH EnA7dTwx6d2tKrqgX4bamn338KBiRZXfTMP/oBHsvsqjetg8bAGtuHlkVAHp3Sd6Kxf+WkjGB 0xZMLdUE+Z9jdFYvRRwnDxQyQH3p+FJGxSsZhL5fKm7SoAfgzi7aC50eZmE/iODj5s+j91+Rv KdJ4FRIp5G9Sl5MT/HxJexwsLySx21Ib1+SuFHElTy/UBQ5W44MvMDfhF4ymTQvMxaami5QIQ NI9NC8JtFMBVdYUGBLn/crjKl6XZVXPHvqhkNFWJfjZCvfKy4lA8oIK09dhQlTRu1vA/AUjqq HihGmi121aBqh52Au3wRFLW/BRFEeB7wZo+/d3gpRu2T3EHtyU7+RW95FV+zvP37OSp7jZLYD NV30xAEZgJMREyQVZc8UsgQw0QTqJbwnnHtfzqcCHBD9P2WvkUQVBC/5DA09JcF9ES+2n4Yvi 4wnla9Dz0UUJ1f7vrJh9hM66fAEVtLFCMVsrdeam25TC1bl6aD1m4oUgf4NRBEci+3qAtjlZW M9nI28ZEc8drI9h7yrPqwU1cQp7rw8JRJSftSaVfDINiZJzhzfX2v3dBJ0nnYR+FG/X9I1/M2 BEP1pleDm6DLJBjEC4t4qaB248nMmcuT/yR4UqJZ3umbM= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 70938 Cc: 70938 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) On Mon, 27 May 2024 16:37:32 +0200 Michael Heerdegen <michael_heerdegen@HIDDEN> wrote: > Stephen Berman <stephen.berman@HIDDEN> writes: > >> Do you (or does anyone else) have any reason not to install this >> patch? > > I wanted to see if anybody has a better idea and test the patch a bit > in that time to be sure it doesn't break anything. Ok, fine by me. Steve Berman
bug-gnu-emacs@HIDDEN
:bug#70938
; Package emacs
.
Full text available.Received: (at 70938) by debbugs.gnu.org; 27 May 2024 14:37:05 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 27 10:37:05 2024 Received: from localhost ([127.0.0.1]:45021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sBbTF-0000em-85 for submit <at> debbugs.gnu.org; Mon, 27 May 2024 10:37:05 -0400 Received: from mout.web.de ([212.227.17.12]:50347) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <michael_heerdegen@HIDDEN>) id 1sBbTC-0000eE-6C for 70938 <at> debbugs.gnu.org; Mon, 27 May 2024 10:37:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1716820606; x=1717425406; i=michael_heerdegen@HIDDEN; bh=SuYxaz1O4ucRAQVjru+2l8BGlgBJmKoC9VMsk97oDW4=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=UgBaMxcYbVIoEii02PWSfb+T2rP8KiR1Yl86FB3vdKTtsinhFpjLduNR0wPSAjLy VG5PeXuzFvbJuMS5O8NnGt+frjiQiuc2/XnxEwu38NUp5KoNEY5UhRIXWCKJOcyFc 95ehO1401hEkrg37SXpLugegON5wlYMVxh4NpRvNj0IFjVA1uPhw0Ee5sFTxi+8yF r8Lcktw1j/DVSeDD0NvnbPA4Mm3sZHSS0XpjnD9LfKj6Pr8A6o1rMwZ8nfqypZgz9 +zq+cKs7oFzOrXAAo21f8pv6HDCX5j/8k2obbJxVbAqNCAct+louiXuS3qiJQkpzd hqyrX72sYh9hVwNqRA== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from drachen.dragon ([84.59.210.113]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1Mhnw2-1sgFNm2Hp2-00jGR5; Mon, 27 May 2024 16:36:46 +0200 From: Michael Heerdegen <michael_heerdegen@HIDDEN> To: Stephen Berman <stephen.berman@HIDDEN> Subject: Re: bug#70938: 30.0.50; Edebug appropriates overriding-terminal-local-map In-Reply-To: <87pltfo7a4.fsf@HIDDEN> (Stephen Berman's message of "Tue, 21 May 2024 11:15:15 +0200") References: <877cfwh6h1.fsf@HIDDEN> <87msosks08.fsf@HIDDEN> <87ttj0car8.fsf@HIDDEN> <87o797yu6v.fsf@HIDDEN> <874jayykmb.fsf@HIDDEN> <87pltfo7a4.fsf@HIDDEN> Date: Mon, 27 May 2024 16:37:32 +0200 Message-ID: <87a5kbcocz.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:hFzxl+PV+6FvNbq0UL2K/3qbGR11PAl1WZDw7F2iiK6yb1IaMzl a6NEM2xWI6t83uM3exbSidtsWF2Udcq/oVVv3IEWs58wnbxOlsQ3yW7FtydfZSdfzsjPlqt CVBVWwzI/IkdkSf97vVRmqC9+nQ6rG7IwP/5Eh+LNrxYyiF/wVEU8iiPlm4G/X6AWoHE/Fu 7sjthYGcK/1irvHOIlrMw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:TBKRYZHEvJk=;db0VhUKnSPN5J3sdz5B8FiHpZ8l 2z0LWDLw3+uSyIuhvDhKVHXirFW5CU4QUPGl293F+hR/Qz349MCqTsYg/IhCTsPv/8Usjdsni +wDMJSleZX8IcQOB8yGr8Si3J78rHWx49Q3wOl5MqyfHVMfjBOR/RQ0U4ni5o5J2U7+8Q1QAn i3v3ZPK6HZq3GmIPx2wv1x+/Rd1n+ApWXWQo1AFmLwClFCeF4DedFzcYUvV++l0XTC7r0XAWr 9AQEX04BDCsZtKu1R5sOlVJMY+AqsdjIy6XQ9nOo8ewfdyo5Cm0TLXVN/fVeHRrphumsjplbv aKfxee+2RvWJtD9fEQwjWnTMq00FjFfbmH72v26/9y9vRdR0ZDCkl/WguA7TpEvS1GLQ4TK3d xaGJlx51rPYdpm5ac+rH9ULloebXnyzPPcWNSY8tNWfmyTavHtkQU/PaSqAr/mv1cnxDCsmAs 0x694dSt8ixdnGdu81l6ACXpYNdYw2A2Wcm7QiP+AaieMFQ7FytKFkUoyMNz4qT7P6uDSgalY OSLx+eFWVpLKSwZstQB/rYxdnBePfbvF4+66wE0VbIpB6r32inWnnp7cWv09Y733j3aciN5NJ Is5Wbw/56+qpIW+hoTTO9WECi0N8N/fM4269QELdeuSf0Jr82riQRXgc4OHJkvLqerjXaPmpL BGbsrDzvGSjXdhWMLlIJB5TgkgvurZaPx38rlK9H3y15+o73DCE578qhmfZ8MySfUpdtf6i/4 LOBhVBqRzkjAz6nfXnfUuU2DpsBaxwSJRMOBYI41lHCwpxCbpr6kl19c2PpUZAwiazIJXJ3ST vjKCc7ZWnwhxq75MjNznpoHZY4Tqix24xYqbv70+9W9Sw= X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 70938 Cc: 70938 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Stephen Berman <stephen.berman@HIDDEN> writes: > Do you (or does anyone else) have any reason not to install this > patch? I wanted to see if anybody has a better idea and test the patch a bit in that time to be sure it doesn't break anything. Michael.
bug-gnu-emacs@HIDDEN
:bug#70938
; Package emacs
.
Full text available.Received: (at 70938) by debbugs.gnu.org; 21 May 2024 09:15:30 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 21 05:15:30 2024 Received: from localhost ([127.0.0.1]:48088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s9Laj-0005us-Tz for submit <at> debbugs.gnu.org; Tue, 21 May 2024 05:15:30 -0400 Received: from mout.gmx.net ([212.227.15.15]:47703) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stephen.berman@HIDDEN>) id 1s9Lag-0005um-SU for 70938 <at> debbugs.gnu.org; Tue, 21 May 2024 05:15:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1716282915; x=1716887715; i=stephen.berman@HIDDEN; bh=EWF868S3oB/GCjmiWJFanv1P9lvGYDt8C1gITJNXdeQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=ie53tf0eFOg8eJ1DLnfnPw6ExqcJnscpR1mw4ARbkDMXVcYISSB964xpg2z9sV68 RS9CYgBDIUwohzSfEh2heieaafdXWz399hM/eCD3xk9o675OsBdVBcyu0fxkHDxoX LNDKYYF8mmsZWA4PcSZ92tYkk3M2BlYxP3O6vD2VIOdmBqTX7tcx0E86yqrdbDztO ss6jHOFY4v3UxWnqj4X6runVQWa7kJMDCj4Jk1dKbyht5WpL37326PgVz1bcpZYip qzpS2fbT4jsXgtzm76IYrtpJs/8kHDuMdOWs9/PwfwtI/9oNkM1OR4gQY8Kb9v3vp q0eDS/mL/qIVLGVkUw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from strobelfs ([88.130.49.175]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N8ob6-1sddoL30Ks-016vAn; Tue, 21 May 2024 11:15:15 +0200 From: Stephen Berman <stephen.berman@HIDDEN> To: Michael Heerdegen <michael_heerdegen@HIDDEN> Subject: Re: bug#70938: 30.0.50; Edebug appropriates overriding-terminal-local-map In-Reply-To: <874jayykmb.fsf@HIDDEN> (Stephen Berman's message of "Wed, 15 May 2024 20:51:08 +0200") References: <877cfwh6h1.fsf@HIDDEN> <87msosks08.fsf@HIDDEN> <87ttj0car8.fsf@HIDDEN> <87o797yu6v.fsf@HIDDEN> <874jayykmb.fsf@HIDDEN> Date: Tue, 21 May 2024 11:15:15 +0200 Message-ID: <87pltfo7a4.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:N8JYRjZM26t7Dx1dkCg4HinHQjcEjFBYlC+ymtOE3tIUz9pKJ7t eRS9478OlXGlglYE38TvSd53Rj7DVPtO9YqqYH1q3vSGj6cW+/+o9XGnzJwXiK9nrVQjK6L JV8iYDQ3GdXXeAN73UsuQcuIT9onJeBsSWhsmaTkPGg/JisWmuTfohDtYfz+EokBSx9iJAq pTBfwUTohhYTkgbX/+iXw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:cPL4KE5Z+wg=;rEoojazta4nS1ff3bffl6eZCeDq YiaI3iFKDoGaDp5nLG2i1R7T13oXodoFHaOd55EnK6wx3B2UIjDWEzMN7BYfv6+zoXRhuI88J TOPKGg1OY2G2vGuQzid/doxHfCIoC6yI1wnsZd/ngsuisKON/1xTL04RX/LiEQ5KxS00VQvv3 h0AifNo9skLPg39CPNRaR3MmNRZjTJO0QvfD4G9g9AfN8j+WvgfJtobnkdsGqnPK2EB91WShH Kr28sq5Nxnu8Ns9Y4IG80wcalR75yOHuAOO76PjneDS3TUB/gumG4yQYL2LrtwrFbdoRawmyr wGOSGVznaubbvlyex9x57Fo7YeHeVhOd6h0ukxwm+EoSUswYIGF9vkjbIrxrob5C5uCD0usFC +wVM9SfG2K/tHRx9Lj6poQtnO8qqRlcEeeUY7e+qrBn8u5xsH6YDWJchSoEdq1NegK+iQFYNw Nzx0KgvKs1+p2U0RbgTflfFcIp4pj4A8PmqyABQt29AaxzwrdYT0qtAXjHUgTJceeVYP9AukA +doJNXz5C/FE1jbqhl3n9JTtPDmeYEP4INi/8SdHGMLrKMWXmfB6li3EZw/H3tBBf2Ie6fSdF eXubPP7yYMrsGpYUFZbFS/DV32qjctDnFri0A5fkIf1WTLFkjFatGF0er4Kl/kAeFHl367/xb guxqOjUicYdZU6aXDNpbIHT0Wext5mmNSRiDM6DAACTwgeKetp6h3/+SuAxzb9CU0o1a6PXCB RkiPXQvdge0KVPAtwOnjXJIELj0Ecu/VjY+T/OMHY2BlJxx6zaaH68yxmq+eYHwHAZ23w2yex lGtpX9/2jC+nInxE7WwD7hXZbpGXFt7Wz4Tqf+90qcxa8= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 70938 Cc: 70938 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) On Wed, 15 May 2024 20:51:08 +0200 Stephen Berman <stephen.berman@HIDDEN> wrote: > On Wed, 15 May 2024 17:24:24 +0200 Michael Heerdegen > <michael_heerdegen@HIDDEN> wrote: > >> Michael Heerdegen via "Bug reports for GNU Emacs, the Swiss army knife >> of text editors" <bug-gnu-emacs@HIDDEN> writes: >> >>> #+begin_src emacs-lisp >>> (progn >>> (set-transient-map (let ((m (make-sparse-keymap))) >>> (define-key m [?^] >>> (lambda () (interactive) (message "Hmm..."))) >>> m)) >>> (let ((overriding-terminal-local-map nil)) >>> (recursive-edit))) >>> #+end_src >> >> A possible approach that seems to fix the reported bug: > > I confirm your patch prevents Edebug from "appropriating" > overriding-terminal-local-map both in my test case and also in > todo-mode.el, where I first bumped into the problem. And your analysis > of why Edebug triggered the problem seems convincing to me, too. > Thanks! Do you (or does anyone else) have any reason not to install this patch? Steve Berman
bug-gnu-emacs@HIDDEN
:bug#70938
; Package emacs
.
Full text available.Received: (at 70938) by debbugs.gnu.org; 15 May 2024 18:51:19 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 15 14:51:19 2024 Received: from localhost ([127.0.0.1]:43860 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s7Jih-0005wW-E1 for submit <at> debbugs.gnu.org; Wed, 15 May 2024 14:51:19 -0400 Received: from mout.gmx.net ([212.227.17.21]:35151) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stephen.berman@HIDDEN>) id 1s7Jif-0005wN-Gz for 70938 <at> debbugs.gnu.org; Wed, 15 May 2024 14:51:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1715799069; x=1716403869; i=stephen.berman@HIDDEN; bh=878zYZkKGTKc/cPxeHjy+Vjbl6wqpCSuL2YUJ7jLJnE=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=Lu/ZAIyKvins69CLpNcCxm9PymWpWMAPQSaNguxY8535R7FajtD+TUxQv3rGo9Ni n4NKjdqXCK24tiwHK9U+GDn4WVwh0EjHmkDZN91gO3ZAVSH5qhO7YBeBoWeb0a8t/ oj2kzfmvneUSs0m1vdZ6xl1w1oO5HyokT9accLA0JJuWNkjYTVOgPSm3XrV3gzwVK b9BOjfX2EZERqZ6+YwDI3qJAnK6WOlupRd7HRJ008894JTBF5AYsUSBWASH1lN0Xt z/G6kP1mZh0JET3NvfKDKVjCoTH2jQ3z2YwzOOMBADHp0lF0H39HFvaKTTZiluqg2 /BPeitDIyi4orXwjUg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from strobelfs ([94.134.95.135]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M4s0t-1s6UVG2HO3-001x0l; Wed, 15 May 2024 20:51:09 +0200 From: Stephen Berman <stephen.berman@HIDDEN> To: Michael Heerdegen <michael_heerdegen@HIDDEN> Subject: Re: bug#70938: 30.0.50; Edebug appropriates overriding-terminal-local-map In-Reply-To: <87o797yu6v.fsf@HIDDEN> (Michael Heerdegen's message of "Wed, 15 May 2024 17:24:24 +0200") References: <877cfwh6h1.fsf@HIDDEN> <87msosks08.fsf@HIDDEN> <87ttj0car8.fsf@HIDDEN> <87o797yu6v.fsf@HIDDEN> Date: Wed, 15 May 2024 20:51:08 +0200 Message-ID: <874jayykmb.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:qxjrJm/QmOj3gvS3QXyfoVbQ/yZGi9dMDeQLMmDyrHvBiXhoI33 WBcRnQDYWvteYzYspP7GiROTyabmBZNS4+kDiek5Ijf8JjKk6hloojqg9b8O3TzvZHwodEn gOzI8++/c4EWx/zo5JBRrm7RNPRthKokk6HKGUj568QmfCzg4WlRUvwtFgIkvViz8uuJJp2 0HoNAp04i32fktjSDH6SQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:/3ufnEoPBTI=;6nxwZDSjwrMtJqS2BJBQtnZPrK5 YSGn+GgiLFlupBFgDYZw8sLlBH9/AsNCW8gnWm3hk1IDw9oaqkyy6y47UMaNtMY3nrzAzBSKJ yX6THvJ4iDlQu7cpzoa3huolKm81YvXKWtoSrSWUMef9zbRP+b0ZnC+ofm6AQaSdoPYpFYiyi 3tQFkHUGSxs2Ib43ibaj7jgcKLsxUnCpWVgV3wP68WmcJj8zqiebDLtrNk02Xv/COqr0Z+Lta 1gllZ60xSp7sB7heOIl/XOSX9zk5ymg8wH3ca9+40kDqm0I0MixZwLrlvKHZ95W2cYkcmk+js iguy/4ScOmqwjVpUIA62iUUidnC/HoO6tfsQ0wXBN/X8NZoOnH/e5ohTc53FtvhGEZG1pvACQ ZnpOYrF1TPJixFDnfyd/YVXiDaRU+BUr/bwzcyNiF62Hihdcj5f3+BYLceaknYuAFnPj4/a4Y Q6XlFL+35mEJVrqRZlr9d40or6uEJsi703eMbK9RxD/t1Qfj/vOYqqMTZo0chuDy27Rnml8wp ocVI3LGa70s/dWdwKERhC4RrlyhUVSMmeFVVa0jPrxZSgFeW4alN80TPD+vsvZD253+3ZLoC4 QqacMIJ7MoEFzjXTVBeNU1Y6uVBtf5TgIBus5E8rLB/mk9rvBWnFFq4NUnFt8g6PXxKjHYSc6 Jt2VppXwjTDoe9A9KHM1bx7ptwp276ED8qN9Z0RTlhxE3WknV/yUYiSCqcfmonDtU0xzeL6Ji pY79MgKVAM9u76M4bMMZqKqJCvrQiJP0Lg0fGokcNiNVOzqv+vMNI6xBYCDFsCRxNvlisOyBd H6FZB5VOU3gSe0Z95xanF4eS5S0ueIyR5H1aw7lbky7no= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 70938 Cc: 70938 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) On Wed, 15 May 2024 17:24:24 +0200 Michael Heerdegen <michael_heerdegen@HIDDEN> wrote: > Michael Heerdegen via "Bug reports for GNU Emacs, the Swiss army knife > of text editors" <bug-gnu-emacs@HIDDEN> writes: > >> #+begin_src emacs-lisp >> (progn >> (set-transient-map (let ((m (make-sparse-keymap))) >> (define-key m [?^] >> (lambda () (interactive) (message "Hmm..."))) >> m)) >> (let ((overriding-terminal-local-map nil)) >> (recursive-edit))) >> #+end_src > > A possible approach that seems to fix the reported bug: I confirm your patch prevents Edebug from "appropriating" overriding-terminal-local-map both in my test case and also in todo-mode.el, where I first bumped into the problem. And your analysis of why Edebug triggered the problem seems convincing to me, too. Thanks! Steve Berman
bug-gnu-emacs@HIDDEN
:bug#70938
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 15 May 2024 15:24:04 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 15 11:24:04 2024 Received: from localhost ([127.0.0.1]:42675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s7GU7-0002hz-Oh for submit <at> debbugs.gnu.org; Wed, 15 May 2024 11:24:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:60188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <michael_heerdegen@HIDDEN>) id 1s7GU5-0002hC-Fp for submit <at> debbugs.gnu.org; Wed, 15 May 2024 11:24:02 -0400 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 <michael_heerdegen@HIDDEN>) id 1s7GU2-0000VI-JJ for bug-gnu-emacs@HIDDEN; Wed, 15 May 2024 11:23:58 -0400 Received: from mout.web.de ([212.227.17.11]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <michael_heerdegen@HIDDEN>) id 1s7GTv-0000Cq-1s for bug-gnu-emacs@HIDDEN; Wed, 15 May 2024 11:23:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1715786619; x=1716391419; i=michael_heerdegen@HIDDEN; bh=pWBU1St5kgFScjuh25YNdu9gJandHXRd6wepWGIGMb4=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=PLhuUaXPBGJwAUdk7V1FE3Gi0xrxE7pt6Nxh+xb3sw365Qs2yr6ShYIJSgUnBIFv 3rv7Wt3rh01CENi5yPFj336zNNo7J22X+k5dGGPYl7jIjAe8yiuiKERt7lvfTy7zm DcOYvnH8aT4psFeK4PufzNf6/IGgJMiZmTGoFOJqMhpHCYM3oLUavftbSJ53aHLh8 AACHGslG5j4fNHc9mfA5HFVYxhd+KjdbWpkYqYmE/eKcWyI8yyN0rA/OJRazqEjVk yTzirwjZsddwfghagZOQNjcsOAQtkxptGGjPHwiQioSvTNLEOlIGmolhufbWbI6td QT28/a/yDNoB0zuVTw== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from drachen.dragon ([84.57.248.23]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1M1JEu-1sA1Mf1wbq-002mAJ; Wed, 15 May 2024 17:23:39 +0200 From: Michael Heerdegen <michael_heerdegen@HIDDEN> To: Michael Heerdegen via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> Subject: Re: bug#70938: 30.0.50; Edebug appropriates overriding-terminal-local-map In-Reply-To: <87ttj0car8.fsf@HIDDEN> (Michael Heerdegen via's message of "Wed, 15 May 2024 00:02:51 +0200") References: <877cfwh6h1.fsf@HIDDEN> <87msosks08.fsf@HIDDEN> <87ttj0car8.fsf@HIDDEN> Date: Wed, 15 May 2024 17:24:24 +0200 Message-ID: <87o797yu6v.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:KF6RfB5IbqVidyCPq+rL6lObiEEEfVHoPzjfiyZezLa9Mfcpiuk mBm2jq0FqAFK5z8EnoWm47DCLYu5U4yTdKiQjyADZ1JSfxRTb4hsabHwDjw/hBcsNr5JwxZ u1XiQv88Z9umdvc7jK/z/Du/wN17hQmwA+UwjaT9y/f3aRZv9MudNzIc7+lAg3EfNRipM1w Run2rsblxMgCy/0duK6fA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:hRcbFnk4DE8=;xjSSByCB20b1Nl4zg9h6OvFL0C9 lczo0ySxvW36Rsl9oLkynf0mx59XUMV1TPBccqhLojWfvm7oMA/9d0qFU7c1ogrwwiM+PoSxU mgyud5ZbSiWu4VGm+GU6Cz0d3eizaCtGXGPwokprE1OtklwYoUPGkf4behs+c3X41NlOKunq/ z+nQ5VR2XPQfj6my0e6Dp/3lVTvYNC/wz5FjWBPK6CxnwTOYdwvlsO3x+OHdWYfo7P3F3zDVu 5d7FgChPjuSb1oYvIZHV/PLdNi6qNaTiXkAhaSXDooHsUlRCC+73WIlDdz+IPNaSxaCJf3aRo va3uvdriptpyoefmxDdgMZBTUp7Rxq/WoDEyPEapwy5gHjii12DrGf9FzLOWewVEsPvkJ2zro ib3vyJmHaDbPebey0k+wJXpPJTjTjfoFRgZJBgrO3knaMCwSFUI4F3+ccuO4Eb0OrCPDw8amc 2fj1F8jepeT2cNaHomqr0juTqTzDTzBHatLHPM1NSymu2kTmFCtqmQerlSOGuLLopic5tNE15 nESYqrkQJA/vHWpVN/phBsKXjWjBsD+OIhSuNPnF52Mc0g03SVg8zK7CvejTuPtftLYb5FGhb UcuEoL0HhPRXj0UAMrvvrLCYLxzA8cG/RXGD74iK6Cv0uIQRDuQ8ZMWzwYq/k+/rSu1C29ZYD fshwUjLp/RTuE8ro/KczaPkWradZ9Mn1oUY6/Yw3sSxz1/KNFlSzcehgxrn6PFSHQbVE03ZWV GKrLsANTjOy2UJLnEc7nyjBf4dTy10iT3XwqfbldppqufHVJUYuVxwcqS7FwhqdLkHNYpCgQ6 9eYb2Ei6/pt+7s4BTqHPPPWZNbhvcLbIOdZIJ6OM3R25E= Received-SPF: pass client-ip=212.227.17.11; envelope-from=michael_heerdegen@HIDDEN; helo=mout.web.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: stephen.berman@HIDDEN, 70938 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain Michael Heerdegen via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> writes: > #+begin_src emacs-lisp > (progn > (set-transient-map (let ((m (make-sparse-keymap))) > (define-key m [?^] > (lambda () (interactive) (message "Hmm..."))) > m)) > (let ((overriding-terminal-local-map nil)) > (recursive-edit))) > #+end_src A possible approach that seems to fix the reported bug: --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-WIP-Fix-Bug-70868-Edebug-appropriates-overriding-ter.patch Content-Transfer-Encoding: quoted-printable =46rom 7f5db96e7d40fc3f71c82d7a004a21bc7515c81d Mon Sep 17 00:00:00 2001 From: Michael Heerdegen <michael_heerdegen@HIDDEN> Date: Wed, 15 May 2024 17:13:35 +0200 Subject: [PATCH] WIP: Fix Bug#70868 Edebug appropriates overriding-terminal-local-map * lisp/subr.el (set-transient-map): Try to make the cleanup code more reliable in case `overriding-terminal-local-map' gets shadowed: When the added map is not present there, try to detect whether shadowing is currently happening. Delay the cleanup in this case. =2D-- lisp/subr.el | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/lisp/subr.el b/lisp/subr.el index 80c7ffe32bc..2f8809d706e 100644 =2D-- a/lisp/subr.el +++ b/lisp/subr.el @@ -6573,12 +6573,25 @@ set-transient-map (clearfun (make-symbol "clear-transient-map")) (exitfun (lambda () - (internal-pop-keymap map 'overriding-terminal-local-map) - (remove-hook 'pre-command-hook clearfun) - ;; Clear the prompt after exiting. - (when message (message "")) - (when set-transient-map-timer (cancel-timer set-transient-map= -timer)) - (when on-exit (funcall on-exit))))) + (cond + ((memq map overriding-terminal-local-map) + (internal-pop-keymap map 'overriding-terminal-local-map) + (remove-hook 'pre-command-hook clearfun) + ;; Clear the prompt after exiting. + (when message (message "")) + (when set-transient-map-timer (cancel-timer set-transient-m= ap-timer)) + (when on-exit (funcall on-exit))) + (;; FIXME: We rather want something like + ;; (variable-references-default-toplevel-value-p + ;; 'overriding-terminal-local-map) + (eq overriding-terminal-local-map + (default-toplevel-value 'overriding-terminal-local-map)= ) + ;; We are probably done: + (remove-hook 'pre-command-hook clearfun)) + ;; If none of these conditions was fulfilled, + ;; overriding-terminal-local-map is currently shadowed - kee= p + ;; clearfun in 'pre-command-hook + )))) ;; Don't use letrec, because equal (in add/remove-hook) could get tra= pped ;; in a cycle. (bug#46326) (fset clearfun =2D- 2.39.2 --=-=-= Content-Type: text/plain Comments, corrections, enhancements and better ideas all very welcome. Michael. --=-=-=--
bug-gnu-emacs@HIDDEN
:bug#70938
; Package emacs
.
Full text available.Received: (at 70938) by debbugs.gnu.org; 15 May 2024 15:23:51 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 15 11:23:51 2024 Received: from localhost ([127.0.0.1]:42664 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s7GTv-0002gq-1H for submit <at> debbugs.gnu.org; Wed, 15 May 2024 11:23:51 -0400 Received: from mout.web.de ([212.227.17.11]:33907) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <michael_heerdegen@HIDDEN>) id 1s7GTs-0002gg-JQ for 70938 <at> debbugs.gnu.org; Wed, 15 May 2024 11:23:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1715786619; x=1716391419; i=michael_heerdegen@HIDDEN; bh=pWBU1St5kgFScjuh25YNdu9gJandHXRd6wepWGIGMb4=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=PLhuUaXPBGJwAUdk7V1FE3Gi0xrxE7pt6Nxh+xb3sw365Qs2yr6ShYIJSgUnBIFv 3rv7Wt3rh01CENi5yPFj336zNNo7J22X+k5dGGPYl7jIjAe8yiuiKERt7lvfTy7zm DcOYvnH8aT4psFeK4PufzNf6/IGgJMiZmTGoFOJqMhpHCYM3oLUavftbSJ53aHLh8 AACHGslG5j4fNHc9mfA5HFVYxhd+KjdbWpkYqYmE/eKcWyI8yyN0rA/OJRazqEjVk yTzirwjZsddwfghagZOQNjcsOAQtkxptGGjPHwiQioSvTNLEOlIGmolhufbWbI6td QT28/a/yDNoB0zuVTw== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from drachen.dragon ([84.57.248.23]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1M1JEu-1sA1Mf1wbq-002mAJ; Wed, 15 May 2024 17:23:39 +0200 From: Michael Heerdegen <michael_heerdegen@HIDDEN> To: Michael Heerdegen via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> Subject: Re: bug#70938: 30.0.50; Edebug appropriates overriding-terminal-local-map In-Reply-To: <87ttj0car8.fsf@HIDDEN> (Michael Heerdegen via's message of "Wed, 15 May 2024 00:02:51 +0200") References: <877cfwh6h1.fsf@HIDDEN> <87msosks08.fsf@HIDDEN> <87ttj0car8.fsf@HIDDEN> Date: Wed, 15 May 2024 17:24:24 +0200 Message-ID: <87o797yu6v.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:KF6RfB5IbqVidyCPq+rL6lObiEEEfVHoPzjfiyZezLa9Mfcpiuk mBm2jq0FqAFK5z8EnoWm47DCLYu5U4yTdKiQjyADZ1JSfxRTb4hsabHwDjw/hBcsNr5JwxZ u1XiQv88Z9umdvc7jK/z/Du/wN17hQmwA+UwjaT9y/f3aRZv9MudNzIc7+lAg3EfNRipM1w Run2rsblxMgCy/0duK6fA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:hRcbFnk4DE8=;xjSSByCB20b1Nl4zg9h6OvFL0C9 lczo0ySxvW36Rsl9oLkynf0mx59XUMV1TPBccqhLojWfvm7oMA/9d0qFU7c1ogrwwiM+PoSxU mgyud5ZbSiWu4VGm+GU6Cz0d3eizaCtGXGPwokprE1OtklwYoUPGkf4behs+c3X41NlOKunq/ z+nQ5VR2XPQfj6my0e6Dp/3lVTvYNC/wz5FjWBPK6CxnwTOYdwvlsO3x+OHdWYfo7P3F3zDVu 5d7FgChPjuSb1oYvIZHV/PLdNi6qNaTiXkAhaSXDooHsUlRCC+73WIlDdz+IPNaSxaCJf3aRo va3uvdriptpyoefmxDdgMZBTUp7Rxq/WoDEyPEapwy5gHjii12DrGf9FzLOWewVEsPvkJ2zro ib3vyJmHaDbPebey0k+wJXpPJTjTjfoFRgZJBgrO3knaMCwSFUI4F3+ccuO4Eb0OrCPDw8amc 2fj1F8jepeT2cNaHomqr0juTqTzDTzBHatLHPM1NSymu2kTmFCtqmQerlSOGuLLopic5tNE15 nESYqrkQJA/vHWpVN/phBsKXjWjBsD+OIhSuNPnF52Mc0g03SVg8zK7CvejTuPtftLYb5FGhb UcuEoL0HhPRXj0UAMrvvrLCYLxzA8cG/RXGD74iK6Cv0uIQRDuQ8ZMWzwYq/k+/rSu1C29ZYD fshwUjLp/RTuE8ro/KczaPkWradZ9Mn1oUY6/Yw3sSxz1/KNFlSzcehgxrn6PFSHQbVE03ZWV GKrLsANTjOy2UJLnEc7nyjBf4dTy10iT3XwqfbldppqufHVJUYuVxwcqS7FwhqdLkHNYpCgQ6 9eYb2Ei6/pt+7s4BTqHPPPWZNbhvcLbIOdZIJ6OM3R25E= X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 70938 Cc: stephen.berman@HIDDEN, 70938 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Michael Heerdegen via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> writes: > #+begin_src emacs-lisp > (progn > (set-transient-map (let ((m (make-sparse-keymap))) > (define-key m [?^] > (lambda () (interactive) (message "Hmm..."))) > m)) > (let ((overriding-terminal-local-map nil)) > (recursive-edit))) > #+end_src A possible approach that seems to fix the reported bug: --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-WIP-Fix-Bug-70868-Edebug-appropriates-overriding-ter.patch Content-Transfer-Encoding: quoted-printable =46rom 7f5db96e7d40fc3f71c82d7a004a21bc7515c81d Mon Sep 17 00:00:00 2001 From: Michael Heerdegen <michael_heerdegen@HIDDEN> Date: Wed, 15 May 2024 17:13:35 +0200 Subject: [PATCH] WIP: Fix Bug#70868 Edebug appropriates overriding-terminal-local-map * lisp/subr.el (set-transient-map): Try to make the cleanup code more reliable in case `overriding-terminal-local-map' gets shadowed: When the added map is not present there, try to detect whether shadowing is currently happening. Delay the cleanup in this case. =2D-- lisp/subr.el | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/lisp/subr.el b/lisp/subr.el index 80c7ffe32bc..2f8809d706e 100644 =2D-- a/lisp/subr.el +++ b/lisp/subr.el @@ -6573,12 +6573,25 @@ set-transient-map (clearfun (make-symbol "clear-transient-map")) (exitfun (lambda () - (internal-pop-keymap map 'overriding-terminal-local-map) - (remove-hook 'pre-command-hook clearfun) - ;; Clear the prompt after exiting. - (when message (message "")) - (when set-transient-map-timer (cancel-timer set-transient-map= -timer)) - (when on-exit (funcall on-exit))))) + (cond + ((memq map overriding-terminal-local-map) + (internal-pop-keymap map 'overriding-terminal-local-map) + (remove-hook 'pre-command-hook clearfun) + ;; Clear the prompt after exiting. + (when message (message "")) + (when set-transient-map-timer (cancel-timer set-transient-m= ap-timer)) + (when on-exit (funcall on-exit))) + (;; FIXME: We rather want something like + ;; (variable-references-default-toplevel-value-p + ;; 'overriding-terminal-local-map) + (eq overriding-terminal-local-map + (default-toplevel-value 'overriding-terminal-local-map)= ) + ;; We are probably done: + (remove-hook 'pre-command-hook clearfun)) + ;; If none of these conditions was fulfilled, + ;; overriding-terminal-local-map is currently shadowed - kee= p + ;; clearfun in 'pre-command-hook + )))) ;; Don't use letrec, because equal (in add/remove-hook) could get tra= pped ;; in a cycle. (bug#46326) (fset clearfun =2D- 2.39.2 --=-=-= Content-Type: text/plain Comments, corrections, enhancements and better ideas all very welcome. Michael. --=-=-=--
bug-gnu-emacs@HIDDEN
:bug#70938
; Package emacs
.
Full text available.Received: (at 70938) by debbugs.gnu.org; 14 May 2024 22:02:20 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 14 18:02:20 2024 Received: from localhost ([127.0.0.1]:41484 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s70E0-0005vu-KP for submit <at> debbugs.gnu.org; Tue, 14 May 2024 18:02:20 -0400 Received: from mout.web.de ([212.227.17.11]:40849) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <michael_heerdegen@HIDDEN>) id 1s70Du-0005vn-Mk for 70938 <at> debbugs.gnu.org; Tue, 14 May 2024 18:02:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1715724127; x=1716328927; i=michael_heerdegen@HIDDEN; bh=lYdaavI3f4gE0xuzcIniv4WFQZ3QL16eQjefykqhDK0=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=TPH+cBR64ApnRowWq3yQbq7OvaCYdmbT/BnYymRjksyabibdUqJ7Ej0FWqL9ZHtr Uk+/q3JBVrMMecmzo0lgIEbBF7PuMwA5Mi0zN18LIFwBhY7tDJQKh6+scQN2bqRLn 1Sjp00CblAV+4TCXsDUTFUJXdCYPCAt2S47cUqs/o7Q66R/yo+UyeD9q4zcjojRaj nIvf68TP9tIxbQjvk8lVBYkhqbGzLJjFGAyLFc3Iy0+2oVOIewG1Z3hbNlXAQrfe8 t0vzAeeu24FBOlDyU7n/IgvEfk7iMlB9K5dAbU5/LX1gOeWkv5QHQDiuMtUt1p4S5 mAVPROtCScSuzhPwtA== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from drachen.dragon ([84.57.248.23]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1Mc1VF-1siWQa0h3f-00dUEN; Wed, 15 May 2024 00:02:07 +0200 From: Michael Heerdegen <michael_heerdegen@HIDDEN> To: Michael Heerdegen via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> Subject: Re: bug#70938: 30.0.50; Edebug appropriates overriding-terminal-local-map In-Reply-To: <87msosks08.fsf@HIDDEN> (Michael Heerdegen via's message of "Tue, 14 May 2024 23:23:03 +0200") References: <877cfwh6h1.fsf@HIDDEN> <87msosks08.fsf@HIDDEN> Date: Wed, 15 May 2024 00:02:51 +0200 Message-ID: <87ttj0car8.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:V0IE285HCra0lgo53t8SYQdO28/s3AEjShAzhFofsLE/2rO36dL pYkXhkXiHfM5vCmceuNqMwE7ivipmrvyUfrEOucgXL5XSUpXz0/o9z/DdVK8XI4hA1lXAk5 6/cBJ/8OLbCgCOOT9+YskVfYzNXvqX8yuv0ruosbmY4osRZeBZfdizZni4ndEPz9JsBrijL T4ZgF6gfp/oMbNXbZDWbA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:4g9Jt+ltFUA=;RZt1ZR1vUK31TJ6Dnk63dH9jPp8 Pl1dwHsF/P1zn1PILDQgeGRwfpJV3h28JeO5+/8+Hmbi13RhbI8E5HWamPiP1s9znOFLd2aoy aphHwmgtxv+xXCxM9HpOtgq5pKnUsTTLe4s35h5KJR7GAi6tAkufklC1qocuimpfKJTCHP2/n uMd+cTZnwEVkxdp5fjn5rarN4g4E3Ol6s33vnTX+3SN858AfZ6dRsJ8PUWMf3ZnoJM2tGAZVl 8r+8Nuq2JIfn5g+TwDt7nu9c0e5WnxsiAKsfyavyy1XKgi44WIK5WsjinDDjw1moK4UV6m4Jw fMbP3RPgZThWmGZtBQb/QQelCCKjZOIm70BXQvs6aNEx2GR5fiFrSvRUu+icl34b1ZVWA3rgh qB//MSNLHQf3DZMad8yZBvwihxuDb5jTrTsBb/MBMKUNYZyGW1/UqZQiULH4abT6MPzYmw9yk N9/UkuADpjTpfzhmw8h0lZRrGJ2/qn6eoixflcF+hJDsPR3Cl2XI1Iov6SUzvAAfolYfxJ2oQ GXpO6+JIthirBQZdYP2nZdEF/uz+R3KPYL6XvDfUQrePLY8Rvf+Sd4noYlK303aWqsuzZcHO2 lw6vACoc0ohmYkLGcbwq3+6iBCx+jhHSu8rPUQpb3l0/0yaEzIaI+o4vIZSzhupFETLNKkstE rpZiB9dK0eZCdhEPxZudHgk9I0BKkOB8Mgj8cSQztfLSKaz9z+7iv6JZiFNzGfeLF4Km8+wfF EgrbxLi4dJoYivsSlSOYTZUq3dFMFIt2vpbH4tVH0swYLm8HwoPafQNFBHdBdJixiKRgNQD/0 92hIvdrSvWk1ZJ07QbHUFL0ak2YF/+Kgiv36qM2oolbG8= X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 70938 Cc: stephen.berman@HIDDEN, 70938 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Michael Heerdegen via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> writes: > But what can we do - does anyone have a good idea? Could the cleanup > code that removes the transient map maybe check whether the variable > `overriding-terminal-local-map' it sees is really the global one? Here is a recipe that doesn't involve Edebug (please use a separate emacs session to try) but does the same thing: #+begin_src emacs-lisp (progn (set-transient-map (let ((m (make-sparse-keymap))) (define-key m [?^] (lambda () (interactive) (message "Hmm..."))) m)) (let ((overriding-terminal-local-map nil)) (recursive-edit))) #+end_src After evaluating this, whenever one returns to top-level one is stuck with the transient map (just hit ^ to check). Michael.
bug-gnu-emacs@HIDDEN
:bug#70938
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 14 May 2024 22:02:51 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 14 18:02:51 2024 Received: from localhost ([127.0.0.1]:41487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s70EU-0005wC-VT for submit <at> debbugs.gnu.org; Tue, 14 May 2024 18:02:51 -0400 Received: from lists.gnu.org ([209.51.188.17]:35068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <michael_heerdegen@HIDDEN>) id 1s70EQ-0005w5-Sa for submit <at> debbugs.gnu.org; Tue, 14 May 2024 18:02:49 -0400 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 <michael_heerdegen@HIDDEN>) id 1s70E2-0005nu-G7 for bug-gnu-emacs@HIDDEN; Tue, 14 May 2024 18:02:26 -0400 Received: from mout.web.de ([212.227.17.11]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <michael_heerdegen@HIDDEN>) id 1s70Dz-0001eR-MZ for bug-gnu-emacs@HIDDEN; Tue, 14 May 2024 18:02:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1715724127; x=1716328927; i=michael_heerdegen@HIDDEN; bh=lYdaavI3f4gE0xuzcIniv4WFQZ3QL16eQjefykqhDK0=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=TPH+cBR64ApnRowWq3yQbq7OvaCYdmbT/BnYymRjksyabibdUqJ7Ej0FWqL9ZHtr Uk+/q3JBVrMMecmzo0lgIEbBF7PuMwA5Mi0zN18LIFwBhY7tDJQKh6+scQN2bqRLn 1Sjp00CblAV+4TCXsDUTFUJXdCYPCAt2S47cUqs/o7Q66R/yo+UyeD9q4zcjojRaj nIvf68TP9tIxbQjvk8lVBYkhqbGzLJjFGAyLFc3Iy0+2oVOIewG1Z3hbNlXAQrfe8 t0vzAeeu24FBOlDyU7n/IgvEfk7iMlB9K5dAbU5/LX1gOeWkv5QHQDiuMtUt1p4S5 mAVPROtCScSuzhPwtA== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from drachen.dragon ([84.57.248.23]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1Mc1VF-1siWQa0h3f-00dUEN; Wed, 15 May 2024 00:02:07 +0200 From: Michael Heerdegen <michael_heerdegen@HIDDEN> To: Michael Heerdegen via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> Subject: Re: bug#70938: 30.0.50; Edebug appropriates overriding-terminal-local-map In-Reply-To: <87msosks08.fsf@HIDDEN> (Michael Heerdegen via's message of "Tue, 14 May 2024 23:23:03 +0200") References: <877cfwh6h1.fsf@HIDDEN> <87msosks08.fsf@HIDDEN> Date: Wed, 15 May 2024 00:02:51 +0200 Message-ID: <87ttj0car8.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:V0IE285HCra0lgo53t8SYQdO28/s3AEjShAzhFofsLE/2rO36dL pYkXhkXiHfM5vCmceuNqMwE7ivipmrvyUfrEOucgXL5XSUpXz0/o9z/DdVK8XI4hA1lXAk5 6/cBJ/8OLbCgCOOT9+YskVfYzNXvqX8yuv0ruosbmY4osRZeBZfdizZni4ndEPz9JsBrijL T4ZgF6gfp/oMbNXbZDWbA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:4g9Jt+ltFUA=;RZt1ZR1vUK31TJ6Dnk63dH9jPp8 Pl1dwHsF/P1zn1PILDQgeGRwfpJV3h28JeO5+/8+Hmbi13RhbI8E5HWamPiP1s9znOFLd2aoy aphHwmgtxv+xXCxM9HpOtgq5pKnUsTTLe4s35h5KJR7GAi6tAkufklC1qocuimpfKJTCHP2/n uMd+cTZnwEVkxdp5fjn5rarN4g4E3Ol6s33vnTX+3SN858AfZ6dRsJ8PUWMf3ZnoJM2tGAZVl 8r+8Nuq2JIfn5g+TwDt7nu9c0e5WnxsiAKsfyavyy1XKgi44WIK5WsjinDDjw1moK4UV6m4Jw fMbP3RPgZThWmGZtBQb/QQelCCKjZOIm70BXQvs6aNEx2GR5fiFrSvRUu+icl34b1ZVWA3rgh qB//MSNLHQf3DZMad8yZBvwihxuDb5jTrTsBb/MBMKUNYZyGW1/UqZQiULH4abT6MPzYmw9yk N9/UkuADpjTpfzhmw8h0lZRrGJ2/qn6eoixflcF+hJDsPR3Cl2XI1Iov6SUzvAAfolYfxJ2oQ GXpO6+JIthirBQZdYP2nZdEF/uz+R3KPYL6XvDfUQrePLY8Rvf+Sd4noYlK303aWqsuzZcHO2 lw6vACoc0ohmYkLGcbwq3+6iBCx+jhHSu8rPUQpb3l0/0yaEzIaI+o4vIZSzhupFETLNKkstE rpZiB9dK0eZCdhEPxZudHgk9I0BKkOB8Mgj8cSQztfLSKaz9z+7iv6JZiFNzGfeLF4Km8+wfF EgrbxLi4dJoYivsSlSOYTZUq3dFMFIt2vpbH4tVH0swYLm8HwoPafQNFBHdBdJixiKRgNQD/0 92hIvdrSvWk1ZJ07QbHUFL0ak2YF/+Kgiv36qM2oolbG8= Received-SPF: pass client-ip=212.227.17.11; envelope-from=michael_heerdegen@HIDDEN; helo=mout.web.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: stephen.berman@HIDDEN, 70938 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) Michael Heerdegen via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> writes: > But what can we do - does anyone have a good idea? Could the cleanup > code that removes the transient map maybe check whether the variable > `overriding-terminal-local-map' it sees is really the global one? Here is a recipe that doesn't involve Edebug (please use a separate emacs session to try) but does the same thing: #+begin_src emacs-lisp (progn (set-transient-map (let ((m (make-sparse-keymap))) (define-key m [?^] (lambda () (interactive) (message "Hmm..."))) m)) (let ((overriding-terminal-local-map nil)) (recursive-edit))) #+end_src After evaluating this, whenever one returns to top-level one is stuck with the transient map (just hit ^ to check). Michael.
bug-gnu-emacs@HIDDEN
:bug#70938
; Package emacs
.
Full text available.Received: (at 70938) by debbugs.gnu.org; 14 May 2024 21:22:29 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 14 17:22:29 2024 Received: from localhost ([127.0.0.1]:41471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s6zbQ-0005Rm-Ln for submit <at> debbugs.gnu.org; Tue, 14 May 2024 17:22:28 -0400 Received: from mout.web.de ([212.227.17.12]:40951) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <michael_heerdegen@HIDDEN>) id 1s6zbO-0005Rb-SR for 70938 <at> debbugs.gnu.org; Tue, 14 May 2024 17:22:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1715721739; x=1716326539; i=michael_heerdegen@HIDDEN; bh=VLpNwjf7+Inxagwi82CqUXAvkYENUquCwqhbg7gEDhk=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=W5Bxt39LE82/BrVdw6Te3o9tQVnAqRyDDDexSt0xQTIlvpZIxoSBFF89h3aulHtk QxEUvEd8xiCsrpN9XyBhJiX7ahPRLiKLysxbqYIsGGPpJvAGCc3lcTF+lmODA7yvs +oAzgzxnlzuFVZMUWAiWO/+MbjbnQBJp5kFHxq3GyPSx2Q2C4XWZN7qV2SGxwhyEW lzBDATpNhM6xr3JN3CSlnIg7iqHUG/sEPUGPIfvNOgJoC48Jz8RHYldT+o62NQOop 7KpzZcmUv9ve+xPNjja/UXw/jfYsImsC7YGz9j13jJ0qdPObbi7Q6LVxe93hHGmqA fjMr/bq3DnWlP07DFw== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from drachen.dragon ([84.57.248.23]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MVrbz-1ryysR4AQH-00Rtem; Tue, 14 May 2024 23:22:19 +0200 From: Michael Heerdegen <michael_heerdegen@HIDDEN> To: Stephen Berman via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> Subject: Re: bug#70938: 30.0.50; Edebug appropriates overriding-terminal-local-map In-Reply-To: <877cfwh6h1.fsf@HIDDEN> (Stephen Berman via's message of "Tue, 14 May 2024 15:24:10 +0200") References: <877cfwh6h1.fsf@HIDDEN> Date: Tue, 14 May 2024 23:23:03 +0200 Message-ID: <87msosks08.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:aJzVYJfoDAVmLPzfGGIA2cVGSWTMDheEyoOjDKY5rPEgAeQa5O+ zf+uqk6fXks2haXDFjZDQXYhdmyjAMUtco75kxvPxrRSv0xF8rXihs0wjoMO0sLt0ZsIJj8 qkcyYg5cC6lieMoqSvNLC0EN7gl0HhRwTpK2Znz8zAaqcLuqpO+X7gXCRZLErP+Mi+lhgkr viULfqTJS9S9PwjqP3tDA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:Rijnzs3JQp8=;RtCme1UiWL8xH/ahRYb0fVwBBqz OLA2rYh9YkatIwckU0tjlZByKdpJI6DBdoRD7O9tk4IAnup0vEDZx6OiMBtvMUmzE4FgSL5Ip YeGKuACAsOAo7NR95Rs7KsVhkzF+HQyA688I40+BvRD1QoQBai3t1s1l+pp1Hw/CTT4Qzt/09 ALIY4cjXCKpj5+oXbVz6Pl8L07Z01SEIHW7eIC9dJOlrY9ZHlTbHT4gFM+a0fsHt4tcTfoKJO qgEfK3kW2TnNK4zbP/HTxrkRLYafcSX0fNfA+sbdFi1p8e6KrN4Trv1k0LoX+XOv/Al6mcRsk XijxPEBQkMnS6FnYntnUu+OEa8OPGL2gRh784JIVk8AWK78/JU4hGWsPr/2SqVBUGW3ytnxID 0QcSwTJSycO/fYpLkRSFLZtx92ZV26kFAvEC6xYzMtltrRcXrEseTGFBU9n6OeFbfL3fUish5 iU5mYzirTxp3Iz/oa1vB5Hkg/+cBOGjav8TPiSeeIUyqaCBDOQJaenZeP6Er5SNobhzyBlPWC XOZ+EAHDtn9Lo3xFyDIxoCkQN8cCpJ0oqCALz9ylv/1SRlAUp4pmkU5smMdwjR5bZHJMuzfUb poZM+6PZ+In95rhlNKDjtkUwtju+S/zjZNO+OoyeYU9hr6gSpLBPx3IZzenwLBpugH/O6YO4S IAWx9nUrl/19WNalTuNwBg7TK4wXP7GXYYAb2tAL8jzvcy2nMhkM1oUdLN71gncjj2LYziE0L BxX6XV1OT7H/ZedwBjb5cszyHmiKQmsjUbkfUjFVY+zc49wvKUC3lLslrRBaIExwx1lScI0hc 7JGbhPgYeUYnfsy/WKv53bfyiVBYjr5ITwzSTsfUDdX8k= X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 70938 Cc: Stephen Berman <stephen.berman@HIDDEN>, 70938 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Stephen Berman via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> writes: > This is evidently from the instrumented function. What I haven't been > able to determine is why this remains even after the instrumentation has > been removed; it seems that Edebug has appropriated > overriding-terminal-local-map. The only way I have found to release it > is `M-x unload-library RET edebug'. Thanks. I can reproduce the issue. And this is a very valuable recipe, because this may be the problem we are hunting for quite a while. I agree with your analysis - the transient map the edebugged code adds is never removed, its bound commands are instrumented code. Just M-: overriding-terminal-local-map RET to verify. AFAIU, this is caused only by this one binding: (overriding-terminal-local-map nil) in `edebug--recursive-edit'. This seems to make the cleanup code of the added transient map in `pre-command-hook' think that the transient map is gone, we are done and removes itself from the hook. Then the added transient map stays forever, unless you clear `overriding-terminal-local-map' manually. But what can we do - does anyone have a good idea? Could the cleanup code that removes the transient map maybe check whether the variable `overriding-terminal-local-map' it sees is really the global one? Thanks, Michael.
bug-gnu-emacs@HIDDEN
:bug#70938
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 14 May 2024 21:22:35 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 14 17:22:35 2024 Received: from localhost ([127.0.0.1]:41474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s6zbX-0005S1-0z for submit <at> debbugs.gnu.org; Tue, 14 May 2024 17:22:35 -0400 Received: from lists.gnu.org ([209.51.188.17]:39002) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <michael_heerdegen@HIDDEN>) id 1s6zbU-0005Rt-Eu for submit <at> debbugs.gnu.org; Tue, 14 May 2024 17:22:33 -0400 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 <michael_heerdegen@HIDDEN>) id 1s6zbS-0002ZP-ST for bug-gnu-emacs@HIDDEN; Tue, 14 May 2024 17:22:30 -0400 Received: from mout.web.de ([212.227.17.12]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <michael_heerdegen@HIDDEN>) id 1s6zbQ-00028Y-Jc for bug-gnu-emacs@HIDDEN; Tue, 14 May 2024 17:22:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1715721739; x=1716326539; i=michael_heerdegen@HIDDEN; bh=VLpNwjf7+Inxagwi82CqUXAvkYENUquCwqhbg7gEDhk=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=W5Bxt39LE82/BrVdw6Te3o9tQVnAqRyDDDexSt0xQTIlvpZIxoSBFF89h3aulHtk QxEUvEd8xiCsrpN9XyBhJiX7ahPRLiKLysxbqYIsGGPpJvAGCc3lcTF+lmODA7yvs +oAzgzxnlzuFVZMUWAiWO/+MbjbnQBJp5kFHxq3GyPSx2Q2C4XWZN7qV2SGxwhyEW lzBDATpNhM6xr3JN3CSlnIg7iqHUG/sEPUGPIfvNOgJoC48Jz8RHYldT+o62NQOop 7KpzZcmUv9ve+xPNjja/UXw/jfYsImsC7YGz9j13jJ0qdPObbi7Q6LVxe93hHGmqA fjMr/bq3DnWlP07DFw== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from drachen.dragon ([84.57.248.23]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MVrbz-1ryysR4AQH-00Rtem; Tue, 14 May 2024 23:22:19 +0200 From: Michael Heerdegen <michael_heerdegen@HIDDEN> To: Stephen Berman via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> Subject: Re: bug#70938: 30.0.50; Edebug appropriates overriding-terminal-local-map In-Reply-To: <877cfwh6h1.fsf@HIDDEN> (Stephen Berman via's message of "Tue, 14 May 2024 15:24:10 +0200") References: <877cfwh6h1.fsf@HIDDEN> Date: Tue, 14 May 2024 23:23:03 +0200 Message-ID: <87msosks08.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:aJzVYJfoDAVmLPzfGGIA2cVGSWTMDheEyoOjDKY5rPEgAeQa5O+ zf+uqk6fXks2haXDFjZDQXYhdmyjAMUtco75kxvPxrRSv0xF8rXihs0wjoMO0sLt0ZsIJj8 qkcyYg5cC6lieMoqSvNLC0EN7gl0HhRwTpK2Znz8zAaqcLuqpO+X7gXCRZLErP+Mi+lhgkr viULfqTJS9S9PwjqP3tDA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:Rijnzs3JQp8=;RtCme1UiWL8xH/ahRYb0fVwBBqz OLA2rYh9YkatIwckU0tjlZByKdpJI6DBdoRD7O9tk4IAnup0vEDZx6OiMBtvMUmzE4FgSL5Ip YeGKuACAsOAo7NR95Rs7KsVhkzF+HQyA688I40+BvRD1QoQBai3t1s1l+pp1Hw/CTT4Qzt/09 ALIY4cjXCKpj5+oXbVz6Pl8L07Z01SEIHW7eIC9dJOlrY9ZHlTbHT4gFM+a0fsHt4tcTfoKJO qgEfK3kW2TnNK4zbP/HTxrkRLYafcSX0fNfA+sbdFi1p8e6KrN4Trv1k0LoX+XOv/Al6mcRsk XijxPEBQkMnS6FnYntnUu+OEa8OPGL2gRh784JIVk8AWK78/JU4hGWsPr/2SqVBUGW3ytnxID 0QcSwTJSycO/fYpLkRSFLZtx92ZV26kFAvEC6xYzMtltrRcXrEseTGFBU9n6OeFbfL3fUish5 iU5mYzirTxp3Iz/oa1vB5Hkg/+cBOGjav8TPiSeeIUyqaCBDOQJaenZeP6Er5SNobhzyBlPWC XOZ+EAHDtn9Lo3xFyDIxoCkQN8cCpJ0oqCALz9ylv/1SRlAUp4pmkU5smMdwjR5bZHJMuzfUb poZM+6PZ+In95rhlNKDjtkUwtju+S/zjZNO+OoyeYU9hr6gSpLBPx3IZzenwLBpugH/O6YO4S IAWx9nUrl/19WNalTuNwBg7TK4wXP7GXYYAb2tAL8jzvcy2nMhkM1oUdLN71gncjj2LYziE0L BxX6XV1OT7H/ZedwBjb5cszyHmiKQmsjUbkfUjFVY+zc49wvKUC3lLslrRBaIExwx1lScI0hc 7JGbhPgYeUYnfsy/WKv53bfyiVBYjr5ITwzSTsfUDdX8k= Received-SPF: pass client-ip=212.227.17.12; envelope-from=michael_heerdegen@HIDDEN; helo=mout.web.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Stephen Berman <stephen.berman@HIDDEN>, 70938 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) Stephen Berman via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> writes: > This is evidently from the instrumented function. What I haven't been > able to determine is why this remains even after the instrumentation has > been removed; it seems that Edebug has appropriated > overriding-terminal-local-map. The only way I have found to release it > is `M-x unload-library RET edebug'. Thanks. I can reproduce the issue. And this is a very valuable recipe, because this may be the problem we are hunting for quite a while. I agree with your analysis - the transient map the edebugged code adds is never removed, its bound commands are instrumented code. Just M-: overriding-terminal-local-map RET to verify. AFAIU, this is caused only by this one binding: (overriding-terminal-local-map nil) in `edebug--recursive-edit'. This seems to make the cleanup code of the added transient map in `pre-command-hook' think that the transient map is gone, we are done and removes itself from the hook. Then the added transient map stays forever, unless you clear `overriding-terminal-local-map' manually. But what can we do - does anyone have a good idea? Could the cleanup code that removes the transient map maybe check whether the variable `overriding-terminal-local-map' it sees is really the global one? Thanks, Michael.
bug-gnu-emacs@HIDDEN
:bug#70938
; Package emacs
.
Full text available.Received: (at 70938) by debbugs.gnu.org; 14 May 2024 20:15:24 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 14 16:15:24 2024 Received: from localhost ([127.0.0.1]:41308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s6yYW-0005ro-7E for submit <at> debbugs.gnu.org; Tue, 14 May 2024 16:15:24 -0400 Received: from mout.gmx.net ([212.227.15.15]:60271) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stephen.berman@HIDDEN>) id 1s6yYR-0005Oi-MG for 70938 <at> debbugs.gnu.org; Tue, 14 May 2024 16:15:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1715717712; x=1716322512; i=stephen.berman@HIDDEN; bh=qHalYQfNB/0I3GEeqdxam8UNUxVsJ44Nrj97PhTD0K8=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=EWkIt6fUNiLhdCOGURVJheh2dBl1vWarNItVFnQxdg9hFF43X0jTlJUhWExVUfiV YuEJW3i4aqjisEbdN3rcnJKqz6/VBKv1XpoAoRRBRbAOMLb67XXTrDpiovR1M3TZa hEDbvBXl019+DY18C4LFtpC77GPr4eRP5spUkWAX4mYBzGMib1Vo2hoGXHyVhp2zu pV8mPXDNLy/lgcwnxGjS8OsatLBCqPqqyt2ZhtEj0Qvsoi19UZPoimUBHBt8/VUhk iMMyKUkdwPR+BC8ejGCyu47jSls7p2FdreXBEyJFMt9dRQMlAHeUZ18+JExc2UEGn fXh7RzPG9zNrB3zTmw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from strobelfs ([88.130.50.190]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MS3ir-1rzWYt0puF-00TXiB; Tue, 14 May 2024 22:15:12 +0200 From: Stephen Berman <stephen.berman@HIDDEN> To: Michael Heerdegen <michael_heerdegen@HIDDEN> Subject: Re: bug#70938: 30.0.50; Edebug appropriates overriding-terminal-local-map In-Reply-To: <871q64magk.fsf@HIDDEN> (Michael Heerdegen's message of "Tue, 14 May 2024 21:59:07 +0200") References: <877cfwh6h1.fsf@HIDDEN> <871q64magk.fsf@HIDDEN> Date: Tue, 14 May 2024 22:15:11 +0200 Message-ID: <8734qkgng0.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:Wi85bJW704wqjuao9C4woHM5m7CM5UMtEOpkH3nrLjkTosl2aw4 mLNrDT7buuBKNjN7M1J31ho58ePj2tOwxrjvNY6/DqUvL6nRVpOlxvCNTNtksXjeeUpFpWC vWg82iXSUZdBkWQyZkOkVvaebBvgf0lVAUGw/+ab6shjPYZjw2+pk5wjTSZWF6MJBDyBTb5 h6zoy4d/mQOQCKT125jBA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:GEBsMICC5o4=;q9yR/pQsNlPyqczewE2JN2WG2Nu ZEDjQEv+qxzVEotV1AI7Xlh6nb6AbcXv6irgAw8whE1nrS9j/ohREpc7s1ZVePJsjHoFPeX/o w8NN8pnLuVnZDuFl5q985eIT3Vus1n5qL7nj1KSdZLNli0Z4LL/4bzOc5Yub9a5HQHm9qKvWT jy2hYXWIheC+qpFzSrumpjjVf8ZO6uPaQfpbHXhflbhkSbkrdtTP977LTBS8cbRTmvOmmc1Hi a5KX2zUX1DONF5gdGNEgKshrxAQFCuM0MwMOfy9+MdT37WvuSJL0YktNciO3FD8W5ZP1ouEJK i+YiOEZXWCihYiPTsFHdY8ZadloIo82kYzzCDPKhtPVQK6KfI6y2n0e8YuCG5fiMJL9pGrlJo Qjw2n34RaI38m/oAv43QCsvaP2deIERKgsAAzsUw8CH1sdyyYmZJD2u2NBIn+O2GAetFoZ62Z hdhzVlCYJsUYb9+cy8RoHprOiAwdO+y6HL3YufeWv/MeAKPy2o/8TAJURQvdQMZrPqbeE4NEC hI7G+FraSHLqu39vJ5v90y6fLdXw7/JSh9Qf5+W0xNzDqiGoV2Dgr7rYqwQGEkGVSVeETvhqK I4L2arpUZGeXydP7rh2y9QBIq7tE/NK/1StmA5INE9xGXwPFEo2W+9J2gDcikin9el4eqzmbt WOw/pWZK3d/fy339NExG6qod8mqVYkLbLJhX9mos8PIu4Om7sSm3cVBVA2HEtP9d3UUGZzQzd Zpy3CYVDi1mUFP06b6ygXCfv28rFbTylRqI9IOmQKncgc8GHDlvOJ4HjeWyK9CQlQVebGxbVo bbBVa8by9QgBvvxRUj1gcFxLyVfeziie+dZMrxyQr7VwE= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 70938 Cc: 70938 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain On Tue, 14 May 2024 21:59:07 +0200 Michael Heerdegen <michael_heerdegen@HIDDEN> wrote: > Stephen Berman via "Bug reports for GNU Emacs, the Swiss army knife of > text editors" <bug-gnu-emacs@HIDDEN> writes: > >> 0. emacs -Q -l test-edebug-override-map.el > > Where can one find "test-edebug-override-map.el"? Oh, no, I forgot to attach it, sorry! Now it's attached here. Steve Berman --=-=-= Content-Type: application/emacs-lisp Content-Disposition: attachment; filename=test-edebug-override-map.el Content-Transfer-Encoding: quoted-printable ;; -*- lexical-binding: t; -*- (defun srb-test () (interactive) (srb-test--next srb-test--key-groups nil)) (defvar srb-test--key-groups '(("i" "p") ("y" "k") ("c" "d" "n") "t" ("h" "= r"))) (defun srb-test--next (groups keys-so-far) (let* ((map (make-sparse-keymap)) (key-list '("i" "p" "y" "k" "c" "d" "n" "t" "h" "r")) ;; The key just typed. (this-key (lambda () (char-to-string last-command-event))) (prompt nil) ;; Remove groups of entered keys from prompt and show remaining. (add-to-prompt (lambda (key) (setq prompt (concat prompt (format (concat (if (member key '("i" "y" "c" "t" "h")) "{" " ") "%s" (when (member key '("p" "k" "n" "t" "r")) "} ")) key))))) ;; Return the key groups replacing the group containing the given = key ;; by the key itself. (get-groups (lambda (key lst) (setq lst (if (consp lst) lst (list lst))) (let ((l nil) ky) (mapc (lambda (m) (when (consp m) (catch 'found1 (dolist (k m) (when (equal key k) (throw 'found1 (setq ky k)))))) (if ky (progn (push ky l) (setq ky nil)) (push m l))) lst) (setq lst (reverse l))))) ;; Operate on a copy of the groups list so the original is not ;; consumed, thus available for the next key typed. (groups0 groups) ;; exitfn ) (while groups0 (let* ((x (car groups0)) (restgroups (cdr groups0))) (dolist (key (if (consp x) x (list x))) (funcall add-to-prompt key) (define-key map key (if (null restgroups) (lambda () (interactive) (setq keys-so-far (concat keys-so-far " " (funcall this-key))) (message "Keys:%s" keys-so-far)) (lambda () (interactive) (setq keys-so-far (concat keys-so-far " " (funcall this-key))) (srb-test--next (cdr (funcall get-groups (funcall this-key) groups)) keys-so-far))))) (setq groups0 restgroups))) (set-transient-map map) ;; (setq exitfn (set-transient-map map)) (when prompt (message "Press a key from one of these groups: %s" prompt= )) (setq groups0 groups) ;; (funcall exitfn) )) (provide 'test-edebug-override-map) --=-=-=--
bug-gnu-emacs@HIDDEN
:bug#70938
; Package emacs
.
Full text available.Received: (at 70938) by debbugs.gnu.org; 14 May 2024 19:58:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 14 15:58:36 2024 Received: from localhost ([127.0.0.1]:41188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s6yIE-0004Qy-66 for submit <at> debbugs.gnu.org; Tue, 14 May 2024 15:58:36 -0400 Received: from mout.web.de ([212.227.17.12]:50535) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <michael_heerdegen@HIDDEN>) id 1s6yIB-0004Qn-6f for 70938 <at> debbugs.gnu.org; Tue, 14 May 2024 15:58:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1715716703; x=1716321503; i=michael_heerdegen@HIDDEN; bh=RvI6vAb37QP3eAAlEqF7eAO2m+pyQ9rya8vPuHCwb3o=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=ktGTrGrb32NyIXxN1nST8Fd6QX4xUY4fq9lD4c/+Qgdu7tNAtgq7VqMFmzLkRmJn gHyYPKVoNnMr0dkNDHP2fobKFDI3JTgIRsvA7NMdsKi3nzUJOQz6fNQsiKdTrO6h6 6glqvuS1wQT59MwNyLvx5LOVV0oLmdB8uVu5sGprCTTWWcXp9iHR7OqOOp4J80TEM +cMlQEqZhTByhl51Hopc+DyoEAgjHhD30874s77YBn0wKJLjZYLBPtguT/4BULJdU G8bd25vAcIJzUhNiv9a5jlsS15/nVXh5r/nDbicks01hF/VqDlmSb3jtR//2UotQS VszS1DQnuywKEJaETQ== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from drachen.dragon ([84.57.248.23]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MjxeE-1sr4gZ1sBk-00h4eh; Tue, 14 May 2024 21:58:23 +0200 From: Michael Heerdegen <michael_heerdegen@HIDDEN> To: Stephen Berman via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> Subject: Re: bug#70938: 30.0.50; Edebug appropriates overriding-terminal-local-map In-Reply-To: <877cfwh6h1.fsf@HIDDEN> (Stephen Berman via's message of "Tue, 14 May 2024 15:24:10 +0200") References: <877cfwh6h1.fsf@HIDDEN> Date: Tue, 14 May 2024 21:59:07 +0200 Message-ID: <871q64magk.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:ATHwwOGtQwqO9o+OPNMcR7QaO22Y15yYlQ2uPjM9d29MzfEWwaK Zz1D7KdZtVMuDD9FDgO3KPwBK1IOSvATQCGNybjCF6gGg7S9zFg4rh2jZshqgqJaufLECb5 DsdIIf7oVRvWf789JnkRWM+qIl92IvKD2/FE6tKqPdlT/Lz+aFpVGeum0PPp026IgVCsWyI kopsciiZEk/QYdqdt2Rrg== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:07BVfMDLpH4=;rXTqgoub55zx4XH0i45z1VMuXvk ojykvTGm9YTU5hj+NmjZa0kErBDAnlSktSCW2vQfcuKVUAOk5WuSVFRO+IHcLKIxEmc1w3LvM zdDLNOfBd99+LsZbzQlQhd4OHg47BLfUEC0riD8MJVZaMjW56xXaTA3kAuw0pcEDfi5ybo01K 08lOxAyyvxbKVHXXhKf31mEbSIday7ucA/RBNj4mlHdpuZZo4XtFksMN1dlDWEuK41kIrR2VW 9n4kkU0FEJBuUPQV2sRJq1gOuOmOd6xubTltlXvTJuu71rKYqhOZjhLelCduMsz2wkxL9xA5e aZsRLZKgthXwYKpIWSpPiGO3RMw6dnaM+aiCpYIwVMQzxlu7IijSYN1ujq2MXdf5Gyi0Un+mo ZPssBcdCbR4MOt48xtb4/6he7GERdc5k9j+FgsogmL1du+LKN6Ci1VwuwVfgzyczMIUINpbsj T5Awj2cTz8Qc5F4sTRsyn7c9tzqH4KRj2tQ1HFoyC31dSTeyAaNlZ+U8kWahS8S5CPvuiPpCj xd7TlOn0zVCjTP6nZN/bJY9LRfhl42lwR2SVhT+EIYnORns3CErlcDPBPIoRneNstqsvEoHIR LsL5lTK7lEHSu0G87i28ouzIKwim8MapEv2Y857hcyvkB85H+siqINuv2YgO/orMec2gFPPYA FknSfbi2f3oASxGKzvc1XEGrHAeMOaKaZEUqJBKQzuQJuoxzrpQwmqAGW3b5t9QYGxc0bslMD g5/KUhpwmMnaOg9QOUefzR1U8odFphGi8RT0VUacX4qMjJ5tlNItVrGUOKW+I6OoYZTs9Q+4x lh65AK/yF6AMWCTS3BKoIr8l7JZXYcea2HcfZbF1EWTMs= X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 70938 Cc: Stephen Berman <stephen.berman@HIDDEN>, 70938 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Stephen Berman via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> writes: > 0. emacs -Q -l test-edebug-override-map.el Where can one find "test-edebug-override-map.el"? TIA, Michael.
bug-gnu-emacs@HIDDEN
:bug#70938
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 14 May 2024 19:58:55 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 14 15:58:55 2024 Received: from localhost ([127.0.0.1]:41192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s6yIX-0004RD-B4 for submit <at> debbugs.gnu.org; Tue, 14 May 2024 15:58:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:49860) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <michael_heerdegen@HIDDEN>) id 1s6yIK-0004R6-L1 for submit <at> debbugs.gnu.org; Tue, 14 May 2024 15:58:52 -0400 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 <michael_heerdegen@HIDDEN>) id 1s6yIF-0000q3-4G for bug-gnu-emacs@HIDDEN; Tue, 14 May 2024 15:58:38 -0400 Received: from mout.web.de ([212.227.17.12]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <michael_heerdegen@HIDDEN>) id 1s6yID-0007xq-6x for bug-gnu-emacs@HIDDEN; Tue, 14 May 2024 15:58:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1715716703; x=1716321503; i=michael_heerdegen@HIDDEN; bh=RvI6vAb37QP3eAAlEqF7eAO2m+pyQ9rya8vPuHCwb3o=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=ktGTrGrb32NyIXxN1nST8Fd6QX4xUY4fq9lD4c/+Qgdu7tNAtgq7VqMFmzLkRmJn gHyYPKVoNnMr0dkNDHP2fobKFDI3JTgIRsvA7NMdsKi3nzUJOQz6fNQsiKdTrO6h6 6glqvuS1wQT59MwNyLvx5LOVV0oLmdB8uVu5sGprCTTWWcXp9iHR7OqOOp4J80TEM +cMlQEqZhTByhl51Hopc+DyoEAgjHhD30874s77YBn0wKJLjZYLBPtguT/4BULJdU G8bd25vAcIJzUhNiv9a5jlsS15/nVXh5r/nDbicks01hF/VqDlmSb3jtR//2UotQS VszS1DQnuywKEJaETQ== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from drachen.dragon ([84.57.248.23]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MjxeE-1sr4gZ1sBk-00h4eh; Tue, 14 May 2024 21:58:23 +0200 From: Michael Heerdegen <michael_heerdegen@HIDDEN> To: Stephen Berman via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> Subject: Re: bug#70938: 30.0.50; Edebug appropriates overriding-terminal-local-map In-Reply-To: <877cfwh6h1.fsf@HIDDEN> (Stephen Berman via's message of "Tue, 14 May 2024 15:24:10 +0200") References: <877cfwh6h1.fsf@HIDDEN> Date: Tue, 14 May 2024 21:59:07 +0200 Message-ID: <871q64magk.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:ATHwwOGtQwqO9o+OPNMcR7QaO22Y15yYlQ2uPjM9d29MzfEWwaK Zz1D7KdZtVMuDD9FDgO3KPwBK1IOSvATQCGNybjCF6gGg7S9zFg4rh2jZshqgqJaufLECb5 DsdIIf7oVRvWf789JnkRWM+qIl92IvKD2/FE6tKqPdlT/Lz+aFpVGeum0PPp026IgVCsWyI kopsciiZEk/QYdqdt2Rrg== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:07BVfMDLpH4=;rXTqgoub55zx4XH0i45z1VMuXvk ojykvTGm9YTU5hj+NmjZa0kErBDAnlSktSCW2vQfcuKVUAOk5WuSVFRO+IHcLKIxEmc1w3LvM zdDLNOfBd99+LsZbzQlQhd4OHg47BLfUEC0riD8MJVZaMjW56xXaTA3kAuw0pcEDfi5ybo01K 08lOxAyyvxbKVHXXhKf31mEbSIday7ucA/RBNj4mlHdpuZZo4XtFksMN1dlDWEuK41kIrR2VW 9n4kkU0FEJBuUPQV2sRJq1gOuOmOd6xubTltlXvTJuu71rKYqhOZjhLelCduMsz2wkxL9xA5e aZsRLZKgthXwYKpIWSpPiGO3RMw6dnaM+aiCpYIwVMQzxlu7IijSYN1ujq2MXdf5Gyi0Un+mo ZPssBcdCbR4MOt48xtb4/6he7GERdc5k9j+FgsogmL1du+LKN6Ci1VwuwVfgzyczMIUINpbsj T5Awj2cTz8Qc5F4sTRsyn7c9tzqH4KRj2tQ1HFoyC31dSTeyAaNlZ+U8kWahS8S5CPvuiPpCj xd7TlOn0zVCjTP6nZN/bJY9LRfhl42lwR2SVhT+EIYnORns3CErlcDPBPIoRneNstqsvEoHIR LsL5lTK7lEHSu0G87i28ouzIKwim8MapEv2Y857hcyvkB85H+siqINuv2YgO/orMec2gFPPYA FknSfbi2f3oASxGKzvc1XEGrHAeMOaKaZEUqJBKQzuQJuoxzrpQwmqAGW3b5t9QYGxc0bslMD g5/KUhpwmMnaOg9QOUefzR1U8odFphGi8RT0VUacX4qMjJ5tlNItVrGUOKW+I6OoYZTs9Q+4x lh65AK/yF6AMWCTS3BKoIr8l7JZXYcea2HcfZbF1EWTMs= Received-SPF: pass client-ip=212.227.17.12; envelope-from=michael_heerdegen@HIDDEN; helo=mout.web.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: Stephen Berman <stephen.berman@HIDDEN>, 70938 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) Stephen Berman via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> writes: > 0. emacs -Q -l test-edebug-override-map.el Where can one find "test-edebug-override-map.el"? TIA, Michael.
bug-gnu-emacs@HIDDEN
:bug#70938
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 14 May 2024 13:24:24 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 14 09:24:24 2024 Received: from localhost ([127.0.0.1]:39333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s6s8l-0004zW-MX for submit <at> debbugs.gnu.org; Tue, 14 May 2024 09:24:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:59454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stephen.berman@HIDDEN>) id 1s6s8f-0004zP-Pj for submit <at> debbugs.gnu.org; Tue, 14 May 2024 09:24:21 -0400 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 <stephen.berman@HIDDEN>) id 1s6s8e-0006re-Aq for bug-gnu-emacs@HIDDEN; Tue, 14 May 2024 09:24:16 -0400 Received: from mout.gmx.net ([212.227.17.21]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <stephen.berman@HIDDEN>) id 1s6s8a-00045T-QK for bug-gnu-emacs@HIDDEN; Tue, 14 May 2024 09:24:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1715693050; x=1716297850; i=stephen.berman@HIDDEN; bh=jc4WltbjQ1UzlfGNW4pImqTcD6wMcQ7VJd97WikBEw4=; h=X-UI-Sender-Class:From:To:Subject:Date:Message-ID:MIME-Version: Content-Type:cc:content-transfer-encoding:content-type:date:from: message-id:mime-version:reply-to:subject:to; b=scmFejxk726plzLVyG/BtWtxxLFKrvMmJgCnOHdi98KN0OymKNj4BvdGvJ1evkWt zdykjUN0DxhgoHt2nRMQG+yumsRonD255ojp17OUHrZBd8x5BmDpk0gbBOo+oNqWH WAK8UCEBNztSll0kuLMiz5zIdgIOHYb3j3EeIwASZNMlOVp6NV+xSkS28b+ArsIkL e7NLATn8YoKwEpIMkgLH4TMFIX8v+pNMzLGf+fl2rwAehVM9GcZToQ8dxoZaBVzaH beeW6ygJZxKOo6WYYeIps3Y4Ay8xuCDgLW23QcMiP65J6y+EUz7Sr2wzbuCCxi9Sj JDzRXUGDhdGAPqIliQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from strobelfs ([88.130.50.190]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N95iR-1sbzbB35b5-016ysN for <bug-gnu-emacs@HIDDEN>; Tue, 14 May 2024 15:24:10 +0200 From: Stephen Berman <stephen.berman@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 30.0.50; Edebug appropriates overriding-terminal-local-map X-Debbugs-Cc: Date: Tue, 14 May 2024 15:24:10 +0200 Message-ID: <877cfwh6h1.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:Mbr9+2v0mh1UGJI+1XBgZgLDvURGcVERppBJa7Z0ezsylAA1/sD EaPZzqfBNSVLaBfPPNffsNhwD5pGWBojba41oHLxgGmL9/26vIqLoACGG/qJm8+7WxFprwX h6qiAvtw49UhDe3PrQM+WRgDBntj2pdxU+1PotGA6Xe2yq7LM+AShGt3qiTeI9IAz7SZyVd c7WoGuXhQYdr/JBaA2zQA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:c0JD352Z2yY=;3Lt2M+RsJvDtwgeH9TBHNy0k8dU eSbOAV93aO56oMPwKTBb1I5i3LRasdv+HsvfQiIzpiCps6/ndFH7Fm1iJqSp8nuaH06qlugmB 1wsUuLhnnz9WDQjzSVlqOGv2yH+cOiYdl2dwxKP2htGtaq1fjbAJKllAjYzB2M8UJCr2XPt9T XVANWenu6I66Zz9CzPuFvDtJ/f34qzv1+ijJYSEm1uCBvJKZz9X+wnV7XYmjht6GkFD++2uMV MRP5mmc2ICN3KInPtSq3rdRiBfTZQ6X9RNrAfTM6zRI/9u4NRy2Tzw8IfrI5LVm8i2wqMRJ2N CdDOoZillFaVTtSWNpd3SkVvhNlDEVggGyNnyffNfHU9lQRXe2txSsIUWu1MGlM8vr53meqBD nJdsJZL6lpKF7j6QSdqpa10jaJ2iJbnFmpKb0pUw4uWwPkJaBFPrchFsfeAiEXN97iAER41HZ nM4jSqlY+fjHPw0jvl0Q8rTIMM+npEtdoLc+9kE5pktmDZwFHFYMqXruVH1Rj/C5OMO9QGbDx WPmY+FoKRAOEqVPz7HQYPmzsviuCTF8xaSxJu4N54OU5IbMaDiRHPushG+gnewgFhe35TiZED KOyw56y7l8Sz40/nnHRnTOnRrqonGv7OWG8YXIVsGju728/JOGSWnZCNLwtagsYFikLNz3yc4 HAaaGtwxEjsecJ6R2ADTKUMM8GJjSMXbp6GqPJLRTAnIC5rZU4ccLG5/8knDsL642Irb5Zw/t rnbNxwsbGtRdYOVSYlXRSjgJewGvlSbTX3LVSl3Ca4y+NwBY3di8GCx+p1M6abyVjgo46oQ2h i+LGuqwIiK6KaYf+sJ2pnPC62rkYShIGFL+eIIhP9g+Ls= Received-SPF: pass client-ip=212.227.17.21; envelope-from=stephen.berman@HIDDEN; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-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 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) While I was edebugging in todo-mode.el (bug#70937) Emacs got into a state where Edebug kicked in even after I removed the instrumentation from the code. AFAICT from further debugging, the issue has to do with the way todo-mode.el uses set-transient-map. To provide a reproducer that does not involve todo-mode.el I have extracted and simplified the triggering function from that file and included it in the attached file. 0. emacs -Q -l test-edebug-override-map.el 1. M-x srb-test 2. At the prompt type one of the keys listed between the curly braces, which removes that group and prompts again; keeping typing till there is no further prompt, then a message displays the typed keys in the order they were typed in. 3. Now visit test-edebug-override-map.el and with point in the function srb-test--next type `C-u C-M-x' to instrument it for Edebug. 4. Type M-s srb-test again and when Edebug stops execution, type `f' twice to step through the entire function so Edebug releases control. 5. Now with point again in srb-test--next type `C-M-x' to remove the instrumentation. You can confirm this by repeating steps 1-2 without Edebug kicking. 6. Now type any of the keys that were listed in the prompt on invoking srb-test (these keys are the strings in the value of srb-test--key-groups). => This makes Edebug kick in with execution stopped at one of the two occurrences of the sexp `(setq keys-so-far (concat keys-so-far " " (funcall this-key)))' in srb-test--next. The same thing happens with sequences containg one of these keys, e.g. `M-x k'. I did find a way to prevent Edebug from kicking in: uncomment the lines in the test file containing "exitfn"; this explicitly deactivates the transient map when the function returns, but it also makes the function a noop, so it's no fix for the problem. After step 4., when I type `C-h b' to show all current key bindings, the *Help* buffer contains a listing like this: Overriding Bindings: Key Binding c .. d #<interpreted-function AA2> h #<interpreted-function BAB> i #<interpreted-function 8CC> k #<interpreted-function 9AC> n #<interpreted-function A7F> p #<interpreted-function 917> r #<interpreted-function B53> t #<interpreted-function BD6> y #<interpreted-function 9F1> The codes AA2, etc. are links, and clicking on these pops up a *Help Source* buffer containing elisp code like this: #[nil ((edebug-enter 'edebug-anon5 (list) #'(lambda nil :closure-dont-trim-context (edebug-after (edebug-before 0) 7 (setq keys-so-far (edebug-after (edebug-before 1) 6 (concat (edebug-after 0 2 keys-so-far) " " (edebug-after (edebug-before 3) 5 (funcall (edebug-after 0 4 this-key))))))) This is evidently from the instrumented function. What I haven't been able to determine is why this remains even after the instrumentation has been removed; it seems that Edebug has appropriated overriding-terminal-local-map. The only way I have found to release it is `M-x unload-library RET edebug'. In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) of 2024-05-08 built on strobelfs Repository revision: e020f4e9ce5d98438033fea098d943c311b0fa3d Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101013 System Description: Linux From Scratch r12.1-53 Configured using: 'configure -C 'CFLAGS=-Og -g3' PKG_CONFIG_PATH=/opt/qt5/lib/pkgconfig' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB
Stephen Berman <stephen.berman@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#70938
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.