emacs-devel
[Top][All Lists]
Advanced

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

Re: Proposal: make prog2 a macro


From: Noam Postavsky
Subject: Re: Proposal: make prog2 a macro
Date: Fri, 7 Oct 2016 22:35:04 -0400

On Fri, Oct 7, 2016 at 10:12 PM, Wilfred Hughes <address@hidden> wrote:
>
>> This change will cause increased inconvenience in the Lisp debugger
>> for interpreted code.
>
> I don't see how: I've added a debug declaration so you can step
> through with edebug as normal. It's no different from `when' in this
> respect.

The "Lisp debugger" may be referring to `debug', not `edebug'. See bug
#3466 - "have `d' in debugger treat macro expansion like `c' does".
That said, I think prog2 is rare enough (a quick M-x rgrep over Emacs'
lisp code found only 66 matches vs 874 for prog1 and 8585 for progn)
that it wouldn't really matter that much.



reply via email to

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