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: Lennart Borgman
Subject: Re: How to stop find-grep-dired?
Date: Sat, 19 Aug 2006 12:40:31 +0200
User-agent: Thunderbird 1.5.0.5 (Windows/20060719)

David Kastrup wrote:
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.
Thanks David. (You mean the doc string for call-process of course.)

It is BTW a bit hard to understand what "if you quit" means here, but it is described in "(elisp) Synchronous Processes" I see now. Maybe the doc string needs a bit more explanation?

From this info node:

  While Emacs waits for the synchronous subprocess to terminate, the
  user can quit by typing `C-g'.

Why not have this behaviour for async processes too then? Ambigouties can perhaps be removed by that little question I added to my suggestion in another message.




reply via email to

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