This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Emacs with Guile
- To: Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>
- Subject: Re: Emacs with Guile
- From: Jim Blandy <jimb at red-bean dot com>
- Date: 14 Mar 2000 10:18:03 -0500
- Cc: Marius Vollmer <mvo at zagadka dot ping dot de>, Keisuke Nishida <kxn30 at po dot cwru dot edu>, guile at sourceware dot cygnus dot com, rms at gnu dot org, djurfeldt at nada dot kth dot se
- References: <m3itys7zu5.fsf@kei.cwru.edu> <877lf76ywq.fsf@zagadka.ping.de> <xy7aek3usay.fsf@mdj.nada.kth.se>
> > 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.)
Right --- this is what Ken Raeburn has done.
The sticking point is strings. Emacs strings must be able to carry
multilingual text. If anyone is interested in carrying this out,
please get in touch with me.