emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proposal for extending set-process-filter


From: Richard Stallman
Subject: Re: Proposal for extending set-process-filter
Date: Tue, 27 Apr 2004 12:30:01 -0400

    1) a function which gets two arguments. [insert old description]
    2) a buffer into which output gets inserted.

You should use set-process-buffer for that.

    3) a file name for output.

Writing it directly into a file is somewhat ugly as an idea.

    4) t to stop accepting output.

Why do we need that option?  A filter function can easily discard the
data.

    5) a list of filter/file descriptor associations.
    The car's of the elements of this list are an item from 1)-4) as
    above, while the cdr is a list of file ids for which this item is
    supposed to apply.

That is very ugly.  There has to be a better way.

Anyway, the hard part of separating stdin from stderr
is that they both come through the same channel in the pty.




reply via email to

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