all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#15021: 24.3.50; `CL' manual: describe differences from Common Lisp, everywhere
@ 2013-08-04 17:52 Drew Adams
  0 siblings, 0 replies; only message in thread
From: Drew Adams @ 2013-08-04 17:52 UTC (permalink / raw)
  To: 15021


In general, some description is provided for the Emacs-Lisp versions of
CL things.  But there is little or no info about how the Emacs version
of the thing differs from the CL version.

That missing info is one of the most important things to be documented.

Example of where we do point out a difference: In (cl) `Structures' we
say:

"In true Common Lisp, each structure type is a new type distinct from
 all existing Lisp types.  Since the underlying Emacs Lisp system
 provides no way to create new distinct types, this package implements
 structures as vectors (or lists upon request) with a special "tag"
 symbol to identify them."

And there is more info about this type tag.

(Drop "true", BTW.)

But there are many more differences between what CL offers and what
package cl-lib provides.  There needs to be much more documentation to
explain the differences.  Otherwise, Emacs-Lisp users are forced to
examine the (dense and confusing) cl-lib.el code itself and guess what
the actual behavior is and how it differs from CL.

CL itself is specified rigorously and pretty completely.  What is
missing is good Emacs-Lisp doc of just how cl-lib diverges from the CL
spec.  Many (nearly all?) cl-lib functions, macros, whatever differ in
some way from CL, but little is said about these differences.



In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
 of 2013-08-02 on ODIEONE
Bzr revision: 113660 lekktu@gmail.com-20130802160313-rbi3o6322mz0m3ye
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/binary --enable-checking=yes,glyphs
 CFLAGS=-O0 -g3 LDFLAGS=-Lc:/Devel/emacs/lib
 CPPFLAGS=-Ic:/Devel/emacs/include'





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-08-04 17:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-04 17:52 bug#15021: 24.3.50; `CL' manual: describe differences from Common Lisp, everywhere Drew Adams

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.