emacs-devel
[Top][All Lists]
Advanced

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

Re: Should debug-on-quit becomes t after kill -SIGUSR2?


From: Stefan Monnier
Subject: Re: Should debug-on-quit becomes t after kill -SIGUSR2?
Date: Tue, 03 Jul 2012 09:51:48 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

>> I start using this new debug-on-event a bit and I find the side effect
>> of permanently changing debug-on-quit to t annoying. Is it intentional?
> It's intention in the sense that that's how it was intended to work,
> but that's because the feature is designed to bring you to the
> debugger no matter what, and as a last resort. Maybe we can set a
> timer to undo the change to the variable once we break into the debugger.

Or rather than a timer, we could define that a special value
(e.g. `once') for debug-on-quit means that it is reset to nil after we
enter the debugger.


        Stefan



reply via email to

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