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: Eli Zaretskii
Subject: Re: Proposal: make prog2 a macro
Date: Sat, 08 Oct 2016 09:11:09 +0300

> From: Noam Postavsky <address@hidden>
> Date: Fri, 7 Oct 2016 22:35:04 -0400
> Cc: emacs-devel <address@hidden>, Tino Calancha <address@hidden>
> 
> 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.

Sorry, but I don't find that small number to be negligible.  Debugging
Emacs Lisp code in core is already too hard; e.g., too frequently I
need to resort to "printf debugging".  I object to any further
difficulties in this area, so if we want to make this a macro, that
bug needs to be fixed first.

In any case, this issue is no more than a nice-to-have, whereas
debugging difficulties are much more important to solve, for a project
which long ago entered the maintenance phase of its life cycle.

Thanks.



reply via email to

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