GNU bug report logs - #24617
26.0.50; Handlers in `condition-case' should have programmatic access to the backtrace

Previous Next

Package: emacs;

Reported by: Philipp Stephani <p.stephani2 <at> gmail.com>

Date: Tue, 4 Oct 2016 16:39:02 UTC

Severity: wishlist

Found in version 26.0.50

Full log


View this message in rfc822 format

From: Helmut Eller <eller.helmut <at> gmail.com>
To: Philipp Stephani <p.stephani2 <at> gmail.com>
Cc: 24617 <at> debbugs.gnu.org
Subject: bug#24617: 26.0.50; Handlers in `condition-case' should have programmatic access to the backtrace
Date: Thu, 29 Dec 2016 10:01:48 +0100
On Wed, Dec 28 2016, Philipp Stephani wrote:

> Yes, that sounds like a good workaround, with the downside that other
> libraries might override signal-hook-function and disable that
> functionality.
> Do you know why ERT uses a custom debugger instead of
> signal-hook-function?

No. (I didn't write ERT.)  Maybe it's difficult to determine
whether/where a condition will be handled from a signal-hook-function.

>     Second, unconditionally copying the backtrace would be expensive
>
>
> Are you sure about that?

No, but I would be surprised if it were cheap.

Helmut




This bug report was last modified 8 years and 252 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.