[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: request for review: Doing direct file I/O in Emacs Lisp
From: |
John Wiegley |
Subject: |
Re: request for review: Doing direct file I/O in Emacs Lisp |
Date: |
Thu, 13 May 2004 15:50:23 -0700 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (darwin) |
Richard Stallman <address@hidden> writes:
> Could you tell me more? What data does eshell want to write into
> files? Where is the data coming from? Is it coming from
> subprocesses started by eshell, or is it generated from eshell
> itself?
Like Kai said, output comes both from eshell (Lisp) and subprocesses.
Requiring all data to pass through a buffer, in order to save it to
disk, is difficult to handle efficiently. Because the whole file must
be stored in the buffer before being saved, it consumes unnecessary
amounts of memory and processor time.
One could make the argument that Emacs shouldn't be doing the work of
a shell, and so shouldn't need this kind of efficiency. But having a
command shell integrated with Lisp -- that works on all platforms --
has been so useful to me, that I'd really like it to be more efficient
if it's not too much trouble.
John
- Re: request for review: Doing direct file I/O in Emacs Lisp, (continued)
- Re: request for review: Doing direct file I/O in Emacs Lisp, John Wiegley, 2004/05/14
- Re: request for review: Doing direct file I/O in Emacs Lisp, Richard Stallman, 2004/05/15
- Re: request for review: Doing direct file I/O in Emacs Lisp, John Wiegley, 2004/05/15
- Re: request for review: Doing direct file I/O in Emacs Lisp, David Kastrup, 2004/05/15
- Re: request for review: Doing direct file I/O in Emacs Lisp, Eli Zaretskii, 2004/05/16
- Re: request for review: Doing direct file I/O in Emacs Lisp, David Kastrup, 2004/05/16
- Re: request for review: Doing direct file I/O in Emacs Lisp, Richard Stallman, 2004/05/17
- Re: request for review: Doing direct file I/O in Emacs Lisp,
John Wiegley <=
- Re: request for review: Doing direct file I/O in Emacs Lisp, Richard Stallman, 2004/05/14