On Fri, 2008-10-31 at 06:44 -0700, ·············@gmail.com wrote:
> Hello,
>
> I recall seeing a library of "essential lisp utilities", but I just
> spent a better part of an hour going through cliki, my bookmarks,
> installed libraries, and the web, and other than suspects such as
> trivial-features, and cannot find it.
>
> The reason is that I just wrote a little macro with-dir
> (defmacro with-dir ((new-dir) &body body)
> `(let ((old-dir (ext:cd)))
> ;; (format t "will move to ~a~%" ,new-dir)
> (ext:cd ,new-dir)
> ;; (format t "current dir ~a~%" (ext:cd))
> ,@body
> (ext:cd old-dir)))
>
> that I use on clisp(on cygwin+windows) but I suspect a more robust and
> universal one exists somewhere, perhaps in the "essential lisp
> utilities".
>
> So, where is that beast?
>
> Thanks,
>
> Mirko
hum, directory stuff? .. cl-fad
(..for general utility-stuff Alexandria and cl-utilities are common..)