From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Hansen Newsgroups: gmane.emacs.help Subject: Re: Optimal emacs shell for coding Date: Tue, 12 Aug 2008 21:14:46 +0200 Organization: disorganized Message-ID: <87ljz2hwpl.fsf@localhorst.mine.nu> 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=us-ascii X-Trace: ger.gmane.org 1218569105 17978 80.91.229.12 (12 Aug 2008 19:25:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Aug 2008 19:25:05 +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:25:57 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 1KSzUD-0006tw-Ec for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Aug 2008 21:24:53 +0200 Original-Received: from localhost ([127.0.0.1]:39161 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSzTH-0002qy-6i for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Aug 2008 15:23:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSzSv-0002q3-4c for help-gnu-emacs@gnu.org; Tue, 12 Aug 2008 15:23:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSzSt-0002pU-4J for help-gnu-emacs@gnu.org; Tue, 12 Aug 2008 15:23:32 -0400 Original-Received: from [199.232.76.173] (port=40074 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSzSs-0002pR-Vf for help-gnu-emacs@gnu.org; Tue, 12 Aug 2008 15:23:31 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:44636 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KSzSq-00069u-Pc for help-gnu-emacs@gnu.org; Tue, 12 Aug 2008 15:23:30 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KSzSj-0001ic-96 for help-gnu-emacs@gnu.org; Tue, 12 Aug 2008 19:23:21 +0000 Original-Received: from e178005128.adsl.alicedsl.de ([85.178.5.128]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Aug 2008 19:23:21 +0000 Original-Received: from david.hansen by e178005128.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Aug 2008 19:23:21 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 43 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: e178005128.adsl.alicedsl.de Mail-Copies-To: nobody User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:HPqNzqQp806k2HV/CyQ82kAHNaA= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:56526 Archived-At: On Tue, 12 Aug 2008 21:30:55 +0300 Eli Zaretskii wrote: >> From: Tim X >> Date: Tue, 12 Aug 2008 18:06:59 +1000 >> >> >> ~/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 $ >> >> >> >> ----------------------------- >> >> >> >> LOL. >> >> >> >> Get back to work Len. >> > >> > >> > Why do you think predictable behaviour is nice? ;-) >> > >> > Ok, you discovered the bug so it is your turn to file a bug report again ... >> >> 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. > > FWIW, I don't see anything wrong with the above: just unwrap the > obviously wrapped lines, and you will see that everything is > honky-dory. But it's different from how bash + ls behave in a "normal" terminal. When stdout for the `ls' command is not a tty it prints one file per line (IMHO the right way). David