From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.emacs.devel Subject: Re: compilation-ask-about-kill Date: Wed, 06 Jan 2010 09:28:31 +1100 Organization: Bah Humbug Message-ID: <87zl4stcds.fsf@blah.blah> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1262738145 20172 80.91.229.12 (6 Jan 2010 00:35:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Jan 2010 00:35:45 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 06 01:35:38 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NSJs9-00058U-JJ for ged-emacs-devel@m.gmane.org; Wed, 06 Jan 2010 01:35:38 +0100 Original-Received: from localhost ([127.0.0.1]:59722 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSJsA-0007oz-3H for ged-emacs-devel@m.gmane.org; Tue, 05 Jan 2010 19:35:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSHtf-0000zb-Pp for emacs-devel@gnu.org; Tue, 05 Jan 2010 17:29:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSHtZ-0000tC-Lz for emacs-devel@gnu.org; Tue, 05 Jan 2010 17:29:02 -0500 Original-Received: from [199.232.76.173] (port=33240 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSHtZ-0000sw-HO for emacs-devel@gnu.org; Tue, 05 Jan 2010 17:28:57 -0500 Original-Received: from mailout2-16.pacific.net.au ([125.255.80.143]:33881 helo=mailout2.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NSHtY-000164-Vv for emacs-devel@gnu.org; Tue, 05 Jan 2010 17:28:57 -0500 Original-Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.2.163]) by mailout2.pacific.net.au (Postfix) with ESMTP id 7F8041AAD34 for ; Wed, 6 Jan 2010 09:28:52 +1100 (EST) Original-Received: from blah.blah (ppp26FC.dyn.pacific.net.au [61.8.38.252]) by mailproxy2.pacific.net.au (Postfix) with ESMTP id EDC362741A for ; Wed, 6 Jan 2010 09:28:51 +1100 (EST) Original-Received: from gg by blah.blah with local (Exim 4.71) (envelope-from ) id 1NSHt9-0002sZ-Ok for emacs-devel@gnu.org; Wed, 06 Jan 2010 09:28:31 +1100 In-Reply-To: (Alexander Klimov's message of "Tue, 5 Jan 2010 16:46:07 +0200") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:119479 Archived-At: Alexander Klimov writes: > > It would be nice to allow recompilation with a single key stroke even > if the previous compilation hangs. As a bit of shameless self-promotion, I made my compilation-always-kill.el for that and found it pretty good. http://user42.tuxfamily.org/compilation-always-kill/index.html If I want to protect a compile from killing that way then I rename the buffer in the usual way. I've found it best to kill only an M-x compile though, and leave M-x grep and other compile-derived things to ask yes-or-no. A grep is normally far shorter than a compile so a question for it doesn't come up often.