From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: How to stop find-grep-dired? Date: Sat, 19 Aug 2006 17:04:59 +0200 Message-ID: <85ac60lqas.fsf@lola.goethe.zz> 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> <44E6EA9F.7080700@student.lu.se> <85oduhknn3.fsf@lola.goethe.zz> <44E725F1.3010203@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1155999946 18910 80.91.229.2 (19 Aug 2006 15:05:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 19 Aug 2006 15:05:46 +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 17:05:44 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 1GESOG-0003Jz-Q8 for ged-emacs-devel@m.gmane.org; Sat, 19 Aug 2006 17:05:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GESOG-0000tV-4n for ged-emacs-devel@m.gmane.org; Sat, 19 Aug 2006 11:05:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GESO1-0000tH-W3 for emacs-devel@gnu.org; Sat, 19 Aug 2006 11:05:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GESO1-0000su-HD for emacs-devel@gnu.org; Sat, 19 Aug 2006 11:05:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GESO1-0000sq-Ey for emacs-devel@gnu.org; Sat, 19 Aug 2006 11:05:21 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GESUy-00034F-Ib for emacs-devel@gnu.org; Sat, 19 Aug 2006 11:12:32 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1GESNu-0001AN-0z; Sat, 19 Aug 2006 11:05:14 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id E570A1C4D3AD; Sat, 19 Aug 2006 17:04:59 +0200 (CEST) Original-To: Lennart Borgman In-Reply-To: <44E725F1.3010203@student.lu.se> (Lennart Borgman's message of "Sat, 19 Aug 2006 16:53:37 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:58513 Archived-At: Lennart Borgman writes: > Another problem perhaps. If C-g is bound to keyboard-quit I get > messages like this in the message buffer: > > QuitError during redisplay: (quit) > Error during redisplay: (quit) > >> It would also >> mean that the sequence to stop a process would need to be C-g y and I >> don't see the advantage over C-c C-k. >> > The advantage is that the user just have to remember C-g. > >> There is a concern that we should probably unify on this key sequence: >> for example, I have been bitten by C-c C-c actually killing a CVS >> process. >> > I agree with the principle but I would prefer C-g for similar reasons. I disagree. C-g is supposed to stop Emacs, not other processes. I don't consider it a good idea to have to worry about arbitrary processes terminating. IIRC, keyboard-quit events even cut straight across a lot of the input loop. It is probably not even useful to rebind them in local keymaps, since those keymaps might not be active at the time C-g is pressed. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum