From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Optimal emacs shell for coding Date: Tue, 12 Aug 2008 22:16:02 +0300 Message-ID: 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> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1218568620 16319 80.91.229.12 (12 Aug 2008 19:17:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Aug 2008 19:17:00 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 12 21:17:51 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 1KSzNJ-0003oy-Fk for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Aug 2008 21:17:45 +0200 Original-Received: from localhost ([127.0.0.1]:49440 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSzMN-0004mz-5K for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Aug 2008 15:16:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSzLh-0004XM-KX for help-gnu-emacs@gnu.org; Tue, 12 Aug 2008 15:16:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSzLg-0004Wa-GN for help-gnu-emacs@gnu.org; Tue, 12 Aug 2008 15:16:04 -0400 Original-Received: from [199.232.76.173] (port=44218 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSzLg-0004WV-A4 for help-gnu-emacs@gnu.org; Tue, 12 Aug 2008 15:16:04 -0400 Original-Received: from mtaout2.012.net.il ([84.95.2.4]:25270) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSzLg-0003gS-00 for help-gnu-emacs@gnu.org; Tue, 12 Aug 2008 15:16:04 -0400 Original-Received: from HOME-C4E4A596F7 ([84.229.211.50]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K5I00FJZ5JBEL00@i_mtaout2.012.net.il> for help-gnu-emacs@gnu.org; Tue, 12 Aug 2008 22:16:24 +0300 (IDT) In-reply-to: <48A1DE3D.7070704@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-kernel: by monty-python.gnu.org: Solaris 9.1 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:56524 Archived-At: > Date: Tue, 12 Aug 2008 21:02:21 +0200 > From: "Lennart Borgman (gmail)" > CC: help-gnu-emacs@gnu.org > > 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. Maybe you are; I am not ;-) > 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. And I'm saying that you are wrong: -1 is not implied in a pipeline from the shell prompt, either. Please try that and see for yourself. I tried that both on GNU/Linux and in a Windows command prompt window, and GNU `ls' does not imply -1 in either case.