From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Hansen Newsgroups: gmane.emacs.devel Subject: Re: eshell pipelines Date: Wed, 13 Aug 2008 23:01:32 +0200 Organization: disorganized Message-ID: <87ljz0fx3n.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> <48A17CAA.2060505@gmail.com> <48A1D923.1030001@gmail.com> <48A1DE3D.7070704@gmail.com> <87k5el497r.fsf@lion.rapttech.com.au> <873al9upnn.fsf@tux.homenetwork> <87abfhhzq4.fsf_-_@localhorst.mine.nu> <74r68s6gnw.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1218661725 3930 80.91.229.12 (13 Aug 2008 21:08:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Aug 2008 21:08:45 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 13 23:09:35 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KTNax-0005Tv-J0 for ged-emacs-devel@m.gmane.org; Wed, 13 Aug 2008 23:09:27 +0200 Original-Received: from localhost ([127.0.0.1]:36499 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTNa1-0008A8-D1 for ged-emacs-devel@m.gmane.org; Wed, 13 Aug 2008 17:08:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTNZx-0008A0-A1 for emacs-devel@gnu.org; Wed, 13 Aug 2008 17:08:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTNZv-00089o-7g for emacs-devel@gnu.org; Wed, 13 Aug 2008 17:08:24 -0400 Original-Received: from [199.232.76.173] (port=51588 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTNZv-00089l-4K for emacs-devel@gnu.org; Wed, 13 Aug 2008 17:08:23 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:50819 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 1KTNZu-0003ls-CL for emacs-devel@gnu.org; Wed, 13 Aug 2008 17:08:22 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KTNZq-0006Oq-Dl for emacs-devel@gnu.org; Wed, 13 Aug 2008 21:08:18 +0000 Original-Received: from e178040086.adsl.alicedsl.de ([85.178.40.86]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Aug 2008 21:08:18 +0000 Original-Received: from david.hansen by e178040086.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Aug 2008 21:08:18 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 28 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: e178040086.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:Lp1zZPnIzQC7c5N5XDNQWMcWCY0= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:102421 Archived-At: On Wed, 13 Aug 2008 12:09:07 -0400 Glenn Morris wrote: > David Hansen wrote: > >> [For emacs-devel: >> >> In gnu.emacs.help there is a discussion about some little eshell, >> eshell/ls bug. > > http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=699 > > (now on three separate mailing lists...) I find gmane.emacs.bug incredible "hard" to read. Threads seem to randomly stop and start again (w/o gnus finding the parents) and purely administrative messages pop up every now and then. Back to the topic: not giving the pipelined processes a TTY will prevent similar problems w/ non eshell builtins. And in most cases it should be faster as well, e.g. GNU libc uses line buffering on a TTY. But probably we should first find a way to disable this for the last command in the pipeline. This is already done in `eshell-do-pipelines-synchronously' (do we really need compat code for Emacsen w/o `start-process'?). I'll try to figure out how to do it right. David