Re: how to abort a function

Hannu Koivisto <[email protected]> Sun, 15 Dec 2002 21:11:46 +0200
Newsgroups gmane.lisp.ilisp.general
Message-ID <[email protected]>
Pascal Bourguignon <[email protected]> writes:

> Why the  quite useful function comint-interrupt-subjob  is not mapped
> to the keyboard in the subjob window?

It seems you are using FSF bindings (this is selectable, see the
manual) where the binding for compile-defun-lisp conflicts with the
traditional subjob interruption binding.  Why the former is favored
over the latter in the inferior Lisp buffer is probably just an
oversight.

> For now,  to stop a  lisp program, I  can only kill the  buffer (which
> gives me: error in process  filter: Selecting deleted buffer [8 times]

Huh?  A command doesn't need to be bound to a key combination for
you to be able to invoke it.  That would be insane.  You can always
say M-x interrupt-subjob-ilisp RET or use the menu.

And customizability of Emacs isn't there just for the heck of it,
so if you find keybindings suboptimal, make your own bindings.

> I note that there is a lisp-bindings function called by ilisp-bindings
> over   possibly   these   maps:  ilisp-mode-map,   lisp-mode-map   and
> scheme-mode-map,  which puts  interrupt-subjob-ilisp  in the  \C-c\C-c
> slot of the keymap, but when I type:

Yes, but if you read it further, you'll (maybe) see that
compile-defun-lisp is also bound to C-c C-c.

-- 
Hannu
Please don't send copies of list mail


-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/