This is the mail archive of the
guile-emacs@sourceware.cygnus.com
mailing list for the Guile project.
Re: automating %load-path
- To: guile-emacs at sourceware dot cygnus dot com
- Subject: Re: automating %load-path
- From: Kalle Olavi Niemitalo <tosi at stekt dot oulu dot fi>
- Date: 14 Apr 2000 10:28:58 +0300
- References: <87og81zwk3.fsf@PC486.Niemitalo.LAN>
Kalle Olavi Niemitalo <tosi@ee.oulu.fi> writes:
> 5. Create a new module (emacs init) and place all Scheme
> initialization code there. This could load (emacs io).
>
> 6. Load (emacs init) from lisp/startup.el.
I have committed these changes.
There is a bug; I now get the following error on startup:
> No such function: scheme-interaction-mode
This message comes from Guile. `scheme-interaction-mode' exists
as a Lisp function, and in the (emacs guile) module as a Scheme
function, but the default module does not use (emacs guile) and
so the Lisp-to-Scheme call fails. This can be worked around by
doing M-: (scheme-eval '(use-modules (emacs guile))) after
getting the error.
I guess a real fix involves changing `define-command' so that it
makes the Lisp part of the command always call the Scheme part
from the correct module. I haven't yet figured out how to do
this. This will perhaps be affected when Guile gets its new
module system, but I don't think we should wait for that.