Subject: Re: bug#895: slow processing of process output
From: Lars Magne Ingebrigtsen <[email-masked]>
To: Markus Triska <[email-masked]>
Cc: [email-masked], Dan Nicolaescu <[email-masked]>
Date: Thu, 30 Jun 2011 03:10:06 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Markus Triska <[email-masked]> writes:

> I can reproduce the problem on OSX, and could significantly improve the
> running time by setting process-connection-type to nil before doing the
> rgrep. Let rgrep.el consist of:
>
>    (grep-compute-defaults)
>    (setq process-connection-type nil)
>    (rgrep "emacs" "*.el" "~/emacs/lisp/")
>
>    (while (process-status "grep")
>      (sit-for 0.1))

I've now bound `process-connection-type' to nil in `rgrep' for Emacs 24.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/