[slime-devel] Shortcuts disappearing?!

Person or Persons Unknown damned at theworld.com
Wed Aug 4 01:39:06 UTC 2004


(I just tracked the reason for a problem i have been
seeing... hopefully this is the right place to provide bug reports and
patches.)

I started using SLIME at the 1.0 alpha stage and just updated to 1.0
beta tonight and still have a problem with shortcuts disappearing.
The session will start out with all the shortcut commands but after
some actions i will only have a short list of shortcut commands.

I can consistently cause the problem by starting up SLIME, bringing up
the shortcut help (via ,help) and then trying to do it again (i
actually lose the help short cut so it fails! ,? will show two or
three shortcuts now).

The problem seems to be coming from the use of SORT* in
SLIME-LIST-REPL-SHORT-CUTS.  SORT* is a destructive function so the
SLIME-REPL-SHORTCUT-TABLE is being trashed.  Changing the code to call
COPY-SEQUENCE on SLIME-REPL-SHORTCUT-TABLE before calling SORT* seems
to do the trick.

Thanks for SLIME, it is really slick!

-Mark Simpson









More information about the slime-devel mailing list