Combining Emacs and Gambit
I've reviewed the web page on this and have: 1) Created a .emacs file in the /home/steve/emacs.d directory and put the following lines in it: (autoload 'gambit-inferior-mode "gambit" "Hook Gambit mode into cmuscheme.") (autoload 'gambit-mode "gambit" "Hook Gambit mode into scheme.") (add-hook 'inferior-scheme-mode-hook (function gambit-inferior-mode)) (add-hook 'scheme-mode-hook (function gambit-mode)) (setq scheme-program-name "gsi -:d-") 2) I've copied gambit.el into the same directory from /usr/lib/gambit/misc/gambit.el When I start emacs, and key M-x run-scheme, emacs responds with: Searching for program: no such file or directory, scheme Any help on how to integrate emacs with Gambit? Thanks, Steve
Afficher les réponses par date
Thanks, Ben. So I moved both .emacs and gambit.el to /home/steve, ran emacs, and keyed in M-x run-scheme. Emacs now says: Cannot open load file: gambit ________________________________ From: Ben Goetter <goetter@mazama.net> To: Steve Graham <jsgrahamus@yahoo.com> Cc: Gambit List <Gambit-list@iro.umontreal.ca> Sent: Thursday, February 21, 2013 9:45 AM Subject: Re: [gambit-list] Combining Emacs and Gambit .emacs goes in your home directory, not your emacs.d directory. On 2/21/2013 8:41 AM, Steve Graham wrote: I've reviewed the web page on this and have:
1) Created a .emacs file in the /home/steve/emacs.d directory and put the following lines in it:
emacs itself doesn't look in your home directory for .el and .elc files. See http://emacswiki.org/emacs/LoadPath On 2/21/2013 8:52 AM, Steve Graham wrote:
Thanks, Ben.
So I moved both .emacs and gambit.el to /home/steve, ran emacs, and keyed in M-x run-scheme. Emacs now says:
Cannot open load file: gambit ------------------------------------------------------------------------ *From:* Ben Goetter <goetter@mazama.net> *To:* Steve Graham <jsgrahamus@yahoo.com> *Cc:* Gambit List <Gambit-list@iro.umontreal.ca> *Sent:* Thursday, February 21, 2013 9:45 AM *Subject:* Re: [gambit-list] Combining Emacs and Gambit
.emacs goes in your home directory, not your emacs.d directory.
On 2/21/2013 8:41 AM, Steve Graham wrote:
I've reviewed the web page on this and have: 1) Created a .emacs file in the /home/steve/emacs.d directory and put the following lines in it:
Success! Thanks so much, Ben. Steve ________________________________ From: Ben Goetter <goetter@mazama.net> To: Steve Graham <jsgrahamus@yahoo.com> Cc: Gambit List <Gambit-list@iro.umontreal.ca> Sent: Thursday, February 21, 2013 10:00 AM Subject: Re: [gambit-list] Combining Emacs and Gambit emacs itself doesn't look in your home directory for .el and .elc files. See http://emacswiki.org/emacs/LoadPath On 2/21/2013 8:52 AM, Steve Graham wrote: Thanks, Ben.
So I moved both .emacs and gambit.el to /home/steve, ran emacs,
and keyed in M-x run-scheme. Emacs now says:
Cannot open load file: gambit
________________________________ From: Ben Goetter <goetter@mazama.net> To: Steve Graham <jsgrahamus@yahoo.com> Cc: Gambit List <Gambit-list@iro.umontreal.ca> Sent: Thursday, February 21, 2013 9:45 AM Subject: Re: [gambit-list] Combining Emacs and Gambit
.emacs goes in your home directory, not your emacs.d directory.
On 2/21/2013 8:41 AM, Steve Graham wrote:
I've reviewed the web page on this and have:
1) Created a .emacs file in the /home/steve/emacs.d
directory and put the following lines in it:
participants (3)
-
Ben Goetter -
Hendrik Boom -
Steve Graham