From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.help Subject: Re: Optimal emacs shell for coding Date: Tue, 12 Aug 2008 14:06:02 +0200 Message-ID: <48A17CAA.2060505@gmail.com> References: <577bf477-6877-4cab-b4c3-fb72b995a095@i20g2000prf.googlegroups.com> <66bf7b7c-8e2b-4266-812a-6531c93f9399@v1g2000pra.googlegroups.com> <87skta4py4.fsf@lion.rapttech.com.au> 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 1218543099 19562 80.91.229.12 (12 Aug 2008 12:11:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Aug 2008 12:11:39 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 12 14:12:31 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 1KSsjl-0005UN-Lq for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Aug 2008 14:12:29 +0200 Original-Received: from localhost ([127.0.0.1]:56228 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSsip-0003uh-Ba for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Aug 2008 08:11:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSsdg-0007xd-3C for help-gnu-emacs@gnu.org; Tue, 12 Aug 2008 08:06:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSsdd-0007v5-Ai for help-gnu-emacs@gnu.org; Tue, 12 Aug 2008 08:06:11 -0400 Original-Received: from [199.232.76.173] (port=47897 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSsdd-0007uo-58 for help-gnu-emacs@gnu.org; Tue, 12 Aug 2008 08:06:09 -0400 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]:37920) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KSsdc-0004y8-Vk for help-gnu-emacs@gnu.org; Tue, 12 Aug 2008 08:06:09 -0400 Original-Received: from c83-254-151-176.bredband.comhem.se ([83.254.151.176]:62815 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KSsda-0003OK-3Y for help-gnu-emacs@gnu.org; Tue, 12 Aug 2008 14:06:07 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: <87skta4py4.fsf@lion.rapttech.com.au> X-Antivirus: avast! (VPS 080811-0, 2008-08-11), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.176 X-Scan-Result: No virus found in message 1KSsda-0003OK-3Y. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1KSsda-0003OK-3Y 2f4cd9f0f49ec16754f34f29b98c28b4 X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) 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:56506 Archived-At: Tim X wrote: >>> ~/web/emacs $ which grep >>> eshell/grep is a compiled Lisp function in `em-unix.el' >>> ~/web/emacs $ ls | grep lin >>> elisp_link_report.el modernization.html >>> elisp_link_report.el~ >>> modernization_html_mail.html >>> elisp_link_report.html >>> modernization_meta_key.html >>> elisp_make_link.html ms_keyboard >>> emacs_installing_packages.html wrap-url2.html.gz >>> emacs_manual_problem.html xah_emacs_linkify.el >>> emacs_n_unicode.html xah_emacs_linkify.el~ >>> ~/web/emacs $ > > don't think its a bug. This is eshell not handling redirection correclty > and is something that cannot be easily fixed. Bottom line, don't use > redirection in eshell. 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. So, yes it is a problem with redirection, but only with the (implicit) arguments to the first program.