Richard Stallman <[EMAIL PROTECTED]> 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)) _______________________________________________ emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
