emacs-devel
[Top][All Lists]
Advanced

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

Re: New(?) idea for making backtraces usable: condition-case*


From: Eli Zaretskii
Subject: Re: New(?) idea for making backtraces usable: condition-case*
Date: Thu, 20 Jul 2023 07:41:57 +0300

> Date: Wed, 19 Jul 2023 20:35:06 +0000
> Cc: emacs-devel@gnu.org
> From: Alan Mackenzie <acm@muc.de>
> 
> >   . setting debug-on-signal non-nil
> >   . using 'debug' among the condition-case's conditions
> >   . using condition-case-unless-debug
> 
> Maybe not very much.
> 
> I've tried using debug-on-signal, but it triggers just too often to be
> helpful.
> 
> I didn't know that one can usefully put `debug' in a condition-case
> condition (which is what condition-case-unless-debug does).  So, thanks
> for the education!
> 
> But we only have 33 uses of condition-case-unless-debug as against 1661
> of condition-case.  There're probably a lot of the latter that could
> usefully be changed into the former.

Right, but then we have zero uses of condition-case* ;-)

> Anyhow, I withdraw my proposal for condition-case*.

Understood.



reply via email to

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