This is the mail archive of the guile-emacs@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Elisp translator work finished (for now)


>>>>> "thi" == Thien-Thi Nguyen <ttn@giblet.glug.org> writes:

    thi> this is really cool stuff!

    thi> i modified lang/elisp/base.scm `load-emacs' like so:

    thi> (defun load-emacs (&optional new-load-path)
    thi>   (message "load-path: %s" load-path)
    thi>   (cond (new-load-path
    thi>          (message "Setting load-path to: %s" new-load-path)
    thi>          (setq load-path new-load-path)))
    thi>   (message "load-path: %s" load-path)
    thi>   (scheme (read-set! keywords 'prefix))
    thi>   (message "Calling loadup.el to clothe the bare Emacs...")
    thi>   (load "loadup.el")
    thi>   (message "Guile Emacs now fully clothed"))

    thi> and then tried to write examples/lang-elisp/load-emacs (below) w/o
    thi> success; the 20.7 loadup.el is still being searched instead of what i
    thi> specified.  didn't get a chance to look further, but here's a short log
    thi> of the output:

    thi> cd /home/ttn/tmp/.tmp/examples/lang-elisp/
    thi> ./load-emacs
    thi> load-path: ("/usr/share/emacs/20.7/lisp/" "/usr/share/emacs/20.7/lisp/emacs-lisp/")
    thi> Setting load-path to: ("/home/ttn/build/.gnu/emacs/lisp" "/home/ttn/build/.gnu/emacs/lisp/emacs-lisp")
    thi> load-path: ("/home/ttn/build/.gnu/emacs/lisp" "/home/ttn/build/.gnu/emacs/lisp/emacs-lisp")
    thi> (#<primitive-procedure eval> (#<primitive-macro! quote> (read-set! keywords (quote prefix))) #<directory (guile-user) 8083260>)
    thi> Calling loadup.el to clothe the bare Emacs...
    thi> Loading /usr/share/emacs/20.7/lisp/loadup.el...
    thi> Using load-path ("/home/ttn/build/.gnu/emacs/lisp" "/home/ttn/build/.gnu/emacs/lisp/emacs-lisp")
    thi> ERROR: Signalling file-error with data ("Cannot open load file" "byte-run")

Strange.  I'll have a look...  Thanks for your interest and the report!

        Neil


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]