Commit d2d70cb6 authored by Jonathan Yavner's avatar Jonathan Yavner

Added ses-mode, unsafep, testcover

parent 0d6239f1
......@@ -59,6 +59,12 @@ See the files mac/README and mac/INSTALL for build instructions.
* Changes in Emacs 21.4
---
** SES mode (ses-mode) is a new major mode for creating and editing
spreadsheet files. Besides the usual Emacs features (intuitive command
letters, undo, cell formulas in Lisp, plaintext files, etc.) it also offers
viral immunity and import/export of tab-separated values.
** Init file changes
You can now put the init files .emacs and .emacs_SHELL under
......@@ -1085,6 +1091,29 @@ with Custom.
* Lisp Changes in Emacs 21.4
+++
** New Lisp library testcover.el works with edebug to help you determine
whether you've tested all your Lisp code. Function testcover-start
instruments all functions in a given file. Then test your code. Function
testcover-mark-all adds overlay "splotches" to the Lisp file's buffer to
show where coverage is lacking. Command testcover-next-mark (bind it to
a key!) will move point forward to the next spot that has a splotch.
*** Normally, a red splotch indicates the form was never completely evaluated;
a brown splotch means it always evaluated to the same value. The red
splotches are skipped for forms that can't possibly complete their evaluation,
such as `error'. The brown splotches are skipped for forms that are expected
to always evaluate to the same value, such as (setq x 14).
*** For difficult cases, you can add do-nothing macros to your code to help
out the test coverage tool. The macro 1value suppresses a brown splotch for
its argument. The macro noreturn suppresses a red splotch.
---
** New function unsafep returns nil if the given Lisp form can't possibly
do anything dangerous; otherwise it returns a reason why the form might be
unsafe (calls dangerous function, alters global variable, etc).
** When you are printing using print-continuous-numbering,
if no objects have had to be recorded in print-number-table,
all elements of print-number-table are nil.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment