[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20074: edebug tracing can't be stopped with 'S'
From: |
Stefan Monnier |
Subject: |
bug#20074: edebug tracing can't be stopped with 'S' |
Date: |
Fri, 13 Mar 2015 09:20:52 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> (defun forever () (interactive) (while t (message "doing nothing")))
> i have occasionally accidentally written ELisp i feel is analogous: to wit,
> code that doesn't need to wait for relatively 'slow' events, such as disk IO
> or user input.
In this case, "message" is a "slow event" which does I/O, so it's a bad
example, but I see what you mean.
> On those occasions, Emacs itself has become unresponsive to any of my
> attempts at input, and i've had to terminate the Emacs process itself.
Normally this should never happen. In practice there are various cases
where this can happen for two reasons:
- A bug. Some of those can be difficult to fix, tho.
- `inhibit-quit' is non-nil while running this inf-loop. In this case,
indeed, it's usually a bug in the Elisp code rather than in the
C code: code that runs with inhibit-quit (e.g. code run from a timer)
should be careful to avoid long run-times. This isn't great, but it's
what we have so far.
Stefan
- bug#20074: edebug tracing can't be stopped with 'S', Mario Valencia, 2015/03/10
- bug#20074: edebug tracing can't be stopped with 'S', Eli Zaretskii, 2015/03/11
- Message not available
- bug#20074: Fwd: bug#20074: edebug tracing can't be stopped with 'S', Mario Valencia, 2015/03/11
- bug#20074: edebug tracing can't be stopped with 'S', Mario Valencia, 2015/03/11
- bug#20074: edebug tracing can't be stopped with 'S', Mario Valencia, 2015/03/13
- bug#20074: edebug tracing can't be stopped with 'S', Alexis, 2015/03/13
- bug#20074: edebug tracing can't be stopped with 'S', Eli Zaretskii, 2015/03/13
- bug#20074: edebug tracing can't be stopped with 'S', Alexis, 2015/03/13
- bug#20074: edebug tracing can't be stopped with 'S',
Stefan Monnier <=
- bug#20074: edebug tracing can't be stopped with 'S', Alexis, 2015/03/13
- bug#20074: edebug tracing can't be stopped with 'S', Mario Valencia, 2015/03/14
Message not available
Message not available
Message not available