emacs-devel
[Top][All Lists]
Advanced

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

Re: process.c changes causes problem with JDEbug of the JDE package


From: Kim F. Storm
Subject: Re: process.c changes causes problem with JDEbug of the JDE package
Date: 03 Feb 2004 14:57:03 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Harald Maier <address@hidden> writes:

> address@hidden (Kim F. Storm) writes:
> 
> > Harald Maier <address@hidden> writes:
> >> 
> >> it looks that the following changes below on process.c has influence
> >> on functioninng of JDEbug of the JDE package. Emacses later as
> >> 2004-01-01 fail to establish a connection to the JDEbug process.
> >
> > Does this patch fix the problem?
> 
> Hello Kim,
> 
> I applied the patch, but I could not see any improvement in running a
> JDEbug process when I set the variable process-adaptive-read-buffering
> to t. It looks that it still fails on accept-process-output.

So I probably need temporarily disable the adaptive read buffering
when accept-process-output is called to wait for output from a
specific process.

Does the following patch fix ít?

Index: process.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/process.c,v
retrieving revision 1.423
diff -c -r1.423 process.c
*** process.c   27 Jan 2004 21:34:42 -0000      1.423
--- process.c   3 Feb 2004 12:48:16 -0000
***************
*** 4262,4268 ****
          else
            Available = input_wait_mask;
          check_connect = (num_pending_connects > 0);
!         check_delay = process_output_delay_count;
        }
  
        /* If frame size has changed or the window is newly mapped,
--- 4262,4268 ----
          else
            Available = input_wait_mask;
          check_connect = (num_pending_connects > 0);
!         check_delay = wait_channel >= 0 ? 0 : process_output_delay_count;
        }
  
        /* If frame size has changed or the window is newly mapped,

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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