From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: amd@gnu.org: eshell and external commands Date: Tue, 16 Oct 2007 11:38:31 -0400 Message-ID: <871wbvm5mw.fsf@stupidchicken.com> 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: ger.gmane.org 1192549200 8673 80.91.229.12 (16 Oct 2007 15:40:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Oct 2007 15:40:00 +0000 (UTC) Cc: "Alfred M. Szmidt" , rms@gnu.org, emacs-devel@gnu.org To: John Wiegley Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 16 17:40:00 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 1IhoWS-0005tw-J0 for ged-emacs-devel@m.gmane.org; Tue, 16 Oct 2007 17:39:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhoWL-0000dQ-7o for ged-emacs-devel@m.gmane.org; Tue, 16 Oct 2007 11:39:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IhoVc-00087M-I4 for emacs-devel@gnu.org; Tue, 16 Oct 2007 11:39:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IhoVZ-00082B-RN for emacs-devel@gnu.org; Tue, 16 Oct 2007 11:39:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhoVZ-00081y-L3 for emacs-devel@gnu.org; Tue, 16 Oct 2007 11:39:01 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IhoVU-0007vD-1b; Tue, 16 Oct 2007 11:38:56 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 4927C4E3A5; Tue, 16 Oct 2007 11:38:31 -0400 (EDT) In-Reply-To: (John Wiegley's message of "Thu\, 09 Aug 2007 13\:18\:13 -0600") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 1) 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:81010 Archived-At: John Wiegley writes: > 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. Hi John, Any further thoughts on this problem?