0

小柄なchezスキームをインストールし、.el構成ファイルを次のように使用しました-私の.emacsファイル:

    (add-to-list 'load-path "/home/lambda/slime-2013-04-05")  ; your SLIME directory
    (setq inferior-lisp-program "/usr/bin/clisp") ; your Lisp system
    (require 'slime)
    (slime-setup)
    (setq slime-protocol-version 'ignore) 

    ;;petite scheme setup
    (setq scheme-program-name "/home/lambda/csv8.4/custom/petite")
    (load-file                "/home/lambda/.emacs.d/scheme-setup.el")


(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(custom-enabled-themes (quote (tango-dark))))
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 )

(add-hook 'lisp-mode-hook '(lambda ()
  (local-set-key (kbd "RET") 'newline-and-indent)))


(if (fboundp 'global-font-lock-mode)
    (global-font-lock-mode 1)        ; GNU Emacs
  (setq font-lock-auto-fontify t))   ; XEmacs

私が使用しているscheme-setup.elファイルは次のとおりです。

https://github.com/tiljeset/emacs/blob/master/scheme-setup.el

今、私がするとき

$ emacs -nw -f run-scheme

でコンパイルするとC-c C-k、次のエラーが表示されます。

Exception in compile-file: compile package is not loaded
Type (debug) to enter the debugger.

REPLで。この問題の原因は何ですか?

(compile-file filename.ss)

同じエラーが発生します。

4

1 に答える 1

1

コンパイルパッケージを購入する必要があります。www.scheme.comでの説明。

于 2013-10-27T12:17:02.730 に答える