Question

I am new to emacs and cannot figure out how to run Chicken Scheme through emacs. From the Chicken Scheme Wiki I came across a solution -- using cluck. So, I followed the directions in the cluck.el file and added(require 'cluck) to my .emacs file.

However, emacs can not load the .emacs file because it cannot open cluck. Here is the error message given by emacs:

Warning (initialization): An error occurred while loading `/Users/s2s2/.emacs':

File error: Cannot open load file, cluck

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the `--debug-init' option to view a complete error backtrace.

This link will take you to the cluck file on github. I think the problem with cluck is that I need the other files which it requires... Where would I get these.

  1. How can I run chicken scheme through emacs using cluck?
  2. Once emacs will read cluck what is the command to run the chicken scheme interpreter (csi) through emacs?
  3. How would I use the --debug-init option if I am actually using Aquamacs Emacs?

If you need more information, let me know. Thanks for all the help.

Was it helpful?

Solution

Press Control-h v, type load-path and press Enter. Emacs will print the paths from where it loads .el files. If the directory where your cluck.el resides isn't there, add it with the following line in your initialization file:

(add-to-list 'load-path "~/.emacs.d/cluck/")

This assumes you have your Cluck files inside ~/.emacs.d/cluck/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top