From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#54119: 29.0.50; Edebug: Jumping commands in recursive definitions Date: Sat, 26 Feb 2022 05:20:56 +0100 Message-ID: <87tucmp8bb.fsf@web.de> References: <87czjez0jg.fsf@web.de> <8735k7ty5s.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8817"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: 54119@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 26 05:22:22 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nNob8-00026h-3F for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 26 Feb 2022 05:22:22 +0100 Original-Received: from localhost ([::1]:34932 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nNob6-0000cn-FZ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 25 Feb 2022 23:22:20 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39056) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nNoao-0000cH-FF for bug-gnu-emacs@gnu.org; Fri, 25 Feb 2022 23:22:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60148) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nNoao-00077K-5r for bug-gnu-emacs@gnu.org; Fri, 25 Feb 2022 23:22:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nNoan-0005Am-VE for bug-gnu-emacs@gnu.org; Fri, 25 Feb 2022 23:22:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Feb 2022 04:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54119 X-GNU-PR-Package: emacs Original-Received: via spool by 54119-submit@debbugs.gnu.org id=B54119.164584926919804 (code B ref 54119); Sat, 26 Feb 2022 04:22:01 +0000 Original-Received: (at 54119) by debbugs.gnu.org; 26 Feb 2022 04:21:09 +0000 Original-Received: from localhost ([127.0.0.1]:54045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNoZx-00059M-8w for submit@debbugs.gnu.org; Fri, 25 Feb 2022 23:21:09 -0500 Original-Received: from mout.web.de ([212.227.17.11]:53429) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNoZs-00058Q-1F for 54119@debbugs.gnu.org; Fri, 25 Feb 2022 23:21:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1645849257; bh=rBpSvyXAltjESVHA6AmFOaTmzRcbn10LzSU9PDoajVw=; h=X-UI-Sender-Class:From:To:Subject:References:Date:In-Reply-To; b=c1pIUoBt6bAEvfUJh+sDiCX9ojjNWUciWDzGJ/N/1J0bHSfdl6nPXNI4pLr9jffqY 1qQ6K2Ms7QeAfH2jgZvMVPNR4f18iHPpT8hMB//nhiUMJaLfsMMKNA2WxsajXpLsNX DTm+9GI/ErCjaT661Yt4ZSpug1gFLDbOAmJG5Lkg= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from drachen.dragon ([84.60.174.212]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MjgSv-1o3hlC1p3j-00lDsM for <54119@debbugs.gnu.org>; Sat, 26 Feb 2022 05:20:57 +0100 In-Reply-To: <8735k7ty5s.fsf@web.de> (Michael Heerdegen's message of "Fri, 25 Feb 2022 04:36:47 +0100") X-Provags-ID: V03:K1:bV+OTe0mLtI1KZDx/GHMvpHS6zWtLyBmkZir+WP2JHTCU/wNw3n 7sB1GF23DRRfbXQTfpA3c/DM8ciydFlE9L59yVNgG1irapVPAijZbBHCMSId8gIZdXMvtVn 2tS9wYa69NyZ3FkiB2BO/SorohkitHOZn4cYg1QsCbic9+1zqTxjFBGC37L8immwo3ka25L EP7a9btmrXpHWFYKqcSlw== X-UI-Out-Filterresults: notjunk:1;V03:K0:Lytqd/cDVIA=:yHU6TXmzia+IeSVTiDheUH nVuHbXP2sc0ZTt6g5yHe7GHVFtGn0myZ/oLC92gs59rvntKmQ2M72Sung1ySkjKbD5ACrbIrh 8hEilQct78SIp1UAmA5NR/FZdCtHinVtHqF1XaO53jrNVciZ0tyOK8v9iRAUNXIZkTTrcTUKk J5KzXdHLYhD5qc2ft99R9aLe0VZPI+O77wUh+M5wdKaSO8jdvUZsMAknxezr2ws8ZcACAF7u1 Eg/8wSfrdIqWQ53GJDKmyYye11uTwxSa56eopxCKk2iCGKU1KyH/io1BlcZOCWXauX455UnP8 /CC6eIVwQ2WJLdfs9dzI5L8fRp60zbzSsgZ3qE6SuCXBCYEcwrYbOYPB0CtzJrPo1EF6clCc0 fagGuUDSwYq9mj2YvNmZxbaGv/aFCbODLiCenu70NHiKyzOkzeK5/hjpASHExy85UEFuWETd7 RfuoemNH61bgnxwu3KiSj5BFWWVaFRdWK4nnpD07oT4IyBbXtZ2PGhzUdBuZCrJmBxoYAkOwi 2zhW8hymm9G9DleDjWqTrXLZ5We6BUHnar9Q2j5MJvSzl0PLDrDYc7bWzhpEkvCl0ioYr6sAx VBJ7/5pdtpp33qp0US+cwvAyhdbgndW2yqZgh3teS/bhFFldwV0yr+siYqKLMcPA8IZfq5q8q s7OapnVDX1+pWJgDT95+6+cxwTdvP1v+jIdpUKnsDcBQwmZr5O0cpc86wlijLqfiFqBx6UTKS QiBFOP4R+q21WFYY9zxESuV8YaRAgiCyPKKc2CJ0pOVVsFmaDRu3QzHnNFhegY3CWcX9uQse X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:227663 Archived-At: Michael Heerdegen writes: > Seems to do the job. Let me add: if you wonder why I don't just add a new variable and make the behavior of `edebug-slow-after' depend on the value, and then just change the binding in `edebug-forward-sexp': that would not work because it would also change the behavior of the outer `edebug-slow-after' calls "we are already in". We would get more or less go-nonstop: everything would unwind up to the top. Remember: we can't just let-bind that variable since we are in a recursive edit and the jumping commands immediately terminate. We can only set it, and then edebug just goes nonstop. My approach only works because the "outer" `edebug-slow-after' calls are unaffected and still stop. So I think must we must mess with function bindings - or use a different approach. Michael.