<div dir="ltr">Hi<div><br></div><div>I am trying to define a macro as follows:</div><div><br></div><div><div>(defmacro with-package ((&rest names) &body body)</div><div>  `(progn</div><div>     (use ,@names)</div><div>
     ,@body</div><div>     (unuse ,@(reverse names))))</div></div><div><br></div><div>The issue is that the body may use symbols defined in one of</div><div>the names (packages) and not in the current package</div><div><br>
</div><div>How to do this? I tried with eval-when but I do not know how to use it correctly</div><div><br></div><div>Kind regards</div><div>Taoufik</div><div><br></div></div>