GNU bug report logs - #15843
Add cancel-edebug-on-entry or similar

Previous Next

Package: emacs;

Reported by: Nathan Trapuzzano <nbtrap <at> nbtrap.com>

Date: Sat, 9 Nov 2013 21:43:02 UTC

Severity: wishlist

Tags: fixed

Found in version 24.3.50

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15843 in the body.
You can then email your comments to 15843 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#15843; Package emacs. (Sat, 09 Nov 2013 21:43:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nathan Trapuzzano <nbtrap <at> nbtrap.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 09 Nov 2013 21:43:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nathan Trapuzzano <nbtrap <at> nbtrap.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; Edebug feature request
Date: Sat, 09 Nov 2013 16:41:52 -0500
Edebug would benefit from something like debug.el's
`cancel-debug-on-entry'.  Especially after stepping through large
functions and into other functions therefrom, it's annoying to have to
manually re-eval them to remove the extra forms added by Edebug.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15843; Package emacs. (Mon, 11 Nov 2013 04:59:02 GMT) Full text and rfc822 format available.

Message #8 received at 15843 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Nathan Trapuzzano <nbtrap <at> nbtrap.com>
Cc: 15843 <at> debbugs.gnu.org
Subject: Re: bug#15843: 24.3.50; Edebug feature request
Date: Sun, 10 Nov 2013 23:58:39 -0500
> Edebug would benefit from something like debug.el's
> `cancel-debug-on-entry'.  Especially after stepping through large
> functions and into other functions therefrom, it's annoying to have to
> manually re-eval them to remove the extra forms added by Edebug.

Patch welcome, tho usually I just use `C-M-x c'.


        Stefan




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15843; Package emacs. (Mon, 11 Nov 2013 11:03:01 GMT) Full text and rfc822 format available.

Message #11 received at 15843 <at> debbugs.gnu.org (full text, mbox):

From: Nathan Trapuzzano <nbtrap <at> nbtrap.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 15843 <at> debbugs.gnu.org
Subject: Re: bug#15843: 24.3.50; Edebug feature request
Date: Mon, 11 Nov 2013 06:02:37 -0500
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> `C-M-x c'.

You mean just `C-M-x'?





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15843; Package emacs. (Mon, 11 Nov 2013 13:38:02 GMT) Full text and rfc822 format available.

Message #14 received at 15843 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Nathan Trapuzzano <nbtrap <at> nbtrap.com>
Cc: 15843 <at> debbugs.gnu.org
Subject: Re: bug#15843: 24.3.50; Edebug feature request
Date: Mon, 11 Nov 2013 08:37:19 -0500
>> `C-M-x c'.
> You mean just `C-M-x'?

No: C-M-x "de-edebugs" the function, but I need a subsequent `c' to
continue the execution that was interrupted where I didn't want it.


        Stefan




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15843; Package emacs. (Mon, 11 Nov 2013 13:42:02 GMT) Full text and rfc822 format available.

Message #17 received at 15843 <at> debbugs.gnu.org (full text, mbox):

From: Nathan Trapuzzano <nbtrap <at> nbtrap.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 15843 <at> debbugs.gnu.org
Subject: Re: bug#15843: 24.3.50; Edebug feature request
Date: Mon, 11 Nov 2013 08:41:38 -0500
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> No: C-M-x "de-edebugs" the function, but I need a subsequent `c' to
> continue the execution that was interrupted where I didn't want it.

Oh yeah, that's what I do to.




Changed bug title to 'Add cancel-edebug-on-entry or similar' from '24.3.50; Edebug feature request' Request was from npostavs <at> users.sourceforge.net to control <at> debbugs.gnu.org. (Sun, 02 Apr 2017 02:28:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15843; Package emacs. (Sun, 20 Oct 2019 09:17:01 GMT) Full text and rfc822 format available.

Message #22 received at 15843 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Nathan Trapuzzano <nbtrap <at> nbtrap.com>
Cc: 15843 <at> debbugs.gnu.org
Subject: Re: bug#15843: 24.3.50; Edebug feature request
Date: Sun, 20 Oct 2019 11:16:42 +0200
Nathan Trapuzzano <nbtrap <at> nbtrap.com> writes:

> Edebug would benefit from something like debug.el's
> `cancel-debug-on-entry'.  Especially after stepping through large
> functions and into other functions therefrom, it's annoying to have to
> manually re-eval them to remove the extra forms added by Edebug.

I think this sounds like a useful command -- I often find myself having
edebug-instrumented a whole bunch of functions, and having to manually
re-eval all of them is tedious.

So a command like `edebug-cancel-all-functions' would be nice, and I
looked into the bowels of edebug.el to see whether that would be
easy...  and...  I think so?

I think we basically have to go through all the symbols and see whether
any of those are edebugged, and if so, call `edebug-unwrap*' on them and
set the function definition to that?

Or is there a better way?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15843; Package emacs. (Sun, 20 Oct 2019 09:31:01 GMT) Full text and rfc822 format available.

Message #25 received at 15843 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Nathan Trapuzzano <nbtrap <at> nbtrap.com>
Cc: 15843 <at> debbugs.gnu.org
Subject: Re: bug#15843: 24.3.50; Edebug feature request
Date: Sun, 20 Oct 2019 11:30:38 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> I think we basically have to go through all the symbols and see whether
> any of those are edebugged, and if so, call `edebug-unwrap*' on them and
> set the function definition to that?

I wrote a function like that just to test, and to my surprise, it seems
to work in the test cases I had, so I installed it.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 20 Oct 2019 09:31:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 27.1, send any further explanations to 15843 <at> debbugs.gnu.org and Nathan Trapuzzano <nbtrap <at> nbtrap.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 20 Oct 2019 09:31:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 17 Nov 2019 12:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 155 days ago.

Previous Next


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