From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christopher Schmidt 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, 1 Sep 2012 16:29:01 +0100 (BST) Message-ID: <87y5kt92yp@ch.ristopher.com> References: <87ehms759q@ch.ristopher.com> <874nnit3f9@ch.ristopher.com> <1346512261.21458.140661122378029.2F7185E7@webmail.messagingengine.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1346513386 31837 80.91.229.3 (1 Sep 2012 15:29:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Sep 2012 15:29:46 +0000 (UTC) Cc: 12288@debbugs.gnu.org To: Martin Blais Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 01 17:29:47 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 1T7pdr-0005zW-4C for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Sep 2012 17:29:47 +0200 Original-Received: from localhost ([::1]:47992 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7pdo-0007hN-Dy for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Sep 2012 11:29:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7pdl-0007gX-Gh for bug-gnu-emacs@gnu.org; Sat, 01 Sep 2012 11:29:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T7pdk-0001eQ-Jb for bug-gnu-emacs@gnu.org; Sat, 01 Sep 2012 11:29:41 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51683) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7pdk-0001eM-Fr for bug-gnu-emacs@gnu.org; Sat, 01 Sep 2012 11:29:40 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T7pf3-0006CO-OL for bug-gnu-emacs@gnu.org; Sat, 01 Sep 2012 11:31:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Christopher Schmidt Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Sep 2012 15:31: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-Cc: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.134651343123748 (code B ref -1); Sat, 01 Sep 2012 15:31:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Sep 2012 15:30:31 +0000 Original-Received: from localhost ([127.0.0.1]:32996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T7peY-0006Aw-AQ for submit@debbugs.gnu.org; Sat, 01 Sep 2012 11:30:31 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51388) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T7peW-0006Al-90 for submit@debbugs.gnu.org; Sat, 01 Sep 2012 11:30:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T7pdB-0001T5-Q4 for submit@debbugs.gnu.org; Sat, 01 Sep 2012 11:29:06 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:57560) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7pdB-0001T1-N7 for submit@debbugs.gnu.org; Sat, 01 Sep 2012 11:29:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7pdA-0007eX-Pn for bug-gnu-emacs@gnu.org; Sat, 01 Sep 2012 11:29:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T7pd9-0001Sj-NY for bug-gnu-emacs@gnu.org; Sat, 01 Sep 2012 11:29:04 -0400 Original-Received: from ristopher.com ([146.185.21.93]:53951 helo=saturn.ch.ristopher.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7pd9-0001SV-7D for bug-gnu-emacs@gnu.org; Sat, 01 Sep 2012 11:29:03 -0400 Original-Received: by saturn.ch.ristopher.com (Postfix, from userid 0) id 887AF20D26; Sat, 1 Sep 2012 16:29:01 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ch.ristopher.com; s=mail; t=1346513341; bh=XGQjYWq6ztiGvbvvs08XTBOp6A61RRHKuw42xKFAgYY=; h=From:To:Cc:Subject:In-Reply-To:References:Message-ID:MIME-Version: Content-Type:Date; b=vqG1A9mq4yfU1NqwdbvljiTX4189jPQy05Rn9/9Tg+4miq59/W5GoIxMSm1WiJSBa LGBxaVC6WR+E4NZzG3p1qm2rVKE8NzIoTEsmYgAHG+HGDznELn/0UIfP3NRn6ERCHS EISnCJA6c9e571QQTr9GGoYuDGYAFFcdpuSLeCfQ= In-Reply-To: <1346512261.21458.140661122378029.2F7185E7@webmail.messagingengine.com> (Martin Blais's message of "Sat, 01 Sep 2012 11:11:01 -0400") Mail-Followup-To: Martin Blais , bug-gnu-emacs@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:63649 Archived-At: Martin Blais writes: > 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). This is exactly what I don't want. Those processes that have a nil query-on-exit-flag should be killed by compilation-start without a yes-or-no query. A buffer-local non-nil value for compilation-always-kill allows me to achieve that. I still think a check for query-on-exit-flag in compilation-start is a good idea. Non-nil query-on-exit-flag and non-nil buffer-local compilation-always-kill feels redundant, doesn't it? Christopher