emacs-devel
[Top][All Lists]
Advanced

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

Re: Random idea: Debugging `quit'


From: Antoine Levitt
Subject: Re: Random idea: Debugging `quit'
Date: Sun, 11 Sep 2011 16:38:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

11/09/11 09:58, Andreas Schwab
> Lars Magne Ingebrigtsen <address@hidden> writes:
>
>> So wouldn't it be nice if we could say, for instance, `C-u C-g' to get a
>> debugging `quit'?  Or perhaps `C-u 6 6 6 C-g', or whatever deemed
>> necessary to avoid annoying people...
>
> That's really hard to do since quit-char is very special.  It can only
> be a single character and it is handled very low in the keyboard
> handler.
>
> Andreas.

Is it feasible to instead add a third value to debug-on-quit that'd only
popup a debug window if emacs isn't waiting on user input? So
"problematic" uses of C-g (break out of an infinite loop, or external
process) would run the debugger, but C-x C-f C-g wouldn't.




reply via email to

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