From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.bugs Subject: bug#12689: 24.2; Eshell ${cmd} substitution Date: Sun, 05 Apr 2015 23:19:42 -0500 Message-ID: References: <1424775372.11596.6@mail.samertm.com> <83bnkaqdp9.fsf@gnu.org> <1425471247.1450.2@mail.samertm.com> <83ioegpsrt.fsf@gnu.org> <1425551640.2108.1@mail.samertm.com> <1428291664.14271.0@mail.samertm.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1428294029 25452 80.91.229.3 (6 Apr 2015 04:20:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 Apr 2015 04:20:29 +0000 (UTC) Cc: 12689@debbugs.gnu.org To: Samer Masterson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 06 06:20: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 1YeyWC-0008PD-Sx for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Apr 2015 06:20:13 +0200 Original-Received: from localhost ([::1]:38275 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YeyWC-0001mP-38 for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Apr 2015 00:20:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YeyW5-0001l6-Nw for bug-gnu-emacs@gnu.org; Mon, 06 Apr 2015 00:20:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YeyW2-0004QP-J5 for bug-gnu-emacs@gnu.org; Mon, 06 Apr 2015 00:20:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55981) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YeyW2-0004Ph-G3 for bug-gnu-emacs@gnu.org; Mon, 06 Apr 2015 00:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YeyW1-0005gr-Tt for bug-gnu-emacs@gnu.org; Mon, 06 Apr 2015 00:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: John Wiegley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Apr 2015 04:20: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.142829399321846 (code B ref 12689); Mon, 06 Apr 2015 04:20:01 +0000 Original-Received: (at 12689) by debbugs.gnu.org; 6 Apr 2015 04:19:53 +0000 Original-Received: from localhost ([127.0.0.1]:45757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeyVt-0005gH-5M for submit@debbugs.gnu.org; Mon, 06 Apr 2015 00:19:53 -0400 Original-Received: from mail-ig0-f178.google.com ([209.85.213.178]:33544) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeyVr-0005g0-GP for 12689@debbugs.gnu.org; Mon, 06 Apr 2015 00:19:51 -0400 Original-Received: by ignm3 with SMTP id m3so13359699ign.0 for <12689@debbugs.gnu.org>; Sun, 05 Apr 2015 21:19:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mime-version:content-type; bh=LEp3o4w6fQ+xfKYuh/QTt7Rt/S/RgbHF7z2wTkKNHcU=; b=vumk4NokyoIwQrhvgDxrO1AblBsDigle7zZRUDYa/rZEOpbdDadZ///d6imy8IV2az 0ulzKsh5Rr5pnIex/a2Ht0Dqpc6vE7tsx2rbgyQK17A4XyP5yeU/8JL++t4xHuL/Eccr VQBnITtFYeyeu+MoOZBX0m9tBlH/g/os+zRR/KiCan2dPoI8CX38Efow387m+saT05hI u0GqY9/lG6JjTuPNS0ZBIOoraUq7trcaAqAMXQyZkm1CZ5SNFz0GhaC8od3EcY4bhmtb fgfeltOiI3FETdQpUBpRW91BQW6wIw+Gih6MaSwKA9FMHkptpi1hdRmn+Y/euh+uRVur aD7Q== X-Received: by 10.50.111.233 with SMTP id il9mr20213200igb.13.1428293985875; Sun, 05 Apr 2015 21:19:45 -0700 (PDT) Original-Received: from Vulcan.local (c-98-214-120-98.hsd1.il.comcast.net. [98.214.120.98]) by mx.google.com with ESMTPSA id y9sm2206157igl.6.2015.04.05.21.19.44 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 05 Apr 2015 21:19:44 -0700 (PDT) Original-Received: by Vulcan.local (Postfix, from userid 501) id DC9F98783A94; Sun, 5 Apr 2015 23:19:43 -0500 (CDT) In-Reply-To: <1428291664.14271.0@mail.samertm.com> (Samer Masterson's message of "Sun, 05 Apr 2015 20:41:04 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (darwin) 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:101224 Archived-At: >>>>> Samer Masterson writes: > So I need to figure out a couple things in order to unblock myself: - how > eshell knows to wait for other external processes (excluding > eshell-wait-for-process), and whether that can be used at command-level > granularity. E.g. for "cmd ${ext_cmd0} | ext_cmd1", the entire process needs > to wait for both sides of the pipe to finish, and "cmd" needs to wait for > "ext_cmd0" to finish before executing). "cmd ${ext_cmd0}" also shouldn't > lock Emacs. - where the entry point is for the command prompt, and how the > command prompt is reset after a set of commands finishes. > I've cc'd johnw because he might know the answer to the above questions, and > what the correct approach to fixing this should be. I'll return to this when > I've learned more about how eshell works. I don't really know the answer anymore (Eshell is 16 years old now!), but I'm wondering what the rationale is for making this change? Anything that messes with the way sub-processes are handled should be treated with extreme care. John