emacs-devel
[Top][All Lists]
Advanced

[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: Richard Stallman
Subject: Re: request for review: Doing direct file I/O in Emacs Lisp
Date: Sat, 15 May 2004 04:53:45 -0400

    > When eshell sees a redirect from a builtin, I think it would be most
    > efficient to produce the output in a buffer and write it with
    > write-region into the file.

    What about "ls foo | grep bla"?  Then the output isn't a file.

Then you could put the ls output in a buffer and feed it to grep.
That would work fine.

    That would be an interesting feature.  But I think there is also the
    need to send output from a process to a Lisp command, and to send
    output from a Lisp command to a process.  This way, one can do:

        shell_command | lisp_builtin | shell_command_2

You can do this with the existing facilities of start-process.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]