[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10815: counterintuitive results with process-send-string
From: |
Andreas Schwab |
Subject: |
bug#10815: counterintuitive results with process-send-string |
Date: |
Wed, 15 Feb 2012 12:00:20 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) |
Tiphaine Turpin <tiphaine.turpin@inria.fr> writes:
> It seems that process-send-string,although it is blocking (until sent data
> is acknowledged), may allow execution of other code (which in this case
> calls process-send-string again). This seems to be allowed by its
> specification: "Output from processes can arrive in between bunches.",
> except that in my setting, I am almost sure than no input can be available
> at this moment, at least from this connection. In fact, the calls to
> process-send-string are initiated by after-modify hooks, originating from
> a single user command (which performs several modifications).
wait_reading_process_output can run timers.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."