emacs-devel
[Top][All Lists]
Advanced

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

Re: How to stop find-grep-dired?


From: David Kastrup
Subject: Re: How to stop find-grep-dired?
Date: Sat, 19 Aug 2006 10:49:01 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Lennart Borgman <address@hidden> writes:

> David Kastrup wrote:
>> Lennart Borgman <address@hidden> writes:
>>
>>   
>>> BTW, how do you see if a process is asynchronous?
>>>     
>>
>> Emacs couldn't update the window otherwise.
>>   
> Yes, but how do you know that the process is async from elisp? Or is
> that maybe just a stupid question .... ;-)

Because of the way is was started.  call-process starts synchronous
processes (with the exception of a 0 argument for BUFFER, in which
case the process is detached), start-process starts asynchronous
processes.

> I was just thinking about stopping sync processes. Could that be done
> with C-g (maybe rewritten)?

The doc string for start-process already states

    If BUFFER is 0, `call-process' returns immediately with value nil.
    Otherwise it waits for PROGRAM to terminate and returns a numeric
    exit status or a signal description string.  If you quit, the
    process is killed with SIGINT, or SIGKILL if you quit again.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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