[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Clipboard hang on w32
From: |
Chong Yidong |
Subject: |
Re: Clipboard hang on w32 |
Date: |
Thu, 31 Aug 2006 11:30:05 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> The problem seems
> to be that process-output and clipboard requests are not being handled
> while Emacs is inside that sit_for,
>
> Do you know that, or is that a guess?
>
> If that is true, it is a bug already. Process output should be
> handled inside the sit-for; clipboard requests should either be
> handled inside the sit-for, or cause it to wake up so they can be
> handled.
>
> However, I can see how process output would not be handled during that
> timer function. And if it only tests input-pending-p, it won't notice
> that process output is waiting. So maybe that is a bug.
That is my guess too. There is code inside sit-for (or rather
wait_reading_process_output) to handle process output while waiting;
and I can verify that the code works, at least on GNU/Linux. However,
if the sit-for runs busy idle timers, it is possible that process
output is not handled while those timer functions are running (unless
they call accept-process-output etc.)
> Is that function in the Emacs distribution? What package?
It's in two packages (cedet and jdee) distributed outside of Emacs.
- Re: Clipboard hang on w32, (continued)