]> code.delx.au - gnu-emacs/commitdiff
(Filter Functions): Suggest how to handle output batches.
authorChong Yidong <cyd@stupidchicken.com>
Wed, 1 Apr 2009 03:51:14 +0000 (03:51 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Wed, 1 Apr 2009 03:51:14 +0000 (03:51 +0000)
doc/lispref/processes.texi

index 7795ddfc3a0fa77af3fb6b780f43ca7e2904f6c9..64d2d7d49f1ea0b9ba1c6e00d028fd1bbe4277de 100644 (file)
@@ -1305,7 +1305,8 @@ that produces the same output twice in a row may send it as one batch of
 200 characters one time, and five batches of 40 characters the next.  If
 the filter looks for certain text strings in the subprocess output, make
 sure to handle the case where one of these strings is split across two
-or more batches of output.
+or more batches of output; one way to do this is to insert the
+received text into a temporary buffer, which can then be searched.
 
 @defun set-process-filter process filter
 This function gives @var{process} the filter function @var{filter}.  If