Quantcast

A community for students. Sign up today!

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

benjaminf

  • 2 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
    • 2 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
    • 2 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
    • 2 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

Ask a Question
Find more explanations on OpenStudy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.