From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Pierre Neidhardt Newsgroups: gmane.emacs.bugs Subject: bug#29157: 25.3; Eshell parsing fails sometimes, e.g. "date" and "sed" Date: Thu, 23 Nov 2017 07:55:58 +0100 Message-ID: <87po891o1t.fsf@gmail.com> References: <87tvy9rm5z.fsf@gmail.com> <87lgjk7rpd.fsf@users.sourceforge.net> <87lgjkoloe.fsf@gmail.com> <87shd5znzf.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1511420244 24728 195.159.176.226 (23 Nov 2017 06:57:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 23 Nov 2017 06:57:24 +0000 (UTC) User-Agent: mu4e 0.9.18; emacs 25.3.1 Cc: 29157@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 23 07:57:18 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 1eHlRi-0005cj-14 for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Nov 2017 07:57:14 +0100 Original-Received: from localhost ([::1]:42752 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHlRn-0003KM-Pf for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Nov 2017 01:57:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58494) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHlRZ-0003K7-Hj for bug-gnu-emacs@gnu.org; Thu, 23 Nov 2017 01:57:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eHlRW-0004hS-FU for bug-gnu-emacs@gnu.org; Thu, 23 Nov 2017 01:57:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44598) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eHlRW-0004hD-CG for bug-gnu-emacs@gnu.org; Thu, 23 Nov 2017 01:57:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eHlRV-00005Q-VW for bug-gnu-emacs@gnu.org; Thu, 23 Nov 2017 01:57:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Nov 2017 06:57:01 +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.151142017332734 (code B ref 29157); Thu, 23 Nov 2017 06:57:01 +0000 Original-Received: (at 29157) by debbugs.gnu.org; 23 Nov 2017 06:56:13 +0000 Original-Received: from localhost ([127.0.0.1]:53279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHlQj-0008Vu-DN for submit@debbugs.gnu.org; Thu, 23 Nov 2017 01:56:13 -0500 Original-Received: from mail-wm0-f43.google.com ([74.125.82.43]:35406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHlQh-0008Ve-GN for 29157@debbugs.gnu.org; Thu, 23 Nov 2017 01:56:11 -0500 Original-Received: by mail-wm0-f43.google.com with SMTP id y80so14348529wmd.0 for <29157@debbugs.gnu.org>; Wed, 22 Nov 2017 22:56:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=0pYb60gWAHZQEwPyjr5G+vxfQ1VNdHOYNlvXpihoA1c=; b=Op68aVIO7oyst+KteWMi45+jEnSRoQrFN7YwuTIMKCv/9jc5oZky9+i/s+Yi1o1Kt5 jermTo/yZVnF090xXearR/mmE5sQ3+VGaeupwezlZe3ciGUjnEnKZAEfHagSdpGznSE/ g2xWo5WUy8t5FMQzvFyaxlNiirlb9dP76c5M/njtdzt1KXqiJW7BJTeyWHFv6csVJITb JWgNNNBaZkayTAY6XdMRCZQ/riN/1atYahKw/tQR0H7pMKlAhbdcLrm+c5oVNV6qz6ix xKLetnHyOs5p3R0yhvTFx3fkBi/weAHXMN0nS8EB9tDld2DjPlTyHPMEyU8XIobJH4oD A5CQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=0pYb60gWAHZQEwPyjr5G+vxfQ1VNdHOYNlvXpihoA1c=; b=HuumF/8t6jWO/0/BFayWVi40lwtwMBSRHvQ1Xv9PnvOy24mra6P1Z1+1muclJwbvVl 0VnLtsuGmztTn1x0oNtf8P263HyXr9N08JWZ3h/nYGPj1bPc5HCaNZ+bQpAcrWYfPF66 5WEyKiYfzDYtfKpFaXrSFo04frQF4/cAfTIN8anATrKaNwEpkH+/moS6k1wQ94G6XGcC HTHRKcXMUGdTNQeUB4j6dZMPRknJ+Z6x7mgKXyW7OE5wpec4LbHFeiMVG1QgTNwW/81e W0IfKNuvBY4WzqGLvJx0SWg8/G4TGNcEWmCKxGDRI/JEgSjwqxCH63THisXvuy5XHmPo k5OQ== X-Gm-Message-State: AJaThX5MNZUgupbHYNuCJ90yuWfTH3pvjL//sGgiePopz/cUtG7WXfmd OrMw0jsMguOwKj7QqcaRGwnk2w== X-Google-Smtp-Source: AGs4zMZoMYD06q/sv97jP3VyfmwjDmVD3FVeWGEU+3bHYUgjIjIkL0VdhUsEtFltW+GjTLIWP2Wq1w== X-Received: by 10.28.132.19 with SMTP id g19mr5746062wmd.90.1511420165072; Wed, 22 Nov 2017 22:56:05 -0800 (PST) Original-Received: from dhiov23k ([197.1.229.248]) by smtp.gmail.com with ESMTPSA id 80sm4847614wmk.14.2017.11.22.22.56.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 22 Nov 2017 22:56:03 -0800 (PST) In-reply-to: <87shd5znzf.fsf@users.sourceforge.net> 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:140262 Archived-At: --=-=-= Content-Type: text/plain Noam Postavsky writes: > Pierre Neidhardt writes: > >> Anyways, that might ring an alarm here: maybe eshell/date should not >> exist. What's the point of having it? I'm not sure. It is obviously >> less powerful than the system `date'. > > Eshell has lots of commands like that. I guess it makes it more portable? I'm really not sure where to go from here. Disabling eshell/date makes Eshell less portable on one system at least, that is Windows. But what does "portability" mean in this context? Are the coreutils meant to be part of Eshell? Why? Supporting `date' but not its arguments does not make up for actual portability I believe. Case in point: I got fooled. Let's take the case of BSD vs. GNU: bash or zsh do not wrap around `ls', so the behaviour will not be the same on BSD and GNU. Why should Eshell be any different? Eshell is meant to be interactive: does portability matter in that case? My current stance leans towards removing `date' and other commands that seem to be here for "portability" only. Wrappers like `grep' have a clear purpose: redirecting to a dedicated buffer. I think it's find to keep such commands. > I agree. Although the expansion in this case is arguably a bug (as > Andreas pointed out), I don't have much interest in fixing it. I > propose just to disable it by default (in master). Thank you. -- Pierre Neidhardt Would the last person to leave Michigan please turn out the lights? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAloWcP4ACgkQm9z0l6S7 zH9JeggAjIDZPyiRjneVk6vc688+a5djAWO+2XkqaxxZirfBbXhm4JerG86zNtes YlTxMBe/3OUfwalOaNPdTZcoX2AFQgSJztB8vfaM7UDZWycAoifagiv3IQ/UUVF5 jKU2d0sedFi7KWKVPAD4xCuuhy6S69NUy2EYovLweEAckRiLyl2xajOc8tyZ0a/I f99QtxE1DuCwspEM642AXPUc0Rf9wg5/MFDNEdWTsyvE4eolMTvNY0Bn4/dr7p75 J57elomf9evqtXv6fm6VZLPayGKg5jYGOEvXuWt0gEWoSFOdvFZm5hrUekpOKusE nNhP9LpzpcJmm/tEIRPLgXVTICmszQ== =fbEJ -----END PGP SIGNATURE----- --=-=-=--