From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keisuke Nishida To: Kalle Olavi Niemitalo Cc: guile-emacs@sourceware.cygnus.com Subject: Re: special forms (save-excursion) Date: Wed, 15 Mar 2000 12:42:00 -0000 Message-id: References: <87n1o1p9kt.fsf@PC486.Niemitalo.LAN> <874sa8azw4.fsf@PC486.Niemitalo.LAN> X-SW-Source: 2000-q1/msg00018.html Kalle Olavi Niemitalo writes: > But the macros made with define-macro (what is the difference > between that and defmacro?) are not hygienic by default. Should > we hygienize each of them separately, or do we just give people a > list of symbols which they must not rebind when using the macros? I don't know either about the difference of those two... Guile provides some procedures like procedure->syntax, so using them might be the best for now. My policy for the moment is, "Anything is OK, as long as it works." We have to be careful choosing API, though. (like import-*) > R5RS doesn't say what () evaluates to, so it would be better to > quote it. > > I believe "sexp" means the usual printed form of an expression. > The parameter of lisp-false? is the object itself, not a printed > form. Use "obj" instead. Right. Thanks. > > (define-public (lisp-variable-set! symbol value) > > (lisp-eval `(setq ,symbol ,value))) > > The value should be quoted in the setq call. There are a lot of bugs in that code... (It doesn't work.) I'll fix them and release the next version soon. > Can't you just (export import-lisp-variable-1)? OK. I didn't know that. Thanks.