public inbox for guile-emacs@sourceware.org
 help / color / mirror / Atom feed
From: Keisuke Nishida <kxn30@po.cwru.edu>
To: Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
Cc: guile-emacs@sourceware.cygnus.com
Subject: Re: Emacs Scheme interface
Date: Tue, 28 Mar 2000 10:27:00 -0000	[thread overview]
Message-ID: <m3d7oft0gp.fsf@kei.cwru.edu> (raw)
In-Reply-To: <87n1njuww0.fsf@PC486.Niemitalo.LAN>

Kalle Olavi Niemitalo <tosi@ees2.oulu.fi> writes:

> If a Lisp reference is needed, one can call
> (lisp-eval '(current-global-map)).

I don't think it is a good interface.  It is harder to understand and
may not work in the future.

I think a better way to get around this is to define a GOOPS class
for keymaps and define suitable procedures which call Lisp functions
appropriately as you may think in your mind.  If (current-global-map)
always returns a list, we can't do that.

> IIRC, SCWM keeps its modules under (app scwm ...).  Perhaps Emacs
> modules should be (app emacs ...).

Is that a convention among Guile applications?  If there is no such
convention yet, we should talk to the Guile team.  In my opinion,
such a declaration like (use-modules (app emacs majormode scheme))
is a little bit long...  An Guile application often adds its own
primitives (e.g., lisp-eval) and the scheme programs does not work
with other applications, which means the scheme programs should be
installed separately from Guile's shared directory, so omitting
`app' will not hurt anyone.

> I would really like thread support in Emacs Scheme.  Multiple
> threads should be able to process different buffers at the same
> time.  Perhaps the "current buffer" should be thread-local.

Me too, but as long as we use the current Lisp functions, it may be
hard to work around...  Have you tried Guile's multithread supoprt
with Guile Emacs?  Does it work well?

  reply	other threads:[~2000-03-28 10:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-27 22:51 Keisuke Nishida
2000-03-28  4:01 ` Kalle Olavi Niemitalo
2000-03-28 10:27   ` Keisuke Nishida [this message]
2000-03-28 11:37     ` Ken Raeburn
2000-03-28 23:06     ` Kalle Olavi Niemitalo
2000-03-29 16:57       ` Keisuke Nishida
2000-03-28 11:43 ` Kalle Olavi Niemitalo
2000-03-28 12:23   ` Keisuke Nishida
2000-03-29  2:33     ` Kalle Olavi Niemitalo
2000-03-29 17:09       ` Keisuke Nishida
2000-04-30 12:08         ` Kalle Olavi Niemitalo
2000-03-31 17:48 ` Keisuke Nishida
2000-03-31 22:42   ` Klaus Schilling
2000-04-01  9:02     ` Keisuke Nishida

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=m3d7oft0gp.fsf@kei.cwru.edu \
    --to=kxn30@po.cwru.edu \
    --cc=guile-emacs@sourceware.cygnus.com \
    --cc=tosi@ees2.oulu.fi \
    /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).