emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lispref/processes.texi [lexbind]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lispref/processes.texi [lexbind]
Date: Sat, 04 Sep 2004 05:42:08 -0400

Index: emacs/lispref/processes.texi
diff -c emacs/lispref/processes.texi:1.26.2.9 
emacs/lispref/processes.texi:1.26.2.10
*** emacs/lispref/processes.texi:1.26.2.9       Tue Jul  6 10:20:18 2004
--- emacs/lispref/processes.texi        Sat Sep  4 09:24:35 2004
***************
*** 929,934 ****
--- 929,944 ----
  can arrive before you finish, if the code in between does not call any
  primitive that waits.
  
+ @defvar process-adaptive-read-buffering
+ On some systems, when Emacs reads the output from a subprocess, the
+ output data is read in very small blocks, potentially resulting in
+ very poor performance.  This behaviour can be remedied to some extent
+ by setting the variable @var{process-adaptive-read-buffering} to a
+ non-nil value (the default), as it will automatically delay reading
+ from such processes, thus allowing them to produce more output before
+ Emacs tries to read it.
+ @end defvar
+ 
    It is impossible to separate the standard output and standard error
  streams of the subprocess, because Emacs normally spawns the subprocess
  inside a pseudo-TTY, and a pseudo-TTY has only one output channel.  If
***************
*** 1240,1246 ****
  explicitly permit output to arrive at a specific point, or even to wait
  until output arrives from a process.
  
! @defun accept-process-output &optional process seconds millisec
  This function allows Emacs to read pending output from processes.  The
  output is inserted in the associated buffers or given to their filter
  functions.  If @var{process} is address@hidden then this function does
--- 1250,1256 ----
  explicitly permit output to arrive at a specific point, or even to wait
  until output arrives from a process.
  
! @defun accept-process-output &optional process seconds millisec just-this-one
  This function allows Emacs to read pending output from processes.  The
  output is inserted in the associated buffers or given to their filter
  functions.  If @var{process} is address@hidden then this function does
***************
*** 1263,1268 ****
--- 1273,1287 ----
  of a second; on those that do not, you get an error if you specify
  nonzero @var{millisec}.
  
+ @c Emacs 21.4 feature
+ If @var{process} is a process, and the argument @var{just-this-one} is
+ non-nil, only output from that process is handled, suspending output
+ from other processes until some output has been received from that
+ process or the timeout expires.  If @var{just-this-one} is an integer,
+ also inhibit running timers.  This feature is generally not
+ recommended, but may be necessary for specific applications, such as
+ speech synthesis.
+ 
  The function @code{accept-process-output} returns address@hidden if it
  did get some output, or @code{nil} if the timeout expired before output
  arrived.
***************
*** 1664,1670 ****
  @end defun
  
  @node Datagrams
! @section Datagrams 
  @cindex datagrams
  
    A datagram connection communicates with individual packets rather
--- 1683,1689 ----
  @end defun
  
  @node Datagrams
! @section Datagrams
  @cindex datagrams
  
    A datagram connection communicates with individual packets rather
***************
*** 1951,1957 ****
  
  @example
  (featurep 'make-network-process '(@var{keyword} @var{value}))
! @end example 
  
  @noindent
  The result of the first form is @code{t} if it works to specify
--- 1970,1976 ----
  
  @example
  (featurep 'make-network-process '(@var{keyword} @var{value}))
! @end example
  
  @noindent
  The result of the first form is @code{t} if it works to specify
***************
*** 1977,1983 ****
  
  @example
  (featurep 'make-network-process '@var{keyword})
! @end example 
  
  Here are some of the option @var{keyword}s you can test in
  this way.
--- 1996,2002 ----
  
  @example
  (featurep 'make-network-process '@var{keyword})
! @end example
  
  Here are some of the option @var{keyword}s you can test in
  this way.




reply via email to

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