Ask your own question, for FREE!
MIT 6.001 Structure and Interpretation of Computer Programs, Spring 2005 18 Online
OpenStudy (anonymous):

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!

OpenStudy (anonymous):

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

OpenStudy (anonymous):

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.

OpenStudy (anonymous):

@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.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!