emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Unconditional quit on SIGUSR2


From: Daniel Colascione
Subject: Re: [PATCH] Unconditional quit on SIGUSR2
Date: Mon, 25 Apr 2011 02:33:22 -0700
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9

On 4/25/11 2:23 AM, address@hidden wrote:
> Daniel Colascione <address@hidden> writes:
> 
>> On 3/29/11 10:55 AM, Daniel Colascione wrote:
>>>
>>> Below is another version of the patch.  I've changed the code so that we
>>> instead inspect a new debug-on-special-event variable, which by default
>>> is the symbol sigusr2.  This way, we can extend the mechanism and use
>>> another kind of special event for platforms that lack signals.
>>>
>>
>> Does anyone have any strong objections to merging this patch?
> 
> I haven't used your patch but I often feel the need to be able to
> interrupt an Emacs that does not respond for some reason. If your patch
> gives me another tool to try in those cases, I would be very interested
> in having it applied to trunk.

I'll apply it to the trunk then.

> Would it be possible also to have some "run level 1" functionality? That
> is, when the signal is sent, Emacs disables timers, font-lock etc...

I don't think these features can be safely disabled from within a signal
handler, but it should be possible to that work when Emacs pops up into
the debugger.  The "run level 1" functionality seems more general, and
I'd like to focus this change on simply entering the debugger itself.


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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