David | 13 Jan 2003 16:18

how to abort a function

I wrote this some time ago but was unable to post to ilisp-help (a
now-resolved problem with my ISP, nothing wrong with the ilisp list).

> Pascal Bourguignon <pjb <at> informatimago.com> 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
(Continue reading)


Gmane