all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Marcin Borkowski <mbork@mbork.pl>,
	Michael Heerdegen <michael_heerdegen@web.de>
Cc: help-gnu-emacs@gnu.org
Subject: RE: Is there a way to instrument for edebug a form (say, a progn) given to `eval'?
Date: Mon, 4 Jan 2016 14:58:12 -0800 (PST)	[thread overview]
Message-ID: <66c6624a-4dea-4d1d-8c62-7eae109adfc5@default> (raw)
In-Reply-To: <87mvslrn8q.fsf@mbork.pl>

> OK, so try C-u C-M-x with this form:
> (eval '(progn (message "foo") (message "bar")))
> and see how Edebug doesn't step into the progn.
> 
> I suspect that it's impossible to actually edebug the `progn' form here,
> I just would like to make sure.

Well, as I said earlier, you can at least do this:

(progn
  (debug)
  (eval '(progn (message "foo") (message "bar"))))

or this:

(eval '(progn (debug) (message "foo") (message "bar")))




  reply	other threads:[~2016-01-04 22:58 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-30 12:35 Is there a way to instrument for edebug a form (say, a progn) given to `eval'? Marcin Borkowski
2015-12-30 17:11 ` Drew Adams
2015-12-30 17:29 ` Michael Heerdegen
2016-01-04 22:30   ` Marcin Borkowski
2016-01-04 22:58     ` Drew Adams [this message]
2016-01-05  9:26       ` Marcin Borkowski
2016-01-04 23:26     ` Michael Heerdegen
2016-01-05  9:16       ` Marcin Borkowski
2016-01-05 20:00         ` Michael Heerdegen
2016-01-05 20:08           ` Marcin Borkowski
2016-01-05  4:41     ` Stefan Monnier
2016-01-05  9:04       ` Marcin Borkowski
2016-01-05 12:43         ` Stefan Monnier
2016-01-01 13:48 ` Thorsten Jolitz
2016-01-01 14:22   ` Stefan Monnier
2016-01-01 15:59     ` Thorsten Jolitz
2016-01-02 17:39       ` Stefan Monnier

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

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

  git send-email \
    --in-reply-to=66c6624a-4dea-4d1d-8c62-7eae109adfc5@default \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=mbork@mbork.pl \
    --cc=michael_heerdegen@web.de \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.