This is the mail archive of the
guile-emacs@sourceware.cygnus.com
mailing list for the Guile project.
Re: Emacs Scheme interface
- To: Keisuke Nishida <kxn30 at po dot cwru dot edu>
- Subject: Re: Emacs Scheme interface
- From: Kalle Olavi Niemitalo <tosi at stekt dot oulu dot fi>
- Date: 28 Mar 2000 15:59:30 +0300
- Cc: guile-emacs at sourceware dot cygnus dot com
- References: <m3ln33ege5.fsf@kei.cwru.edu>
Many Emacs Lisp special forms like `save-excursion' take a list
of expressions to evaluate. In Scheme, it seems more common to
instead take a thunk to call: `dynamic-wind' and
`with-input-from-file' work this way.
Should the Scheme versions of `save-excursion' and others be
changed to take a thunk parameter? (Then they wouldn't even have
to be macros.)
The macros are more convenient, though. Perhaps we should
provide both a procedure `call-saving-excursion' and a macro
`save-excursion'.