running scheme from emacs

后端 未结 4 1937
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-16 16:47

I\'m a newbie to LISP.

I am attempting to invoke the scheme interpreter from within emacs (version 23 running on windows). I loaded the xscheme library by telling em

4条回答
  •  孤城傲影
    2020-12-16 17:22

    Add this line to your .emacs file:

    (setq scheme-program-name "gsi")
    

    (Replace "gsi" with the name of your Scheme interpreter.)

    You can then start the interpreter with M-x run-scheme. You can evaluate pieces of code by using C-x C-e (to evaluate the sexp before the point) or with C-M-x to evaluate the sexp you're in right now. You can also load a file with C-c C-l.

提交回复
热议问题