From: Kevin Layer

Subject: Re: fi-emacs ignoring output hook on secondary listener

Date: 1998-10-15 18:11

>> One of my programs needs to alter the output from CL, so in fi-emacs I >> bind fi::subprocess-filter-insert-output-hook to the appropriate elisp >> function. This works fine in the *common-lisp* buffer started with >> fi:common-lisp. In a secondary listener *lisp-listener* started with >> fi:open-lisp-listener, however, it appears to ignore this binding. In >> fact, I can't see how output gets into the *lisp-listener* buffer >> at all. >> >> fi::subprocess-filter-insert-output-hook is used in the function >> fi::subprocess-filter-1 in file fi-subproc.el. >> >> Anyone have any clue on how to do this? >> Thanks for any help.
There is currently no subprocess filter set for listener buffers created with fi:open-lisp-listener, which aren't really tied to subprocesses--their buffers are tied to sockets created with open-network-stream. I don't know if set-process-filter will work on the object returned by open-network-stream (we have a wrapper for this function, called fi::open-network-stream), since I don't remember having tried it. That would be a starting point, though. Kevin Layer <Franz.COM at layer> http://www.franz.com/ Franz Inc., 1995 University Avenue, Suite 275, Berkeley, CA 94704, USA Phone: (510) 548-3600 FAX: (510) 548-8253