unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* no binding to suspend a compilation
@ 2004-08-06  3:16 Dan Jacobson
       [not found] ` <E1BubTf-0001FC-9y@fencepost.gnu.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Jacobson @ 2004-08-06  3:16 UTC (permalink / raw)


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.

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: no binding to suspend a compilation
       [not found] <mailman.519.1092081668.2011.bug-gnu-emacs@gnu.org>
@ 2004-08-10 15:33 ` Kevin Rodgers
  0 siblings, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2004-08-10 15:33 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: no binding to suspend a compilation
       [not found] ` <E1BubTf-0001FC-9y@fencepost.gnu.org>
@ 2004-08-10 22:14   ` Dan Jacobson
  0 siblings, 0 replies; 3+ messages in thread
From: Dan Jacobson @ 2004-08-10 22:14 UTC (permalink / raw)


     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.

RMS> Why is that a problem?
"I want my standard table of bindings, just like my Cheerios for
breakfast. Otherwise my day starts off incorrect."

RMS> Are commands missing?

Well, if there were, they wouldn't be missing if you automatically
generated the table,

RMS> If so, which ones?

Well, OK, I thus hit C-h b, and low and behold:

Major Mode Bindings: [By the way, DO say _which_ major mode, here in C-h b]
key             binding
---             -------

:		compilation-send-line:tt
q		quit-window
DEL		scroll-down
SPC		scroll-up
ESC		Prefix Command
RET		compile-goto-error
C-c		Prefix Command
<mouse-2>	compile-mouse-goto-error

ESC }		compilation-next-file
ESC {		compilation-previous-file
ESC p		compilation-previous-error
ESC n		compilation-next-error

C-c C-k		kill-compilation
C-c C-c		compile-goto-error

Plenty more than frozen C-h m tells us. Lots apparently from my
.emacs. All fair game.

So what do you think about that, Stallllman, as Austin Powers would
say :-) :-) :-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-08-10 22:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.519.1092081668.2011.bug-gnu-emacs@gnu.org>
2004-08-10 15:33 ` no binding to suspend a compilation Kevin Rodgers
2004-08-06  3:16 Dan Jacobson
     [not found] ` <E1BubTf-0001FC-9y@fencepost.gnu.org>
2004-08-10 22:14   ` Dan Jacobson

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).