From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#10815: counterintuitive results with process-send-string Date: Wed, 15 Feb 2012 12:00:20 +0100 Message-ID: References: <4F3B837D.4050506@inria.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1329303700 476 80.91.229.3 (15 Feb 2012 11:01:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Feb 2012 11:01:40 +0000 (UTC) Cc: 10815@debbugs.gnu.org To: Tiphaine Turpin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 15 12:01:39 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RxccE-0004Jy-W8 for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Feb 2012 12:01:39 +0100 Original-Received: from localhost ([::1]:34739 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxccE-0001oY-KB for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Feb 2012 06:01:38 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:57917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rxcc7-0001mt-P4 for bug-gnu-emacs@gnu.org; Wed, 15 Feb 2012 06:01:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rxcbx-0006wP-HG for bug-gnu-emacs@gnu.org; Wed, 15 Feb 2012 06:01:31 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37498) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rxcbx-0006wC-Fk for bug-gnu-emacs@gnu.org; Wed, 15 Feb 2012 06:01:21 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RxcdZ-0001ly-TF for bug-gnu-emacs@gnu.org; Wed, 15 Feb 2012 06:03:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Feb 2012 11:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10815 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10815-submit@debbugs.gnu.org id=B10815.13293037376762 (code B ref 10815); Wed, 15 Feb 2012 11:03:01 +0000 Original-Received: (at 10815) by debbugs.gnu.org; 15 Feb 2012 11:02:17 +0000 Original-Received: from localhost ([127.0.0.1]:41121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rxccm-0001kw-2u for submit@debbugs.gnu.org; Wed, 15 Feb 2012 06:02:17 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.10]:57783) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rxcce-0001ke-6y for 10815@debbugs.gnu.org; Wed, 15 Feb 2012 06:02:09 -0500 Original-Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3853018002EB; Wed, 15 Feb 2012 12:00:21 +0100 (CET) X-Auth-Info: jP0oq36JbKkHxZA0M/X36/YQD9sMaH9216upu3RtPcY= Original-Received: from igel.home (ppp-93-104-147-89.dynamic.mnet-online.de [93.104.147.89]) by mail.mnet-online.de (Postfix) with ESMTPA id 626781C00123; Wed, 15 Feb 2012 12:00:21 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 501) id A63DBCA29E; Wed, 15 Feb 2012 12:00:20 +0100 (CET) X-Yow: I know how to do SPECIAL EFFECTS!! In-Reply-To: <4F3B837D.4050506@inria.fr> (Tiphaine Turpin's message of "Wed, 15 Feb 2012 11:05:49 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:56914 Archived-At: Tiphaine Turpin 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."