emacs-devel
[Top][All Lists]
Advanced

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

Re: delete-process bug


From: Kim F. Storm
Subject: Re: delete-process bug
Date: Fri, 02 Jun 2006 09:46:35 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

address@hidden (Michaël Cadilhac) writes:

> Oh, well, just that the code in ispell I propose to change used is
> following:
>
>         (process-send-eof ispell-process)
>         (if (eq (ispell-process-status) 'run)
>             (ispell-accept-output 1))
>         (if (eq (ispell-process-status) 'run)
>             (kill-process ispell-process))
>         (while (not (or (eq (ispell-process-status) 'exit)
>                         (eq (ispell-process-status) 'signal)))
>           (sleep-for 0.25)))
>
> So, was the timeout useful or at least meaningful in that case?

Maybe as a safety valve in case the process didn't terminate after being fed 
the EOF.

Using delete-process as you suggested seems much better, indeed.


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





reply via email to

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