[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: no binding to suspend a compilation
From: |
Kevin Rodgers |
Subject: |
Re: no binding to suspend a compilation |
Date: |
Tue, 10 Aug 2004 09:33:46 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
Dan Jacobson wrote:
> When we hit C-h m in the *compilation* buffer, we don't get the tidy
> table of keystrokes, just this English blurb about them.
Type `C-h b' for a comprehensive list of key bindings.
> Also there is no keystroke to suspend the compilation. To send it a
> C-z, so to say.
>
> I mean I had to go dig up its PID and send it a
> $ kill -STOP
>
> And of course remember also a binding to restart it later.
>
> kill-compilation is not always the appropriate choice for stopping things.
Given the very simple definition of kill-compilation (7 lines of lisp)
in compile.el and the availability of stop-process and
continue-process in process.c, it would be trivial to implement new
stop-compilation and continue-compilation commands and bind keys to
them in compilation-minor-mode-map (where `C-c C-k' is bound to
kill-compilation).
--
Kevin Rodgers
- Re: no binding to suspend a compilation,
Kevin Rodgers <=