From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: amd@gnu.org: eshell and external commands Date: Thu, 09 Aug 2007 13:18:13 -0600 Message-ID: References: <87zm11iqlv.fsf@stupidchicken.com> <873aysr987.fsf@stupidchicken.com> <87fy2sedjd.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1186687151 6742 80.91.229.12 (9 Aug 2007 19:19:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Aug 2007 19:19:11 +0000 (UTC) Cc: "Alfred M. Szmidt" , rms@gnu.org, emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 09 21:19:07 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 1IJDXG-0003xa-KW for ged-emacs-devel@m.gmane.org; Thu, 09 Aug 2007 21:19:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IJDXF-0005oA-MV for ged-emacs-devel@m.gmane.org; Thu, 09 Aug 2007 15:19:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IJDXC-0005nC-7f for emacs-devel@gnu.org; Thu, 09 Aug 2007 15:19:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IJDXA-0005mc-Q8 for emacs-devel@gnu.org; Thu, 09 Aug 2007 15:19:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IJDXA-0005mZ-MQ for emacs-devel@gnu.org; Thu, 09 Aug 2007 15:19:00 -0400 Original-Received: from fyodor.hcoop.net ([64.20.38.170]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IJDX2-00064a-Ti; Thu, 09 Aug 2007 15:18:53 -0400 Original-Received: from 71-214-59-49.clsp.qwest.net ([71.214.59.49] helo=Hermes.localhost) by fyodor.hcoop.net with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1IJDYN-0002FM-Pn; Thu, 09 Aug 2007 15:20:16 -0400 Original-Received: by Hermes.localhost (Postfix, from userid 501) id AFD2136C613; Thu, 9 Aug 2007 13:18:13 -0600 (MDT) In-Reply-To: <87fy2sedjd.fsf@stupidchicken.com> (Chong Yidong's message of "Thu\, 09 Aug 2007 15\:03\:18 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin) X-Detected-Kernel: Linux 2.4-2.6 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:76265 Archived-At: Chong Yidong writes: > This code would need to prevent the eshell prompt from being emitted until > the external process is complete, like how the 'eshell-defer mechanism works > in eshell-resume-eval for "normal" external commands. However, I don't know > eshell well enough to make this work. I tried adding the return value of > eshell-external-command to eshell-last-async-proc but that doesn't work for > some reason. Do you know what needs to be done to make it work? Ok, I have to give this some serious thought, which I cannot do just now because I'm about to move to Grenada. After a week or so has gone by and I've settled in, then I can focus enough to find the right answer. John