[slime-devel] Re: comma shortcut doesn't work always

Edi Weitz edi at agharta.de
Tue Jan 31 09:10:10 UTC 2006


On Tue, 31 Jan 2006 12:33:11 +1100, Mark Triggs <mark at dishevelled.net> wrote:

> I seem to be able to reproduce this reliably, but it only occurs
> when I first start a new inferior lisp process.  To reproduce it I
> make sure there are no REPL or inferior-lisp buffers still around,
> then run `M-x slime' to start everything up.  When the REPL buffer
> appears (after the animation plays), typing "," inserts a literal
> comma.  If I backspace that comma and type another,
> `slime-handle-repl-shortcut' runs correctly.  Does anyone else see
> this?

I can't reproduce it like this, unfortunately.  As I said, for me it
only happens sometimes and I haven't seen a pattern yet.

> I notice `slime-init-connection-state' has a comment that reads:
>
>   ;; We do the rest of our initialization asynchronously. The current
>   ;; function may be called from a timer, and if we setup the REPL
>   ;; from a timer then it mysteriously uses the wrong keymap for the
>   ;; first command.
>
> which would seem to explain what I'm seeing.

If timers are involved then maybe it depends on how fast you type the
comma or something like that?

Cheers,
Edi.



More information about the slime-devel mailing list