[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: |
Fri, 01 Sep 2006 10:37:22 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> It's in two packages (cedet and jdee) distributed outside of Emacs.
>
> Those timers should probably call accept-process-output. If you call
> accept-process-output with a timeout of 0, will it receive the output
> but not wait? If so, that is the right way.
>
> If not, then maybe we need to fix accept-process-output so as to make
> a way to do this.
>
> Could you check?
This is indeed the behavior of accept-process-output. I checked the
code, as well as the following test-case, which works fine.
(let (proc)
(setq foo 1 bar nil)
(push 1 bar)
(setq proc (start-process "asdf" (current-buffer) "ls" "/"))
(set-process-filter proc (lambda (proc string) (push string bar)))
(setq foo (accept-process-output proc 0))
(push 2 bar))
- Re: Clipboard hang on w32,
Chong Yidong <=