public inbox for guile-emacs@sourceware.org
 help / color / mirror / Atom feed
From: Thien-Thi Nguyen <ttn@giblet.glug.org>
To: neil@ossau.uklinux.net
Cc: guile-devel@gnu.org, guile-emacs@sources.redhat.com
Subject: Re: Elisp translator work finished (for now)
Date: Mon, 11 Feb 2002 14:38:00 -0000	[thread overview]
Message-ID: <E16aP4D-0000Br-00@giblet> (raw)
In-Reply-To: <m3zo2k6vjd.fsf@laruns.ossau.uklinux.net> (message from Neil Jerram on 08 Feb 2002 11:51:50 +0000)

   From: Neil Jerram <neil@ossau.uklinux.net>
   Date: 08 Feb 2002 11:51:50 +0000

   Comments are (of course) welcome.

this is really cool stuff!

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

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

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

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

thi


___________________________________________
#!/bin/sh
#-*-emacs-lisp-*-
# this file is examples/lang-elisp/load-emacs so top-builddir is two levels up
exec /home/ttn/build/.gnu/guile-core/pre-inst-guile ../.. -s $0 "$@"
!#

(use-modules (lang elisp interface))
(load-emacs '("/home/ttn/build/.gnu/emacs/lisp"
              "/home/ttn/build/.gnu/emacs/lisp/emacs-lisp"))
            
;;(princ "HELLO!\n\n\n\n\n")

  reply	other threads:[~2002-02-11 22:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-08  3:53 Neil Jerram
2002-02-11 14:38 ` Thien-Thi Nguyen [this message]
2002-02-12 14:38   ` Neil Jerram
2002-02-12 14:59     ` Neil Jerram
2002-02-13 13:47       ` Neil Jerram

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E16aP4D-0000Br-00@giblet \
    --to=ttn@giblet.glug.org \
    --cc=guile-devel@gnu.org \
    --cc=guile-emacs@sources.redhat.com \
    --cc=neil@ossau.uklinux.net \
    --cc=ttn@glug.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).