From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#29157: 25.3; Eshell parsing fails sometimes, e.g. "date" and "sed" Date: Sat, 25 Nov 2017 21:57:38 +0200 Message-ID: <83vahy6si5.fsf@gnu.org> References: <87tvy9rm5z.fsf@gmail.com> <87lgjk7rpd.fsf@users.sourceforge.net> <87lgjkoloe.fsf@gmail.com> <87shd5znzf.fsf@users.sourceforge.net> <87po891o1t.fsf@gmail.com> <87po89ywv5.fsf@users.sourceforge.net> <8360a1arlf.fsf@gnu.org> <87lgiui6qc.fsf@gmail.com> <83y3mu6ttn.fsf@gnu.org> <87indyi20r.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1511639953 24756 195.159.176.226 (25 Nov 2017 19:59:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 25 Nov 2017 19:59:13 +0000 (UTC) Cc: 29157@debbugs.gnu.org, npostavs@users.sourceforge.net To: Pierre Neidhardt Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 25 20:59:08 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIgbS-0005tc-TT for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Nov 2017 20:59:07 +0100 Original-Received: from localhost ([::1]:54239 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eIgbY-0000uV-RW for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Nov 2017 14:59:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35734) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eIgbS-0000u6-Em for bug-gnu-emacs@gnu.org; Sat, 25 Nov 2017 14:59:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eIgbO-0002Hh-JO for bug-gnu-emacs@gnu.org; Sat, 25 Nov 2017 14:59:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49553) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eIgbO-0002HR-F3 for bug-gnu-emacs@gnu.org; Sat, 25 Nov 2017 14:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eIgbO-0001mO-7J for bug-gnu-emacs@gnu.org; Sat, 25 Nov 2017 14:59: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: Sat, 25 Nov 2017 19:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29157 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29157-submit@debbugs.gnu.org id=B29157.15116398956781 (code B ref 29157); Sat, 25 Nov 2017 19:59:02 +0000 Original-Received: (at 29157) by debbugs.gnu.org; 25 Nov 2017 19:58:15 +0000 Original-Received: from localhost ([127.0.0.1]:58234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIgad-0001lJ-2L for submit@debbugs.gnu.org; Sat, 25 Nov 2017 14:58:15 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44583) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIgab-0001l6-CP for 29157@debbugs.gnu.org; Sat, 25 Nov 2017 14:58:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eIgaS-0001lS-7X for 29157@debbugs.gnu.org; Sat, 25 Nov 2017 14:58:08 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60971) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eIgaS-0001lM-4M; Sat, 25 Nov 2017 14:58:04 -0500 Original-Received: from [176.228.60.248] (port=4509 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eIgaQ-0002EQ-Ab; Sat, 25 Nov 2017 14:58:04 -0500 In-reply-to: <87indyi20r.fsf@gmail.com> (message from Pierre Neidhardt on Sat, 25 Nov 2017 20:36:36 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:140379 Archived-At: > From: Pierre Neidhardt > Cc: npostavs@users.sourceforge.net, 29157@debbugs.gnu.org > Date: Sat, 25 Nov 2017 20:36:36 +0100 > > > If you want to know that so you could always get the same responses as > > from another system shell, then perhaps we should have an option to > > tell Eshell to always invoke an external program (maybe we already > > have such an option, but I couldn't find it). > > No, not like that, more like a friendly reminder: "this 'date' behaves > the Eshell way, while that 'rmdir' is the system program". But the answer to that question depends on the arguments and sometimes on the switches, doesn't it? E.g., Eshell's 'rm' can delete processes and buffers, and unintern symbols, in addition to deleting files. What exactly it does depends on the arguments. And if you invoke it with -d switch, it will call the external program, but if you invoke with -f or -i or -n, it will use the built-in. So just given the verb, I don't see how you can have that indication. > > Isn't it true that a verb that doesn't begin with a '*' is _never_ a > > system program in Eshell? > > I'm tempted to answer "no, it's not true", but we might be > misunderstood. > > As far as I got it, the '*' is here to force Eshell to use the system > program, while no '*' tells Eshell to use its own version if available, > or the system program otherwise. So you want to have an indication when there's _no_ built-in implementation at all, is that it?