/* 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.
/* Asynchronous timers.
- Copyright (C) 2000 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2004 Free Software Foundation, Inc.
This file is part of GNU Emacs.
/* Asynchronous timers.
- Copyright (C) 2000 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2003 Free Software Foundation, Inc.
This file is part of GNU Emacs.
/* 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.
/* 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.
/* 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.
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;
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
if (this_read == 0)
{
+// fprintf(stderr, "read 0, total=%d\n", total_read);
process_coding.mode |= CODING_MODE_LAST_BLOCK;
break;
}
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;
}
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);
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;
/* 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.
/* 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.
/* 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.
/* 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.
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);
/* 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.
/* 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.
/* 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.