From: Jonathan Yavner Date: Sun, 27 Oct 2002 16:26:04 +0000 (+0000) Subject: Added ses-mode, unsafep, testcover X-Git-Tag: ttn-vms-21-2-B4~12701 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d2d70cb6a3bff2c2b771e99e118a834a0c449cbe;p=emacs.git Added ses-mode, unsafep, testcover --- diff --git a/etc/NEWS b/etc/NEWS index 4b5808438be..3aa9e401755 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -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.