From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Samer Masterson Newsgroups: gmane.emacs.bugs Subject: bug#12689: 24.2; Eshell ${cmd} substitution Date: Tue, 24 Feb 2015 02:56:12 -0800 Message-ID: <1424775372.11596.6@mail.samertm.com> References: <87wqyl1sa6.fsf@dimension8.tehua.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=-MqMClZe9Hfn7SHT0rq/R" X-Trace: ger.gmane.org 1424775447 6567 80.91.229.3 (24 Feb 2015 10:57:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Feb 2015 10:57:27 +0000 (UTC) To: 12689@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 24 11:57:15 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YQDAw-0004G3-IJ for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Feb 2015 11:57:14 +0100 Original-Received: from localhost ([::1]:48647 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQDAw-0003Dw-22 for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Feb 2015 05:57:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQDAo-0003Cy-Um for bug-gnu-emacs@gnu.org; Tue, 24 Feb 2015 05:57:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQDAk-0003lw-6B for bug-gnu-emacs@gnu.org; Tue, 24 Feb 2015 05:57:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52715) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQDAk-0003lq-2a for bug-gnu-emacs@gnu.org; Tue, 24 Feb 2015 05:57:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YQDAj-0003IV-MY for bug-gnu-emacs@gnu.org; Tue, 24 Feb 2015 05:57:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87wqyl1sa6.fsf@dimension8.tehua.net> Resent-From: Samer Masterson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Feb 2015 10:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12689 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12689-submit@debbugs.gnu.org id=B12689.142477538812627 (code B ref 12689); Tue, 24 Feb 2015 10:57:01 +0000 Original-Received: (at 12689) by debbugs.gnu.org; 24 Feb 2015 10:56:28 +0000 Original-Received: from localhost ([127.0.0.1]:56313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YQDAB-0003HZ-7E for submit@debbugs.gnu.org; Tue, 24 Feb 2015 05:56:27 -0500 Original-Received: from ec2-52-0-7-12.compute-1.amazonaws.com ([52.0.7.12]:60137 helo=samertm.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YQDA8-0003HL-Rd for 12689@debbugs.gnu.org; Tue, 24 Feb 2015 05:56:25 -0500 Original-Received: from [10.1.10.35] (c-98-210-154-226.hsd1.ca.comcast.net [98.210.154.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by samertm.com (Postfix) with ESMTPSA id A648142D27 for <12689@debbugs.gnu.org>; Tue, 24 Feb 2015 10:56:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samertm.com; s=mail; t=1424775372; bh=qehotZQxsjxGWq46CWdKsr9WRkSqL9w5kJ32w/pu3JY=; h=Date:From:Subject:To:From; b=PlDjU/rF1urTk+Zuyx95ZmhfPLri840BePkzAFGScp5HfD1wjv4qV8Lj2fVJ4VJHR LM5GIMMgB8kwfP4JGYseQg5Nfz+Hf9wMwtBdvJb/cALCfKwI0lseMXhbsM+L+jpsvN ZTMMOu9EJ6IJebTw+diGXY/udDaiqax0m7gL05c0= X-Mailer: geary/0.8.3 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:99761 Archived-At: --=-MqMClZe9Hfn7SHT0rq/R Content-Type: text/plain; charset=utf-8; format=flowed Hi, My copyright papers have been processed. Can we apply this to master? Best, Samer Changes from HEAD to working tree 2 files changed, 6 insertions(+), 1 deletion(-) lisp/ChangeLog | 5 +++++ lisp/eshell/esh-cmd.el | 2 +- Modified lisp/ChangeLog diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 45ba279..aa00661 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2014-12-14 Samer Masterson samertm.com> + + * eshell/esh-cmd.el (eshell-plain-command): Wait for subprocess to + finish before evaluating command (bug#12680). + 2014-11-28 Martin Rudalics gmx.at> Fix two issues around help-window-select. (Bug#11039) (Bug#19012) Modified lisp/eshell/esh-cmd.el diff --git a/lisp/eshell/esh-cmd.el b/lisp/eshell/esh-cmd.el index d20b66a..f17aa41 100644 --- a/lisp/eshell/esh-cmd.el +++ b/lisp/eshell/esh-cmd.el @@ -1241,7 +1241,7 @@ or an external command." (or esym eshell-prefer-lisp-functions (not (eshell-search-path command)))) (eshell-lisp-command sym args) - (eshell-external-command command args)))) + (eshell-wait-for-process (eshell-external-command command args))))) (defun eshell-exec-lisp (printer errprint func-or-form args form-p) "Execute a lisp FUNC-OR-FORM, maybe passing ARGS. --=-MqMClZe9Hfn7SHT0rq/R Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hi,

My copyright papers have been processed. = Can we apply this to master?

Best,
Samer=

Changes from HEAD to working tree
2 fil= es changed, 6 insertions(+), 1 deletion(-)
 lisp/ChangeLog &= nbsp;       |    5 +++++
 lisp/eshe= ll/esh-cmd.el |    2 +-

Modified   lisp/Chang= eLog
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index= 45ba279..aa00661 100644
--- a/lisp/ChangeLog
+++ b/lis= p/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-14  Samer Mas= terson  <samer <at> samertm.com>
+
+ * eshell/esh= -cmd.el (eshell-plain-command): Wait for subprocess to
+ finish before evalu= ating command (bug#12680).
+
 2014-11-28  Mar= tin Rudalics  <rudalics <at> gmx.at>

<= div>  = Fix two issues around help-window-select.  (Bug#11039) (Bug#19012)
Mod= ified   lisp/eshell/esh-cmd.el
diff --git a/lisp/eshell/esh-= cmd.el b/lisp/eshell/esh-cmd.el
index d20b66a..f17aa41 100644
--- a/lisp/eshell/esh-cmd.el
+++ b/lisp/eshell/esh-cmd.el<= /div>
@@ -1241,7 +1241,7 @@ or an external command."
    &nbs= p; (or esym eshell-prefer-lisp-functions
  (not (eshell-search-path c= ommand))))
  (eshell-lisp-command sym args)
-     &= nbsp;(eshell-external-command command args))))
+     &n= bsp;(eshell-wait-for-process (eshell-external-command command 
args)))))

 (defun eshell-exec-lisp (printe= r errprint func-or-form args form-p)
   "Execute a lisp= FUNC-OR-FORM, maybe passing ARGS.
= --=-MqMClZe9Hfn7SHT0rq/R--