This is the mail archive of the guile-emacs@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Emacs Scheme interface


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'.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]