On 07/23/2016 08:37 PM, Stefan Monnier wrote: > Haven't looked in detail, but it looks OK. Thanks, I installed it in 'master' and am marking this as done. > > A further patch could change the new `quit' function so it checks > debug-on-quit, and either calls the debugger or calls Fsignal. This way > we don't need the intermediate signal_or_quit function. I tried something along those lines (see attached), but wasn't convinced that the result was correct (there are a lot of flags flying around), and my patch would cause quits to traverse the handler list twice, which seems inelegant.