From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: How to stop all edebug? Date: Thu, 24 Oct 2019 13:05:08 +0200 Message-ID: <87sgnis8t7.fsf@web.de> References: <87zhhs0xiv.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="89079"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: "help-gnu-emacs@gnu.org" , Zhang Haijun To: HaiJun Zhang Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 24 13:37:49 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iNbR6-000N2Q-Ke for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Oct 2019 13:37:48 +0200 Original-Received: from localhost ([::1]:40044 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNbR5-0005LN-4U for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Oct 2019 07:37:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59691) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNavV-0004GS-Gv for help-gnu-emacs@gnu.org; Thu, 24 Oct 2019 07:05:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iNavU-0005sS-AW for help-gnu-emacs@gnu.org; Thu, 24 Oct 2019 07:05:09 -0400 Original-Received: from mout.web.de ([212.227.15.3]:48107) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iNavT-0005rS-Su for help-gnu-emacs@gnu.org; Thu, 24 Oct 2019 07:05:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1571915101; bh=BTrZnzNA5RR7bD3hIK1aHPGF2AGiWS8VsnulhXCCNW8=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=L/O4f9VpBagprZbc9IL4T/7H0+SZNudHelLmb6tCvtjQe6ZQuihs/kw8hdU4aeZkw ydYgGvG+tOhxQCwAsRqcMn+NS3498DumBYncnwiT8RwQkHfOIVQhy6gYqrGk6f8LdS qL9OjNMrrJ5vdgzrdIhWhXryOMMrQzCft8e4q5XM= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from drachen.dragon ([94.218.222.9]) by smtp.web.de (mrweb004 [213.165.67.108]) with ESMTPSA (Nemesis) id 0La1Sn-1hiWTx44Vx-00ljrc; Thu, 24 Oct 2019 13:05:01 +0200 In-Reply-To: (HaiJun Zhang's message of "Thu, 24 Oct 2019 04:10:07 +0000") X-Provags-ID: V03:K1:fQmvbIxhT5tyWmyyA/WjEmkz5iDun37HCB3dyQRGDbFCeB1f6Vo gFwxXcyNvTz+64VyfTS9nYJvtGgoJdo/L2N0KFeF9JuUyFsxBo/Sb+C7WREovNGcfAb5PXI SADIkRrnsHcJWlHgE0EblnZdakVZwpW8bRouIeE/YrVnL9tXp0yM6X6iY6iXVWJvQHDa/u2 fPyLIpz+BTdLlEU8aORFw== X-UI-Out-Filterresults: notjunk:1;V03:K0:RS8eA1/M0Bs=:LZwdCWCvcf7s1A3M2fnNM4 tMlbljvKlmsQjojvbCsJSkty5S9AUo5j1uKIsGXTz9CS2iPjJoWe2L4i4fYVx0DPxE/14m+Iy g6VUjVImHtW9YB+Ih4aIiPSTWlvof2YUnJSOKiUQMi4DJK/SL3nrZqhFWU57nfZfOIpCAJ33C qONO78FctvvBOOlB0dZhzDey27h3tdasM0/mjylHkDtLHAYMzjhWKd57LIzS+b4kIyGTukfcK shbnAoHqUue/ix4KOWzFacH6ERm+qgX2VSzjxzNP9MhoSK/WWY624O6NjEFLAugxCr1txlJji KsSUb+0+gioOhb6zlIavs6Cw+bRgy45rSdfTkV207s6Hm08IAGJUjWLXihdjFmzPZTunThsjK c4njxHjLl5sGoLplkE9IZwncLehGtAwDNHfpPvOo+5iDK2YO2bTJZ9KFEjGSxHp0oWuI14mE1 Q0HGu0NeXV80B8w/hOAhozyDPBE0rb/0GUA+d6yTNhjQ3xDoC7mIkwKTWxcluDjz5OxsUsAM6 K6xFpo+xuGEe+u57kByR/9co9TdWjorXwpWq9qyL27vC7/S3yufX9VMzPY36HKLANVzlAqzZM FgDd+h6DOTViNgqmeymketC5Sds9TiKx6IaLg7mYAnFVHWwCmVbvWG65qz+OKEIbo1sPRjiYj moUz63CXoAd/DyUT3afX+zLkxcG8xMtemhlDbjXc0AE3eK87dHCMkmU1rdQ8AF75dF3TFN+Fe zdvLQ+NDI8NVRcdXEzEPxamDrqLPX3eFui/Z53c8zGZ3QfhcboXLTmtFgqZwaaGCH7ZQ5kWe X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:121710 Archived-At: HaiJun Zhang writes: > =E5=9C=A8 2019=E5=B9=B410=E6=9C=8823=E6=97=A5 +0800 PM2:47=EF=BC=8CMichae= l Heerdegen > =EF=BC=8C=E5=86=99=E9=81=93=EF=BC=9A > If you don't use the master branch, this is the code that does > what you want: > > (dolist (function (edebug--edebug-on-entry-functions)) > (put function 'edebug-on-entry nil)) > > I eval the form. Emacs(26.3 on macOS) shows error like this: Correct - my mistake. The missing function had been added in the same commit some days ago. Here it is the complete code: #+begin_src emacs-lisp (defun edebug--edebug-on-entry-functions () (let ((functions nil)) (mapatoms (lambda (symbol) (when (and (fboundp symbol) (get symbol 'edebug-on-entry)) (push symbol functions))) obarray) functions)) (dolist (function (edebug--edebug-on-entry-functions)) (put function 'edebug-on-entry nil)) #+end_src That should work now. Michael.