mit-scheme swank backend reports: error in process filter: Can't find suitable coding-system
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Slime |
New
|
Undecided
|
Unassigned |
Bug Description
mit-scheme fails to startup:
It reports:
error in process filter: Can't find suitable coding-system
--------------- Scheme Version: 9.1.1
--------------- Slime Version: 2012-01-06
--------------- Relevant .emacs config:
;;;;;;;
; (setq inferior-
(setq inferior-
(add-to-list 'load-path "~/slime/") ; your SLIME directory
(require 'slime)
(slime-setup '(slime-fancy))
;;;;;;;
;; mit-scheme swank backend config
(setq slime-lisp-
'((mit-scheme ("mit-scheme") :init mit-scheme-init)))
(defun mit-scheme-init (file encoding)
(format "%S\n\n"
`(begin
(load-option 'format)
(load-option 'sos)
(eval
'
(vector) (vector) (vector) false))
(
(load ,(expand-file-name
"
slime-path)
(->environment '(swank)))
(eval '(start-swank ,file) (->environment '(swank))))))
(defun mit-scheme ()
(interactive)
(slime 'mit-scheme))
(defun find-mit-
(save-excursion
(let ((case-fold-search t))
(and (re-search-backward "^[;]+ package: \\((.+)\\).*$" nil t)
(match-
(setq slime-find-
(add-hook 'scheme-mode-hook (lambda () (slime-mode 1)))
-------------------
Debugger Backtrace
Debugger entered--Lisp error: (error "Can't find suitable coding-system")
signal(error ("Can't find suitable coding-system"))
error("Can't find suitable coding-system")
(or (find (symbol-name ...) candidates :test (lambda ... ...)) (car candidates) (error "Can't find suitable coding-system"))
(let ((candidates ...)) (or (find ... candidates :test ...) (car candidates) (error "Can't find suitable coding-system")))
slime-
(let ((slime-
(let* ((--cl-rest-- ...) (package ...) (prompt ...)) (setf (slime-
(progn (let* (... ... ...) (setf ... package) (setf ... prompt)))
(destructurin
slime-
run-hooks(
(let ((args ...)) (when-let (name ...) (unless ... ...)) (slime-
(let ((slime-
slime-
apply(
(lambda (&rest more) (apply (quote slime-set-
funcall((lambda (&rest more) (apply (quote slime-set-
(progn (set-buffer (symbol-value G50298)) (funcall (symbol-value G50299) result))
(if (symbol-value G50299) (progn (set-buffer ...) (funcall ... result)))
(let* ((--cl-rest-- rand-50296) (result ...)) (if (symbol-value G50299) (progn ... ...)))
(cond ((eql op-50295 ...) (let* ... ...)) ((eql op-50295 ...) (let* ... ...)) (t (error "Elisp destructure-case failed: %S" tmp-50297)))
(let* ((tmp-50297 G50294) (op-50295 ...) (rand-50296 ...)) (cond (... ...) (... ...) (t ...)))
(lambda (G50298 G50299 G50294) (let* (... ... ...) (cond ... ... ...)))(--buffer-- --cont-- (:ok (:pid 8271 :package (:name "(user)" :prompt "(user)") :lisp-implement
apply((lambda (G50298 G50299 G50294) (let* (... ... ...) (cond ... ... ...))) --buffer-- --cont-- (:ok (:pid 8271 :package (:name "(user)" :prompt "(user)") :lisp-implement
(lambda (&rest --cl-rest--) (apply (lambda ... ...) (quote --buffer--) (quote --cont--) --cl-rest--))((:ok (:pid 8271 :package (:name "(user)" :prompt "(user)") :lisp-implement
slime-
slime-
slime-
For me it is the very similar for chicken-slime.