diff options
| author | Kim F. Storm | 2004-08-17 22:41:51 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2004-08-17 22:41:51 +0000 |
| commit | bfa96fa20de4659874dd0966eb4ababca7bf78f4 (patch) | |
| tree | b85841e4133bbc4a13eb974285590b14c70f2e4f | |
| parent | 410bcc31682953f35314402005b1bd75c0cdcda5 (diff) | |
| download | emacs-bfa96fa20de4659874dd0966eb4ababca7bf78f4.tar.gz emacs-bfa96fa20de4659874dd0966eb4ababca7bf78f4.zip | |
(Output from Processes): New var `process-adaptive-read-buffering'.
| -rw-r--r-- | lispref/processes.texi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lispref/processes.texi b/lispref/processes.texi index 16d7aa96c1d..ccf8f76d87e 100644 --- a/lispref/processes.texi +++ b/lispref/processes.texi | |||
| @@ -929,6 +929,16 @@ process and only then specify its buffer or filter function; no output | |||
| 929 | can arrive before you finish, if the code in between does not call any | 929 | can arrive before you finish, if the code in between does not call any |
| 930 | primitive that waits. | 930 | primitive that waits. |
| 931 | 931 | ||
| 932 | @defvar process-adaptive-read-buffering | ||
| 933 | On some systems, when Emacs reads the output from a subprocess, the | ||
| 934 | output data is read in very small blocks, potentially resulting in | ||
| 935 | very poor performance. This behaviour can be remedied to some extent | ||
| 936 | by setting the variable @var{process-adaptive-read-buffering} to a | ||
| 937 | non-nil value (the default), as it will automatically delay reading | ||
| 938 | from such processes, thus allowing them to produce more output before | ||
| 939 | Emacs tries to read it. | ||
| 940 | @end defvar | ||
| 941 | |||
| 932 | It is impossible to separate the standard output and standard error | 942 | It is impossible to separate the standard output and standard error |
| 933 | streams of the subprocess, because Emacs normally spawns the subprocess | 943 | streams of the subprocess, because Emacs normally spawns the subprocess |
| 934 | inside a pseudo-TTY, and a pseudo-TTY has only one output channel. If | 944 | inside a pseudo-TTY, and a pseudo-TTY has only one output channel. If |