unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: 53331@debbugs.gnu.org
Subject: bug#53331: 29.0.50; eval-defun doesn't respect edebug-all-defs
Date: Wed, 19 Jan 2022 01:30:12 +0100	[thread overview]
Message-ID: <877dawefe3.fsf@web.de> (raw)
In-Reply-To: <87fspl8m5x.fsf@igel.home> (Andreas Schwab's message of "Tue, 18 Jan 2022 09:48:10 +0100")

Andreas Schwab <schwab@linux-m68k.org> writes:

> > For `eval-defun' this isn't the case: Any defun is not instrumented
> > after enabling `edebug-all-defs' and hitting C-M-x.
>
> There is an advice around eval-defun once edebug is loaded.

Ah - thanks, I had missed that.

So the problem is that when you enable edebug-all-defs but don't
explicitly load edebug, the advice is not yet installed and thus
`eval-defun' does not instrument.

I guess what we really want is to get rid of the advices altogether, so
it's not worth to add another hack to support this corner case.

Thanks,

Michael.





  reply	other threads:[~2022-01-19  0:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-17 23:48 bug#53331: 29.0.50; eval-defun doesn't respect edebug-all-defs Michael Heerdegen
2022-01-18  8:48 ` Andreas Schwab
2022-01-19  0:30   ` Michael Heerdegen [this message]
2022-01-21 11:26     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877dawefe3.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=53331@debbugs.gnu.org \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).