From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Alexis <flexibeast@gmail.com>
Cc: 20074@debbugs.gnu.org
Subject: bug#20074: edebug tracing can't be stopped with 'S'
Date: Fri, 13 Mar 2015 09:20:52 -0400 [thread overview]
Message-ID: <jwvsid9qbor.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <87egot9lhz.fsf@gmail.com> (Alexis's message of "Fri, 13 Mar 2015 22:37:12 +1100")
> (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
next prev parent reply other threads:[~2015-03-13 13:20 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-10 20:42 bug#20074: edebug tracing can't be stopped with 'S' Mario Valencia
2015-03-11 16:24 ` Eli Zaretskii
[not found] ` <CA+3HrJXsgWHQG_6zk2vNXzEaqT8w-5-cw26fkLYH0xQXmk=nSQ@mail.gmail.com>
2015-03-11 16:28 ` bug#20074: Fwd: " Mario Valencia
2015-03-11 16:30 ` Mario Valencia
2015-03-13 9:36 ` Mario Valencia
2015-03-13 10:19 ` Alexis
2015-03-13 11:07 ` Eli Zaretskii
2015-03-13 11:37 ` Alexis
2015-03-13 13:20 ` Stefan Monnier [this message]
2015-03-13 14:02 ` Alexis
2015-03-14 18:49 ` Mario Valencia
[not found] ` <mailman.2024.1426359010.31049.bug-gnu-emacs@gnu.org>
2015-03-15 16:06 ` Alan Mackenzie
2015-03-15 20:36 ` Stefan Monnier
2015-03-15 21:31 ` Alan Mackenzie
[not found] ` <mailman.2056.1426435627.31049.bug-gnu-emacs@gnu.org>
2015-03-15 19:55 ` Alan Mackenzie
2015-03-16 3:12 ` Stefan Monnier
2015-03-16 11:38 ` Alan Mackenzie
2015-03-16 13:11 ` Stefan Monnier
[not found] ` <mailman.1823.1426020966.31049.bug-gnu-emacs@gnu.org>
2015-03-16 22:21 ` Alan Mackenzie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvsid9qbor.fsf-monnier+emacsbugs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=20074@debbugs.gnu.org \
--cc=flexibeast@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.