[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: |
Stefan Monnier |
Subject: |
Re: request for review: Doing direct file I/O in Emacs Lisp |
Date: |
10 May 2004 13:22:21 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
>> >> The two don't have to be competing. Instead I expect they'd be
>> >> used together (by extending your proposal to allow a file-handle
>> >> as "output port").
>> > There is not much of an incentive to have explicit file handles if
>> > you can establish all of the necessary redirections without them.
>>
>> Piping the output of one process to the input of another, maybe?
> Academical right now. You know the complicated procedure of pipe(2),
> fork, selective closes and/or dup2 calls needed to properly create a
> working pipeline? I am afraid that "file-handle" does not buy us
> that at all.
Obviously, John's code won't give us pipes for free.
But without both file handles and your suggested changes, I don't see how
we'll ever get eshell to fully support pipes. I.e. it's not sufficient but
it's necessary.
Stefan
Re: request for review: Doing direct file I/O in Emacs Lisp, John Wiegley, 2004/05/11
Re: request for review: Doing direct file I/O in Emacs Lisp, Kim F. Storm, 2004/05/10
Re: request for review: Doing direct file I/O in Emacs Lisp, Andreas Schwab, 2004/05/10
Re: request for review: Doing direct file I/O in Emacs Lisp, Stefan Monnier, 2004/05/10