[slime-devel] [BUG] Completions for "," commands doesn't work

Ivan Boldyrev boldyrev+nospam at cgitftp.uiggm.nsc.ru
Thu Apr 15 05:56:17 UTC 2004


-----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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.5 (GNU/Linux)

iQEVAwUBQH4kBA4ALcwzZFpVAQI7aQf8Cqo5wAlUnL6Mxpx85yBSOFY/027iOaLe
TsbKT9CFL3qFoyC+lyIHEGLagM+BhMy6HjY1Vx7fwZvIT82etZyq/PWW1ji+Mv/+
7F0Jqd1ILL17Nfso+gsgG/ayslwGNIKwGO1H2jgEZ72E5H9pbVmwhrSbHPTFDIFg
wAfA2FzCrTwvA5Q5wtFuuOOrCYl54e9ZxpbA1Cn1x3Z2ojeE4yd6SFFc5Ah3lea2
WGfyohcxEdT5UdtgEntfp4t0oDBid0YcsWwcv30icclgC0ODq7p9ol3WrL6HPN9n
SNFPqXGzRoLGKYQkhmu46Yg6zG9gkWAqW9Dmlq2ssnTpgGydIjHbZA==
=m5E+
-----END PGP SIGNATURE-----





More information about the slime-devel mailing list