From: Chong Yidong Date: Wed, 1 Apr 2009 03:51:14 +0000 (+0000) Subject: (Filter Functions): Suggest how to handle output batches. X-Git-Tag: emacs-pretest-23.0.93~259 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fd211f0b3c67e1840fe3dc0ea3904064cdbc9440;p=emacs.git (Filter Functions): Suggest how to handle output batches. --- diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi index 7795ddfc3a0..64d2d7d49f1 100644 --- a/doc/lispref/processes.texi +++ b/doc/lispref/processes.texi @@ -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