GNU bug report logs - #70938
30.0.50; Edebug appropriates overriding-terminal-local-map

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Stephen Berman <stephen.berman@HIDDEN>; dated Tue, 14 May 2024 13:25:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 70938 <at> debbugs.gnu.org:


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)

--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70938; Package emacs. Full text available.

Message received at 70938 <at> debbugs.gnu.org:


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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70938; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70938; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


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




Acknowledgement sent to Stephen Berman <stephen.berman@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#70938; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 14 May 2024 20:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.