changeset 56135:5407da499273

Update copyright.
author Kim F. Storm <storm@cua.dk>
date Wed, 16 Jun 2004 15:10:55 +0000
parents edb20c4767db
children 3540d5ea88d7
files src/abbrev.c src/atimer.c src/atimer.h src/blockinput.h src/buffer.h src/callproc.c src/casefiddle.c src/dispextern.h src/window.h src/xselect.c src/xsmfns.c src/xterm.c src/xterm.h
diffstat 13 files changed, 29 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/src/abbrev.c	Wed Jun 16 14:17:01 2004 +0000
+++ b/src/abbrev.c	Wed Jun 16 15:10:55 2004 +0000
@@ -1,5 +1,5 @@
 /* Primitives for word-abbrev mode.
-   Copyright (C) 1985, 1986, 1993, 1996, 1998, 2001
+   Copyright (C) 1985, 1986, 1993, 1996, 1998, 2001,02,03,04
    Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
--- a/src/atimer.c	Wed Jun 16 14:17:01 2004 +0000
+++ b/src/atimer.c	Wed Jun 16 15:10:55 2004 +0000
@@ -1,5 +1,5 @@
 /* Asynchronous timers.
-   Copyright (C) 2000 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2004 Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
--- a/src/atimer.h	Wed Jun 16 14:17:01 2004 +0000
+++ b/src/atimer.h	Wed Jun 16 15:10:55 2004 +0000
@@ -1,5 +1,5 @@
 /* Asynchronous timers.
-   Copyright (C) 2000 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2003 Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
--- a/src/blockinput.h	Wed Jun 16 14:17:01 2004 +0000
+++ b/src/blockinput.h	Wed Jun 16 15:10:55 2004 +0000
@@ -1,5 +1,5 @@
 /* blockinput.h - interface to blocking complicated interrupt-driven input.
-   Copyright (C) 1989, 1993 Free Software Foundation, Inc.
+   Copyright (C) 1989, 1993, 2004 Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
--- a/src/buffer.h	Wed Jun 16 14:17:01 2004 +0000
+++ b/src/buffer.h	Wed Jun 16 15:10:55 2004 +0000
@@ -1,5 +1,5 @@
 /* Header file for the buffer manipulation primitives.
-   Copyright (C) 1985, 86, 93, 94, 95, 97, 1998, 1999, 2000, 01, 2003
+   Copyright (C) 1985,86,93,94,95,97,98,99,2000,01,03,04
    Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
--- a/src/callproc.c	Wed Jun 16 14:17:01 2004 +0000
+++ b/src/callproc.c	Wed Jun 16 15:10:55 2004 +0000
@@ -1,5 +1,5 @@
 /* Synchronous subprocess invocation for GNU Emacs.
-   Copyright (C) 1985,86,87,88,93,94,95,99, 2000, 2001
+   Copyright (C) 1985,86,87,88,93,94,95,99, 2000,01,02,03,04
    Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
@@ -130,6 +130,8 @@
    this is exit code of synchronous subprocess.  */
 int synch_process_retcode;
 
+extern Lisp_Object Qredisplay_dont_pause;
+
 extern Lisp_Object Vdoc_file_name;
 
 extern Lisp_Object Vfile_name_coding_system, Vdefault_file_name_coding_system;
@@ -220,9 +222,9 @@
   int fd[2];
   int filefd;
   register int pid;
-  char buf[16384];
+  char buf[16384*4];
   char *bufptr = buf;
-  int bufsize = 16384;
+  int bufsize = sizeof buf;
   int count = SPECPDL_INDEX ();
 
   register const unsigned char **new_argv
@@ -771,6 +773,7 @@
 
 	    if (this_read == 0)
 	      {
+//		fprintf(stderr, "read 0, total=%d\n", total_read);
 		process_coding.mode |= CODING_MODE_LAST_BLOCK;
 		break;
 	      }
@@ -778,6 +781,8 @@
 	    nread += this_read;
 	    total_read += this_read;
 
+//	    fprintf(stderr, "read %d+%d of %d, total=%d\n", nread, this_read, bufsize, total_read);
+
 	    if (display_on_the_fly)
 	      break;
 	  }
@@ -830,6 +835,8 @@
 		    continue;
 		  }
 
+//		fprintf(stderr, "produced %d\n", process_coding.produced);
+
 		if (process_coding.produced > 0)
 		  insert_1_both (decoding_buf, process_coding.produced_char,
 				 process_coding.produced, 0, 1, 0);
@@ -929,10 +936,15 @@
 
 	if (!NILP (display) && INTERACTIVE)
 	  {
+	    extern int windows_or_buffers_changed;
+	    int count = SPECPDL_INDEX ();
+
 	    if (first)
 	      prepare_menu_bars ();
 	    first = 0;
+	    specbind (Qredisplay_dont_pause, Qt);
 	    redisplay_preserve_echo_area (1);
+	    unbind_to (count, Qnil);
 	  }
 	immediate_quit = 1;
 	QUIT;
--- a/src/casefiddle.c	Wed Jun 16 14:17:01 2004 +0000
+++ b/src/casefiddle.c	Wed Jun 16 15:10:55 2004 +0000
@@ -1,5 +1,6 @@
 /* GNU Emacs case conversion functions.
-   Copyright (C) 1985, 1994, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1985,94,97,98,99, 2001, 2002, 2004
+   Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
--- a/src/dispextern.h	Wed Jun 16 14:17:01 2004 +0000
+++ b/src/dispextern.h	Wed Jun 16 15:10:55 2004 +0000
@@ -1,5 +1,5 @@
 /* Interface definitions for display code.
-   Copyright (C) 1985, 1993, 1994, 1997, 1998, 1999, 2000, 2001, 2002, 2003
+   Copyright (C) 1985,93,94,97,98,99, 2000,01,02,03, 2004
      Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
--- a/src/window.h	Wed Jun 16 14:17:01 2004 +0000
+++ b/src/window.h	Wed Jun 16 15:10:55 2004 +0000
@@ -1,5 +1,5 @@
 /* Window definitions for GNU Emacs.
-   Copyright (C) 1985, 1986, 1993, 1995, 1997, 1998, 1999, 2000, 2001, 2003
+   Copyright (C) 1985,86,93,95,97,98,99, 2000,01,03,04
    Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
--- a/src/xselect.c	Wed Jun 16 14:17:01 2004 +0000
+++ b/src/xselect.c	Wed Jun 16 15:10:55 2004 +0000
@@ -1,5 +1,5 @@
 /* X Selection processing for Emacs.
-   Copyright (C) 1993, 1994, 1995, 1996, 1997, 2000, 2001, 2003
+   Copyright (C) 1993, 1994, 1995, 1996, 1997, 2000, 2001, 2003, 2004
    Free Software Foundation.
 
 This file is part of GNU Emacs.
@@ -2576,7 +2576,7 @@
   if (event.xclient.format != 8 && event.xclient.format != 16
       && event.xclient.format != 32)
     error ("FORMAT must be one of 8, 16 or 32");
-  
+
   if (FRAMEP (dest) || NILP (dest))
     {
       struct frame *fdest = check_x_frame (dest);
--- a/src/xsmfns.c	Wed Jun 16 14:17:01 2004 +0000
+++ b/src/xsmfns.c	Wed Jun 16 15:10:55 2004 +0000
@@ -1,6 +1,6 @@
 /* Session management module for systems which understand the X Session
    management protocol.
-   Copyright (C) 2002 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
--- a/src/xterm.c	Wed Jun 16 14:17:01 2004 +0000
+++ b/src/xterm.c	Wed Jun 16 15:10:55 2004 +0000
@@ -1,5 +1,5 @@
 /* X Communication module for terminals which understand the X protocol.
-   Copyright (C) 1989, 93, 94, 95, 96, 97, 98, 1999, 2000, 01, 02, 2003
+   Copyright (C) 1989, 93, 94, 95, 96, 97, 98, 1999, 2000,01,02,03,04
    Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
--- a/src/xterm.h	Wed Jun 16 14:17:01 2004 +0000
+++ b/src/xterm.h	Wed Jun 16 15:10:55 2004 +0000
@@ -1,5 +1,5 @@
 /* Definitions and headers for communication with X protocol.
-   Copyright (C) 1989, 1993, 1994, 1998, 1999, 2000, 2001, 2001
+   Copyright (C) 1989, 1993, 1994, 1998, 1999, 2000,01,02,03,04
    Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.