[Top][All Lists]

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

Re: cvs emacs stalls with: error in process filter

From: Richard Stallman
Subject: Re: cvs emacs stalls with: error in process filter
Date: Fri, 26 Dec 2003 23:13:09 -0500

    I've added a check for quit-flag to this loop and it worked.
    But I wonder if maybe accept-process-output could/should act on C-g.

accept-process-output ought to allow quitting, and looking at the
code in wait_reading_process_input, I would say it does:

  /* If read_kbd is a process to watch, set wait_proc and wait_channel
     accordingly.  */
  if (PROCESSP (read_kbd))
      wait_proc = XPROCESS (read_kbd);
      wait_channel = XINT (wait_proc->infd);
      XSETFASTINT (read_kbd, 0);


      /* If calling from keyboard input, do not quit
         since we want to return C-g as an input character.
         Otherwise, do pending quit if requested.  */
      if (XINT (read_kbd) >= 0)

Can you figure out why accept-process-output fails to check
for quit when you use it?

reply via email to

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