Q: how do I teach
setf about new places it can set?
In common lisp, one uses the
defsetf to tell
setf about new places it can set.
In elisp, that macro exists in in the
cl library, but, as far as
I can tell, has not been ported into the updated
we're not supposed to use the old
Since the old
cl.eldoes not use a clean namespace, Emacs has a policy that packages distributed with Emacs must not load
clat run time. (It is ok for them to load
clat compile time, with
eval-when-compile, and use the macros it provides.) There is no such restriction on the use of
cl-lib. New code should use
defsetf (or a substitute) exist somewhere else? How else
should I tell
setf about new places?