What do you think about adding a hook to swank::dispatch-event, much alike the mechanism in slime-dispatch-event? The purpose would be to support any set of commands that the contribs add, or even the user, through .swank.lisp or any other means.
Right now, you can't send any command to Emacs that isn't in dispatch-event's destructuring-case.
Paulo Madeira