From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#46351: 28.0.50; Add convenient way to bypass Eshell's own pipelining Date: Mon, 27 Dec 2021 21:35:40 +0200 Message-ID: <83bl11n8mr.fsf@gnu.org> References: <87r19xaoqe.fsf@gmx.de> <878s812c6a.fsf@melete.silentflame.com> <87eehsz170.fsf@gmx.de> <874kin1z2x.fsf@melete.silentflame.com> <87ft26etuh.fsf@gmx.de> <87tuex1yzo.fsf@melete.silentflame.com> <87czlkbxnh.fsf@gmx.de> <87ee601ey0.fsf@melete.silentflame.com> <871r1yaz36.fsf@gmx.de> <87y245zzjq.fsf@melete.silentflame.com> <83fsqdnc0o.fsf@gnu.org> <87o851zwdq.fsf@melete.silentflame.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27878"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 46351@debbugs.gnu.org, michael.albinus@gmx.de To: Sean Whitton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 27 20:36:39 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n1vnR-00072U-O6 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Dec 2021 20:36:37 +0100 Original-Received: from localhost ([::1]:47288 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n1vnQ-0008RI-QZ for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Dec 2021 14:36:36 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37128) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1vms-0008Ay-Tb for bug-gnu-emacs@gnu.org; Mon, 27 Dec 2021 14:36:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60991) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n1vms-0005ko-Jd for bug-gnu-emacs@gnu.org; Mon, 27 Dec 2021 14:36:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n1vms-0006O8-DG for bug-gnu-emacs@gnu.org; Mon, 27 Dec 2021 14:36:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Dec 2021 19:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46351 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 46351-submit@debbugs.gnu.org id=B46351.164063375324536 (code B ref 46351); Mon, 27 Dec 2021 19:36:02 +0000 Original-Received: (at 46351) by debbugs.gnu.org; 27 Dec 2021 19:35:53 +0000 Original-Received: from localhost ([127.0.0.1]:44304 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1vmi-0006Nf-Rx for submit@debbugs.gnu.org; Mon, 27 Dec 2021 14:35:53 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1vme-0006NQ-Po for 46351@debbugs.gnu.org; Mon, 27 Dec 2021 14:35:51 -0500 Original-Received: from [2001:470:142:3::e] (port=39166 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1vmZ-0005ha-Gl; Mon, 27 Dec 2021 14:35:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=zBFpQ7dmvmD132zfv6c9wZ9dqL0SdGI458xFRsGvN8w=; b=PQv1daogLi7A MJCLgluYCUgTEthsrT4gW+yDVx8yOUvJasyFkilThlFi3oqGeHI+fhH2YdB/rCaOdg1aYTmysVHzj xandy7S0JTk3ahpWsMcKJb7qknV7sO5zzWi8nV6WnnjwoUhcd4y24aUHGW7OZ1+oE3TOrWrtPXjj6 YwTbm26godQqLsbjsQD2IdKkyx1bRTi+auMD72huYxPEexkavItxO+uNj30C1Zq06g84Py0W7k4rL mu8wCfmWiHt3R7tkPJxiMN43FlaXX1Q+mcunxq33J9LcZ3SEETQNhudplbmVQgo//4BDnkJu1QYr2 bG289oBSQddJU+IwYCZYFw==; Original-Received: from [87.69.77.57] (port=4190 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1vmZ-0005Wi-Ec; Mon, 27 Dec 2021 14:35:43 -0500 In-Reply-To: <87o851zwdq.fsf@melete.silentflame.com> (message from Sean Whitton on Mon, 27 Dec 2021 12:21:53 -0700) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:223212 Archived-At: > From: Sean Whitton > Date: Mon, 27 Dec 2021 12:21:53 -0700 > > On Mon 27 Dec 2021 at 08:22PM +02, Eli Zaretskii wrote: > > > The easiest way is to add a user option that would make every pipe use > > the external shell. > > On Mon 27 Dec 2021 at 07:26PM +01, Michael Albinus wrote: > > > One to rule them all. As soon there is one *|, *< or *> in the command > > line, everything is regarded external. Also commands like ls or cat, > > which behave then like *ls or *cat. > > I see what you mean now, but I don't think either of these options would > be desirable. It would mean that you can't combine Lisp functions with > external commands; for example > > my-lisp-function arg1 arg2 | my-cool-encoder *>output.ogg > > In this case, the first | needs to use Eshell's own pipelining support. > > Similarly something like > > buffer-string # | my-cool-command *| other-cmd *>file > > Does that make sense? Would you agree that this new feature needs to > work only on individual pairs of commands? The *| thingy could be available as well, for when you need a mix. My proposal was only for the situation when it's hard or inconvenient to change too many pipes manually.