From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ken Newsgroups: gmane.emacs.help Subject: Re: Optimal emacs shell for coding Date: Tue, 12 Aug 2008 15:11:24 -0400 Message-ID: <48A1E05C.4000102@mousecar.com> References: <577bf477-6877-4cab-b4c3-fb72b995a095@i20g2000prf.googlegroups.com> <66bf7b7c-8e2b-4266-812a-6531c93f9399@v1g2000pra.googlegroups.com> <87skta4py4.fsf@lion.rapttech.com.au> <48A17CAA.2060505@gmail.com> <48A1D923.1030001@gmail.com> <48A1DE3D.7070704@gmail.com> Reply-To: gebser@mousecar.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1218643057 1474 80.91.229.12 (13 Aug 2008 15:57:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Aug 2008 15:57:37 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Lennart Borgman (gmail)" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 13 17:58:28 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KTIjt-0006td-9w for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Aug 2008 17:58:21 +0200 Original-Received: from localhost ([127.0.0.1]:60488 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTIiu-0007oT-Vt for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Aug 2008 11:57:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSzMB-0004pH-0f for help-gnu-emacs@gnu.org; Tue, 12 Aug 2008 15:16:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSzM5-0004mM-Be for help-gnu-emacs@gnu.org; Tue, 12 Aug 2008 15:16:34 -0400 Original-Received: from [199.232.76.173] (port=44239 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSzM5-0004mB-5D for help-gnu-emacs@gnu.org; Tue, 12 Aug 2008 15:16:29 -0400 Original-Received: from mout.perfora.net ([74.208.4.196]:55674) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSzLz-0003jh-Hv; Tue, 12 Aug 2008 15:16:23 -0400 Original-Received: from [192.168.0.26] (dsl093-011-017.cle1.dsl.speakeasy.net [66.93.11.17]) by mrelay.perfora.net (node=mrus1) with ESMTP (Nemesis) id 0MKpCa-1KSzLl0nqD-0005LH; Tue, 12 Aug 2008 15:16:12 -0400 User-Agent: Thunderbird 2.0.0.0 (X11/20070326) In-Reply-To: <48A1DE3D.7070704@gmail.com> X-Enigmail-Version: 0.95.6 OpenPGP: id=5AD091E7 X-Provags-ID: V01U2FsdGVkX1/axUzNb2VvMtCeSj3Y3xeF14Ip8cVkPYf3BOy +01q8DJGduHGrQWP6bcz9GL8yR+DCOn77GKH7Ds/dCbs5pOWl7 lgupvv22GlKK/CMSpHDoMWRf6urYvZ7 X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-Mailman-Approved-At: Wed, 13 Aug 2008 11:51:37 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:56572 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 08/12/2008 03:02 PM Lennart Borgman (gmail) wrote: | Eli Zaretskii wrote: |>> Date: Tue, 12 Aug 2008 20:40:35 +0200 |>> From: "Lennart Borgman (gmail)" |>> CC: help-gnu-emacs@gnu.org |>> |>> Eli Zaretskii wrote: |>>>> Date: Tue, 12 Aug 2008 14:06:02 +0200 |>>>> From: "Lennart Borgman (gmail)" |>>>> CC: help-gnu-emacs@gnu.org |>>>> |>>>> If you look carefully at the output you can see that what is not |>>>> handled is the parameters to "ls". If you try "ls -1" it will work. |>>> What "parameters to ls"? "ls" was invoked without any parameters. |>> If you from a shell do |>> |>> ls | grep |>> |>> then normally ls implicitly gets the -1 parameter |> |> No, it doesn't. Please try and see for yourself (I just did). | | | We are miscommunicating. Exactly what are you saying? | | I am saying that if I from a shell outside of Emacs do | | ls | | than I get several files listed on each row while the output from | | ls | grep some-file | | implies that ls got the implicit argument -1 when used in the pipe. Lennart, You're correct: ls followed by a pipe puts each file on a line by itself... easily demonstrated by "ls|less", "ls|more", "ls|wc -l", "ls|grep -E $", and others. Weird, but true. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFIoeBa8CeNiFrQkecRAu3UAKCONy17ZkSqEpx9Y+mswYDBTmJhSwCfdJgT ePFlKRA1jfkvRy1/xgSoO8c= =vgsE -----END PGP SIGNATURE-----