[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Blocking call to accept-process-output with quit inhibited!!
From: |
Stefan Monnier |
Subject: |
Re: Blocking call to accept-process-output with quit inhibited!! |
Date: |
Fri, 21 Jun 2013 10:54:01 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> * comint.el (comint-redirect-results-list-from-process): Fix random
> delay.
> I am seeing "Blocking call to accept-process-output with quit
> inhibited!!" from time to time.
> How does this mean?
Just what it says: a call to accept-process-output was done at a time
when quit is inhibited, and the call can block, thus rendering Emacs
completely unresponsive.
> I can't see where comint has inhibited quit.
quit is inhibited when running timers, process-filters and other
such asynchronous events.
So comint doesn't need to inhibit-quit itself for such a warning to show
up, if its code is executed from a process-filter.
Try to figure out how/when a process-filter (or timer...) can end up
running the while + accept-process-output loop, and then think about
whether that really should happen, and if so make sure the
process-filter (or timer...) uses with-local-quit before running
that loop.
Stefan