diff options
| author | Kim F. Storm | 2004-01-01 23:44:00 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2004-01-01 23:44:00 +0000 |
| commit | 31e0fbdd4308bde64849bbfa0327a2a77797b3e9 (patch) | |
| tree | dc359f9c0116f9cc38b35b86db85ba9acf207aa3 | |
| parent | 2d942bfadfd794e71202b92dd6e6928c70bbfcb0 (diff) | |
| download | emacs-31e0fbdd4308bde64849bbfa0327a2a77797b3e9.tar.gz emacs-31e0fbdd4308bde64849bbfa0327a2a77797b3e9.zip | |
*** empty log message ***
| -rw-r--r-- | etc/NEWS | 13 | ||||
| -rw-r--r-- | src/ChangeLog | 26 |
2 files changed, 38 insertions, 1 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | GNU Emacs NEWS -- history of user-visible changes. 2003-05-21 | 1 | GNU Emacs NEWS -- history of user-visible changes. 2003-05-21 |
| 2 | Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. | 2 | Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. |
| 3 | See the end for copying conditions. | 3 | See the end for copying conditions. |
| 4 | 4 | ||
| 5 | Please send Emacs bug reports to bug-gnu-emacs@gnu.org. | 5 | Please send Emacs bug reports to bug-gnu-emacs@gnu.org. |
| @@ -2523,6 +2523,17 @@ and modify elements on this property list. | |||
| 2523 | The new low-level functions process-plist and set-process-plist are | 2523 | The new low-level functions process-plist and set-process-plist are |
| 2524 | used to access and replace the entire property list of a process. | 2524 | used to access and replace the entire property list of a process. |
| 2525 | 2525 | ||
| 2526 | ??? | ||
| 2527 | *** Adaptive read buffering of subprocess output. | ||
| 2528 | |||
| 2529 | On some systems, when emacs reads the output from a subprocess, the | ||
| 2530 | output data is read in very small blocks, potentially resulting in | ||
| 2531 | very poor performance. This behaviour can be remedied to some extent | ||
| 2532 | by setting the new variable process-adaptive-read-buffering to a | ||
| 2533 | non-nil value (the default), as it will automatically delay reading | ||
| 2534 | from such processes, to allowing them to produce more output before | ||
| 2535 | emacs tries to read it. | ||
| 2536 | |||
| 2526 | +++ | 2537 | +++ |
| 2527 | ** Enhanced networking support. | 2538 | ** Enhanced networking support. |
| 2528 | 2539 | ||
diff --git a/src/ChangeLog b/src/ChangeLog index d70fd85fb89..d5bf5ba7aa9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,29 @@ | |||
| 1 | 2004-01-02 Kim F. Storm <storm@cua.dk> | ||
| 2 | |||
| 3 | * process.h (struct Lisp_Process): New members for adaptive read | ||
| 4 | buffering: adaptive_read_buffering, read_output_delay, and | ||
| 5 | read_output_skip. | ||
| 6 | |||
| 7 | * process.c (ADAPTIVE_READ_BUFFERING): New conditional. | ||
| 8 | (READ_OUTPUT_DELAY_INCREMENT, READ_OUTPUT_DELAY_MAX) | ||
| 9 | (READ_OUTPUT_DELAY_MAX_MAX): New constants. | ||
| 10 | (process_output_delay_count, process_output_skip): New vars. | ||
| 11 | (Vprocess_adaptive_read_buffering): New variable. | ||
| 12 | (make_process): Initialize adaptive read buffering members. | ||
| 13 | (Fstart_process): Set adaptive_read_buffering member. | ||
| 14 | (deactivate_process): Cleanup adaptive read buffering. | ||
| 15 | (wait_reading_process_input): Temporarily omit delayed | ||
| 16 | subprocesses from the set of file descriptors to read from; | ||
| 17 | adjust the select timeout if we skipped any subprocesses. | ||
| 18 | (read_process_output): Increase adaptive read buffering delay if | ||
| 19 | we read less than a full buffer; reduce delay when we read a | ||
| 20 | full buffer. | ||
| 21 | (send_process): Simplify using local Lisp_Process var. | ||
| 22 | Reset adaptive read buffering delay after write. | ||
| 23 | (init_process): Initialize process_output_delay_count and | ||
| 24 | process_output_skip. | ||
| 25 | (syms_of_process): DEFVAR_LISP Vprocess_adaptive_read_buffering. | ||
| 26 | |||
| 1 | 2004-01-01 Jason Rumney <jasonr@gnu.org> | 27 | 2004-01-01 Jason Rumney <jasonr@gnu.org> |
| 2 | 28 | ||
| 3 | * w32term.c (w32_text_out): Use s->font, for consistency with | 29 | * w32term.c (w32_text_out): Use s->font, for consistency with |