From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Proposal for shell completion in M-x shell RET Date: Mon, 10 Sep 2007 19:55:43 -0400 Message-ID: References: <86r6l67kqf.fsf@lola.quinscape.zz> <86642i4lp9.fsf@lola.quinscape.zz> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1189470018 13190 80.91.229.12 (11 Sep 2007 00:20:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Sep 2007 00:20:18 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 11 10:20:05 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IV0gn-0005IO-N0 for ged-emacs-devel@m.gmane.org; Tue, 11 Sep 2007 10:01:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUtCR-0004mD-7v for ged-emacs-devel@m.gmane.org; Mon, 10 Sep 2007 20:01:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IUt6u-0001fV-62 for emacs-devel@gnu.org; Mon, 10 Sep 2007 19:56:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IUt6t-0001fC-Kr for emacs-devel@gnu.org; Mon, 10 Sep 2007 19:56:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUt6t-0001f5-D7 for emacs-devel@gnu.org; Mon, 10 Sep 2007 19:56:07 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IUt6t-000777-3v for emacs-devel@gnu.org; Mon, 10 Sep 2007 19:56:07 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IUt6V-00012J-GK; Mon, 10 Sep 2007 19:55:43 -0400 In-reply-to: <86642i4lp9.fsf@lola.quinscape.zz> (message from David Kastrup on Mon, 10 Sep 2007 16:52:18 +0200) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:78522 Archived-At: Maybe this can help on some platforms? process-running-child-p is a built-in function in `C source code'. (process-running-child-p &optional PROCESS) I think it is not reliable to use this, because input is ansynchronous.