- M-x ielm enter into a interactive elisp evaluation mode
- difference between dotted pair and list:
- CDR of pairs need not to be a list
- list is more convenient for no dot notation
- listp consp are identical on pair or list
- use a prime notation on pair definition
- optional argument: put keyword &optional before actual arguments; if a argument is both needed and optional, elisp prefer it to be optional
- reset argument: one can have a function that takes unspecified any number of arguments. And &reset before parameter after last argument, the parameter might be a list or nil
- property list: a list of paired elements. Each of the pairs associated with a property name which is a symbol with a property or value. I usually see symbol as name with a colon prefix.
网友评论