emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#12288: closed (24.2.50; compilation-start: Query f


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#12288: closed (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 12:47:01 +0000

Your message dated Sat,  1 Sep 2012 13:45:10 +0100 (BST)
with message-id <address@hidden>
and subject line Re: bug#12288: 24.2.50; compilation-start: Query for killing 
existing compilation process only if query-on-exit-flag is non-nil
has caused the debbugs.gnu.org bug report #12288,
regarding 24.2.50; compilation-start: Query for killing existing compilation 
process only if query-on-exit-flag is non-nil
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
12288: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12288
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.2.50; compilation-start: Query for killing existing compilation process only if query-on-exit-flag is non-nil Date: Mon, 27 Aug 2012 15:56:31 +0100 (BST)
Severity: wishlist

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.
=== modified file 'lisp/ChangeLog'
--- lisp/ChangeLog      2012-08-27 09:05:55 +0000
+++ lisp/ChangeLog      2012-08-27 14:48:56 +0000
@@ -1,3 +1,9 @@
+2012-08-27  Christopher Schmidt  <address@hidden>
+
+       * progmodes/compile.el (compilation-start): Query for killing
+       existing compilation process only if query-on-exit-flag is non-nil
+       (Bug#).
+
 2012-08-27  Drew Adams  <address@hidden>
 
        * dired.el (dired-pop-to-buffer): Make window start at beginning

=== modified file 'lisp/progmodes/compile.el'
--- lisp/progmodes/compile.el   2012-08-26 13:42:18 +0000
+++ lisp/progmodes/compile.el   2012-08-27 14:47:23 +0000
@@ -1537,6 +1537,7 @@
       (let ((comp-proc (get-buffer-process (current-buffer))))
        (if comp-proc
            (if (or (not (eq (process-status comp-proc) 'run))
+                   (not (process-query-on-exit-flag comp-proc))
                    (yes-or-no-p
                     (format "A %s process is running; kill it? "
                             name-of-mode)))

        Christopher

--- End Message ---
--- Begin Message --- Subject: Re: 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 13:45:10 +0100 (BST)
Stefan Monnier <address@hidden> writes:
>> This variable does not help me as occasionally I want to be asked
>> whether I would like to kill the compilation process.
>
> Would setting the variable buffer-locally solve that problem?

It does.

        Christopher


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]