From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kalle Olavi Niemitalo To: guile-emacs@sourceware.cygnus.com Subject: Re: automating %load-path Date: Fri, 14 Apr 2000 00:29:00 -0000 Message-id: <874s959m4l.fsf@PC486.Niemitalo.LAN> References: <87og81zwk3.fsf@PC486.Niemitalo.LAN> X-SW-Source: 2000-q2/msg00006.html Kalle Olavi Niemitalo 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.