emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] emacs-25 db436e9: Don't call debug on failed cl-assert


From: Clément Pit--Claudel
Subject: Re: [Emacs-diffs] emacs-25 db436e9: Don't call debug on failed cl-assert
Date: Fri, 27 Jan 2017 20:16:42 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

On 2016-11-08 19:55, Noam Postavsky wrote:
> [...] Meanwhile, I've pushed the (funcall debugger...) solution to 
> emacs-25 since that is less of a change vs 25.1 than what's there 
> currently.

Hi Noam and Stefan,

Given the current implementation, how does one catch a failed assertion in a 
condition-case block (when debug-on-error is true)?  If there is no easy way, 
could we add a defvar to make this behavior of cl-assertion-failed (calling the 
debugger directly) optional?

(The broader context is that I'm trying to log all errors produced by an Emacs 
server that doesn't have a terminal to write to, and I can't easily catch 
failed assertions.)

Thanks!
Clément.

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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