From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Martin Blais Newsgroups: gmane.emacs.bugs Subject: bug#12288: 24.2.50; compilation-start: Query for killing existing compilation process only if query-on-exit-flag is non-nil Date: Sat, 01 Sep 2012 11:11:01 -0400 Message-ID: <1346512261.21458.140661122378029.2F7185E7@webmail.messagingengine.com> References: <87ehms759q@ch.ristopher.com> <874nnit3f9@ch.ristopher.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1346512308 23570 80.91.229.3 (1 Sep 2012 15:11:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Sep 2012 15:11:48 +0000 (UTC) To: christopher@ch.ristopher.com, 12288@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 01 17:11:49 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T7pMQ-0000jX-US for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Sep 2012 17:11:47 +0200 Original-Received: from localhost ([::1]:42088 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7pMO-0003qI-AS for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Sep 2012 11:11:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7pML-0003qA-OJ for bug-gnu-emacs@gnu.org; Sat, 01 Sep 2012 11:11:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T7pMK-0005Eo-O9 for bug-gnu-emacs@gnu.org; Sat, 01 Sep 2012 11:11:41 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51672) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7pMK-0005Ek-Kk for bug-gnu-emacs@gnu.org; Sat, 01 Sep 2012 11:11:40 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T7pNd-0005is-Rb for bug-gnu-emacs@gnu.org; Sat, 01 Sep 2012 11:13:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Martin Blais Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Sep 2012 15:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12288 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: Christopher Schmidt , bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.134651235221963 (code B ref -1); Sat, 01 Sep 2012 15:13:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Sep 2012 15:12:32 +0000 Original-Received: from localhost ([127.0.0.1]:32985 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T7pNA-0005iC-H1 for submit@debbugs.gnu.org; Sat, 01 Sep 2012 11:12:32 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50384) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T7pN8-0005i5-Rm for submit@debbugs.gnu.org; Sat, 01 Sep 2012 11:12:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T7pLo-0004vs-2H for submit@debbugs.gnu.org; Sat, 01 Sep 2012 11:11:08 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:51643) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7pLn-0004vo-Ux for submit@debbugs.gnu.org; Sat, 01 Sep 2012 11:11:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41254) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7pLn-0003nP-0O for bug-gnu-emacs@gnu.org; Sat, 01 Sep 2012 11:11:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T7pLk-0004tE-9x for bug-gnu-emacs@gnu.org; Sat, 01 Sep 2012 11:11:06 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:59785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7pLk-0004oQ-5P for bug-gnu-emacs@gnu.org; Sat, 01 Sep 2012 11:11:04 -0400 Original-Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 3A1D52117B; Sat, 1 Sep 2012 11:11:01 -0400 (EDT) Original-Received: from betaweb1.nyi.mail.srv.osa ([10.202.2.10]) by compute2.internal (MEProxy); Sat, 01 Sep 2012 11:11:02 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:subject:date:in-reply-to :references; s=smtpout; bh=9iHQr5dDNN7C9n6UL6YLDshCjXQ=; b=sror/ cv60UYkglTITZjdsYZ1HmhvTc7hfZqnzK5UTiDXDWMZoeg9kAjb2LWpXxJgkTG4x N4E18PfoIklYBEY9yDywL5M7BqpnfTCFgSxR+a2lssmfQGhpCUJSCADPh4pHRIxk 8+m6Ak5wuFiQh9thv5Z3rBI7WCJ4WwsH7HivF8= Original-Received: by betaweb1.nyi.mail.srv.osa (Postfix, from userid 99) id ADCB162B379; Sat, 1 Sep 2012 11:11:01 -0400 (EDT) X-Sasl-Enc: 23AdhkoXT8A2bIZwO1MpfoqJFnGW/QwAzLjm41sXwg1f 1346512261 X-Mailer: MessagingEngine.com Webmail Interface In-Reply-To: <874nnit3f9@ch.ristopher.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:63648 Archived-At: I'm not sure I understand. Let's recap a bit: a. in 'compilation-start-hook, there's a hint that you can force the process-query-on-exit-flag on the compile process; that would presumably allow you to kill the buffer without a query, but not on a subsequent call to compile. (BTW I just tried the suggested hook as is and it doesn't work for me, but that's another issue). b. compilation-always-kill can now be set to 't to suppress the query on another invocation to compile. Note that the new variable does not change the current behaviour, the default value is to ask. This should not affect what happens when you try to kill the buffer on a running process. So I don't understand the question. Which of the events are you referring to? (a) or (b)? And if (b), given that the variable does not change the behaviour, what do you mean? On Sat, Sep 1, 2012, at 06:58, Christopher Schmidt wrote: > Christopher Schmidt writes: > > I find it annoying that compilation-start always asks before killing > > the previous (running) compilation process. I think > > process-query-on-exit-flag should be taken into account here. > > Revno 109813 introduces variable compilation-always-kill which, if > non-nil, unconditionally removes the query for killing the compilation > process. > > This variable does not help me as occasionally I want to be asked > whether I would like to kill the compilation process. > > Can both compilation-always-kill and query-on-exit-flag be taken into > account? > > Christopher