Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

benjaminf

  • 3 years ago

Running mit-scheme in emacs...how do I do it? Hi all, can anyone give me tips on using the interpreter? I can run mit-scheme in the shell and I can (separately) evaluate Lips processes in emacs with C-x C-e but I'm running into a brick wall trying to merge the two. Thanks!

  • This Question is Closed
  1. benjaminf
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    d3vin solved this by doing C-u M-x run-scheme in emacs, and it works for me too.

  2. jolisper
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Hi @benjaminf, The best tip I could give you by now is the following: 1. Download the xscheme.el file from: http://ftp.gnu.org/gnu/mit-scheme/utilities.pkg/xscheme.el 2. Copy the file to ~/.emacs.d/scheme/ (if directories does not exist, create them) 3. Add the following line to your ~/.emacs file: (load-library "xscheme") 4. Start your Emacs! Now when you edit a .scm file you can press M-x o to evaluate the whole buffer or mark a region and press C-M-z to evaluate the region. If you have a windows running the interpreter the result of the evaluation will print there otherwise, the result will be printed in the minibuffer. That's works great for me! I hope you find it useful too.

  3. benjaminf
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    @jolisper Thanks for the instructions. It looks like xscheme might use a somewhat different library than mit-scheme so I'm going to stick with what I've got for now and when I can better understand emacs (and the file system hierarchy on linux!) I'll come back to your suggestions. cheers.

  4. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy