I have been using ELISP for a while and now I have decided to use Common Lisp using cl-lib.el extension for Emacs. The question is does cl-lib.el provide a complete CLISP extension for Emacs or it partially supports CLISP? The other question, if I include cl-lib.el in one package (I have multiple packages), does that mean the cl-lib.el will also be applied to all other packages? For example, if I have:
(load "~/elisp/file1.el") ; (require 'cl-lib.el)
(load "~/elisp/file2.el") ; does it automatically use cl-lib.el or not?
cl-lib.elis a subset ofcl.el. It was created because some people wanted to use some of the more commonly used parts ofcl.el, without needing to load all ofcl.elat runtime.cl-lib.elorcl.elat runtime - just(eval-when-compile (require 'cl))or(eval-when-compile (require 'cl-lib))cl-libis not really a subset ofcl. It's more like the successor ofcl, with the main difference being the naming (all definitions have a name that starts with thecl-prefix). A few parts ofclhave been moved to core whencl-libwas introduced (mostlysetf), and some rare elements were dropped altogether, and others rare elements were added as well, but overall, they pretty much have the same contents.