From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: request for review: Doing direct file I/O in Emacs Lisp Date: 11 May 2004 12:22:17 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1084271853 13646 80.91.224.253 (11 May 2004 10:37:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 May 2004 10:37:33 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue May 11 12:37:27 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BNUdb-0001hy-00 for ; Tue, 11 May 2004 12:37:27 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BNUdb-000108-00 for ; Tue, 11 May 2004 12:37:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BNUPe-0002dM-4D for emacs-devel@quimby.gnus.org; Tue, 11 May 2004 06:23:02 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BNUPV-0002cy-4R for emacs-devel@gnu.org; Tue, 11 May 2004 06:22:53 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BNUOx-0002Yl-Pa for emacs-devel@gnu.org; Tue, 11 May 2004 06:22:50 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BNUOx-0002YI-DV for emacs-devel@gnu.org; Tue, 11 May 2004 06:22:19 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1BNUOw-0001pn-Qv; Tue, 11 May 2004 06:22:19 -0400 Original-To: John Wiegley In-Reply-To: Original-Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:23128 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23128 John Wiegley writes: > David Kastrup writes: > > > I had posted a proposal to change start-process instead some time > > ago that would have allowed for efficient I/O redirection under > > eshell. Have you seen that proposal? That would be, IMO, a much > > more Emacsy solution. The above looks like being quite ugly low > > level. > > I would be interested in seeing it, though it would not help the > output redirection case (since Eshell's "cat" is in Lisp). Ok, that _is_ a consideration I was not thinking of. Of course, you can't solve that with start-process alone. > And actually, I don't get bitten by the speed of piping in Eshell -- > though maybe I just didn't notice how slow it was. What's much more relevant is that it will merge stdout and stderr: that makes it almost useless. > As for the comments from others: thank you, I will be reading > through them in more detail soon. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum