help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a way to instrument for edebug a form (say, a progn) given


From: Marcin Borkowski
Subject: Re: Is there a way to instrument for edebug a form (say, a progn) given to `eval'?
Date: Mon, 04 Jan 2016 23:30:45 +0100
User-agent: mu4e 0.9.13; emacs 25.1.50.1


On 2015-12-30, at 18:29, Michael Heerdegen <address@hidden> wrote:

> Marcin Borkowski <address@hidden> writes:
>
>> the subject says it all.  And please don't tell me that eval is evil;
>> that I know, in fact, I'm asking partly to gather some arguments;-).
>
> I you hit C-u C-M-x over a form in a buffer that is not a definition, it
> is evaluated with edebug.
>
> If that's not what you mean, I don't understand the question.

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.

> Regards,
>
> Michael.

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



reply via email to

[Prev in Thread] Current Thread [Next in Thread]