From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: How to stop find-grep-dired? Date: Sat, 19 Aug 2006 12:40:31 +0200 Message-ID: <44E6EA9F.7080700@student.lu.se> References: <44E5DACB.10608@student.lu.se> <44E6C066.7010008@student.lu.se> <85hd09mao0.fsf@lola.goethe.zz> <44E6C73C.7030302@student.lu.se> <8564gpm8nb.fsf@lola.goethe.zz> <44E6CDA5.3080102@student.lu.se> <851wrdm7pe.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1155984055 9010 80.91.229.2 (19 Aug 2006 10:40:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 19 Aug 2006 10:40:55 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 19 12:40:52 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GEOFz-0005T6-9D for ged-emacs-devel@m.gmane.org; Sat, 19 Aug 2006 12:40:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GEOFy-0007aI-Qb for ged-emacs-devel@m.gmane.org; Sat, 19 Aug 2006 06:40:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GEOFn-0007ZA-Lq for emacs-devel@gnu.org; Sat, 19 Aug 2006 06:40:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GEOFm-0007Yx-J4 for emacs-devel@gnu.org; Sat, 19 Aug 2006 06:40:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GEOFm-0007Yu-FL for emacs-devel@gnu.org; Sat, 19 Aug 2006 06:40:34 -0400 Original-Received: from [81.228.8.83] (helo=pne-smtpout1-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GEOMf-0002ky-TN; Sat, 19 Aug 2006 06:47:42 -0400 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout1-sn2.hy.skanova.net (7.2.075) id 44A2E86F00A8E217; Sat, 19 Aug 2006 12:40:32 +0200 User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) Original-To: David Kastrup In-Reply-To: <851wrdm7pe.fsf@lola.goethe.zz> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:58510 Archived-At: 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.