-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
First, when I press comma just after Slime start, it works as self-insert char, not as command.
When I press <ENTER> and press comma in new REPL line, Emacs asks me a command. But autocompletion doesn't work: for example, when I press <TAB> to see a list of available completions, I see error message:
PC-do-completion: Wrong type argument: listp, "force-compile-system"
Here is stack trace:
Debugger entered--Lisp error: (wrong-type-argument listp "force-compile-system") all-completions("" ("force-compile-system" "compile-system" "load-system" "force-load-system" "compile-and-load" "defparameter" "!" "sayoonara" "resend-form" "pop-package" "-p" "push-package" "+p" "change-package" "!p" "pop-directory" "-d" "push-directory" "+d" "change-directory" "!d" "help" "?") nil) PC-do-completion(nil) PC-complete() call-interactively(PC-complete) completing-read("Command: " ("force-compile-system" "compile-system" "load-system" "force-load-system" "compile-and-load" "defparameter" "!" "sayoonara" "resend-form" "pop-package" "-p" "push-package" "+p" "change-package" "!p" "pop-directory" "-d" "push-directory" "+d" "change-directory" "!d" "help" "?") nil t nil slime-repl-shortcut-history) (slime-lookup-shortcut (completing-read "Command: " (slime-list-all-repl-shortcuts) nil t nil (quote slime-repl-shortcut-history))) (let ((command-spec ...)) (call-interactively (cdr ...))) (if (save-excursion (goto-char slime-repl-input-start-mark) (looking-at " *$")) (let (...) (call-interactively ...)) (insert (string slime-repl-shortcut-dispatch-char))) slime-handle-repl-shortcut() call-interactively(slime-handle-repl-shortcut)
As I understand, second argument of all-completions is assoc. list, not just list of strings (and documentation string for this function states the same).
GNU Emacs 21.3.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2003-09-20 on localhost
Slime was fetched from CVS last night (HEAD revision).
- -- Ivan Boldyrev
Violets are red, Roses are blue. // I'm schizophrenic, And so am I.