emacs-devel
[Top][All Lists]
Advanced

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

Re: Should 'signal' sometimes return?


From: Paul Eggert
Subject: Re: Should 'signal' sometimes return?
Date: Fri, 22 Jul 2016 14:12:29 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

On 07/21/2016 05:43 PM, Stefan Monnier wrote:
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.

As I understand it, the debug-on-quit support is intended to catch the user typing C-g, as opposed to altering code that calls 'signal' so that it returns. If so, how about keeping the current approach for C-g, and merely changing 'signal' itself so that it does not return? I wrote a new patch to do that, and will send it to Bug#24047.




reply via email to

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