This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Emacs with Guile
- To: Marius Vollmer <mvo at zagadka dot ping dot de>
- Subject: Re: Emacs with Guile
- From: Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>
- Date: 13 Mar 2000 10:34:45 +0100
- Cc: Keisuke Nishida <kxn30 at po dot cwru dot edu>, guile at sourceware dot cygnus dot com, rms at gnu dot org
- Cc: djurfeldt at nada dot kth dot se
- References: <m3itys7zu5.fsf@kei.cwru.edu> <877lf76ywq.fsf@zagadka.ping.de>
Marius Vollmer <mvo@zagadka.ping.de> writes:
> Keisuke Nishida <kxn30@po.cwru.edu> writes:
>
> > I'm trying embedding Guile in Emacs. This is not Guile-based Emacs,
> > but rather Emacs with Guile. That is, Emacs now has both Lisp and
> > Scheme interpreters independently; programmers can write their code
> > either in Emacs Lisp or in Guile Scheme, or even in both. My patch
> > provides some means to exchange objects between Lisp and Scheme.
>
> This is one great hack!
>
> One thought occured to me: maybe it is possible to increase the degree
> of integration by rewriting the Elisp interpreter to use the Guile
> data types directly. That is, pairs, symbols, numbers, etc are
> already there, and buffers, windows, etc get a thin smob layer.
Yeah, this is exactly the right strategy for integrating Guile in
Emacs. Step by step: First put Guile in Emacs, then successively move
over weight towards Guile. (Using Guile datatypes is one big step,
though.)