Mercurial > hg > xemacs-beta
diff man/cl.texi @ 257:65c19d2020f7 r20-5b27
Import from CVS: tag r20-5b27
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:22:03 +0200 |
parents | 3d6bfa290dbd |
children | 11cf20601dec |
line wrap: on
line diff
--- a/man/cl.texi Mon Aug 13 10:21:19 2007 +0200 +++ b/man/cl.texi Mon Aug 13 10:22:03 2007 +0200 @@ -522,12 +522,6 @@ keep both @code{find-thing} and @code{member*} from complaining about each others' keywords in the arguments. -In Common Lisp, keywords are recognized by the Lisp parser itself -and treated as special entities. In Emacs, keywords are just -symbols whose names begin with colons, which @code{defun*} has -arranged to set equal to themselves so that they will essentially -be self-quoting. - As a (significant) performance optimization, this package implements the scan for keyword arguments by calling @code{memq} to search for keywords in a ``rest'' argument. Technically @@ -5592,14 +5586,6 @@ Lucid Emacs supports @code{#'} notation starting with version 19.8. @item -The ``backquote'' feature uses a different syntax in Emacs Lisp. - -@example -(defmacro foo (v &rest body) `(let ((,v 0)) @@,body)) ; Common Lisp -(defmacro foo (v &rest body) (` (let (((, v) 0)) (@@, body))) ; Emacs -@end example - -@item Reader macros. Common Lisp includes a second type of macro that works at the level of individual characters. For example, Common Lisp implements the quote notation by a reader macro called @code{'}, @@ -5607,12 +5593,6 @@ Some Lisp packages use reader macros to create special syntaxes for themselves, which the Emacs parser is incapable of reading. -The lack of reader macros, incidentally, is the reason behind -Emacs Lisp's unusual backquote syntax. Since backquotes are -implemented as a Lisp package and not built-in to the Emacs -parser, they are forced to use a regular macro named @code{`} -which is used with the standard function/macro call notation. - @item Other syntactic features. Common Lisp provides a number of notations beginning with @code{#} that the Emacs Lisp parser @@ -5621,6 +5601,10 @@ the parser to ignore the @code{(foo)} except in Lucid Common Lisp. +The number prefixes `#b', `#o', and `#x', however, are supported +by the Emacs Lisp parser to represent numbers in binary, octal, +and hexadecimal notation (or radix), just like in Common Lisp. + @item Packages. In Common Lisp, symbols are divided into @dfn{packages}. Symbols that are Lisp built-ins are typically stored in one package;