aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2004-01-01 23:44:00 +0000
committerKim F. Storm2004-01-01 23:44:00 +0000
commit31e0fbdd4308bde64849bbfa0327a2a77797b3e9 (patch)
treedc359f9c0116f9cc38b35b86db85ba9acf207aa3
parent2d942bfadfd794e71202b92dd6e6928c70bbfcb0 (diff)
downloademacs-31e0fbdd4308bde64849bbfa0327a2a77797b3e9.tar.gz
emacs-31e0fbdd4308bde64849bbfa0327a2a77797b3e9.zip
*** empty log message ***
-rw-r--r--etc/NEWS13
-rw-r--r--src/ChangeLog26
2 files changed, 38 insertions, 1 deletions
diff --git a/etc/NEWS b/etc/NEWS
index ec9aae9357d..e904c06c699 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1,5 +1,5 @@
1GNU Emacs NEWS -- history of user-visible changes. 2003-05-21 1GNU Emacs NEWS -- history of user-visible changes. 2003-05-21
2Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. 2Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
3See the end for copying conditions. 3See the end for copying conditions.
4 4
5Please send Emacs bug reports to bug-gnu-emacs@gnu.org. 5Please send Emacs bug reports to bug-gnu-emacs@gnu.org.
@@ -2523,6 +2523,17 @@ and modify elements on this property list.
2523The new low-level functions process-plist and set-process-plist are 2523The new low-level functions process-plist and set-process-plist are
2524used to access and replace the entire property list of a process. 2524used to access and replace the entire property list of a process.
2525 2525
2526???
2527*** Adaptive read buffering of subprocess output.
2528
2529On some systems, when emacs reads the output from a subprocess, the
2530output data is read in very small blocks, potentially resulting in
2531very poor performance. This behaviour can be remedied to some extent
2532by setting the new variable process-adaptive-read-buffering to a
2533non-nil value (the default), as it will automatically delay reading
2534from such processes, to allowing them to produce more output before
2535emacs 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 @@
12004-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
12004-01-01 Jason Rumney <jasonr@gnu.org> 272004-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