>>>>> "Madhu" == Madhu <[EMAIL PROTECTED]> writes:
Madhu> Helu,
Madhu> Assume I wish to define a macro MP::WITH-PROCESS-LOCK which expands
Madhu> into MP:WITH-LOCK-HELD.
Madhu> So I put this in a file
Madhu> (in-package "CL-USER")
Madhu> (ext:without-package-locks
Madhu> (defmacro mp::with-process-lock ((lock) &body body)
Madhu> `(mp:with-lock-held (,lock) ,@body)))
Madhu> but it just doesn't work -- not if you compile it, not if you load
it,
Madhu> or eval it at the repl, even if you intern WITH-PROCESS-LOCK in MP
Madhu> beforehand. The package lock system just won't let you do it.
Madhu> Isn't this a bug? Since the form _is_ enclosed in a
Madhu> WITHOUT-PACKAGE-LOCKS?
Yes, this does seem to be a bug. Another workaround is to set
lisp::*enable-package-locked-errors* to nil.
Ray