[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Should 'signal' sometimes return?
From: |
Stefan Monnier |
Subject: |
Re: Should 'signal' sometimes return? |
Date: |
Thu, 21 Jul 2016 11:43:11 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> Bug#24047 proposes changing Elisp's 'signal' function to not
> return. Although this has been the documented behavior for decades,
> apparently there has been a back door in 'signal' for nearly as long, which
> causes 'signal' to return sometimes under control of the Elisp debugger. The
> proposal is to remove this backdoor. If this proposed change to Emacs would
> cause problems for you, please send email to address@hidden Thanks.
There's indeed one back-door, which is that Fsignal can return from
a `quit' signal. This is part of the support for debug-on-quit and
I wouldn't want to lose this.
I agree that the current situation is unsatisfactory.
Stefan