diff options
| author | Jonathan Yavner | 2002-10-27 16:26:04 +0000 |
|---|---|---|
| committer | Jonathan Yavner | 2002-10-27 16:26:04 +0000 |
| commit | d2d70cb6a3bff2c2b771e99e118a834a0c449cbe (patch) | |
| tree | 518b960fc5f284785472be321fa01fc8332e3e55 | |
| parent | 0d6239f13353f9a678133cc708b2a68a20f83218 (diff) | |
| download | emacs-d2d70cb6a3bff2c2b771e99e118a834a0c449cbe.tar.gz emacs-d2d70cb6a3bff2c2b771e99e118a834a0c449cbe.zip | |
Added ses-mode, unsafep, testcover
| -rw-r--r-- | etc/NEWS | 29 |
1 files changed, 29 insertions, 0 deletions
| @@ -59,6 +59,12 @@ See the files mac/README and mac/INSTALL for build instructions. | |||
| 59 | 59 | ||
| 60 | * Changes in Emacs 21.4 | 60 | * Changes in Emacs 21.4 |
| 61 | 61 | ||
| 62 | --- | ||
| 63 | ** SES mode (ses-mode) is a new major mode for creating and editing | ||
| 64 | spreadsheet files. Besides the usual Emacs features (intuitive command | ||
| 65 | letters, undo, cell formulas in Lisp, plaintext files, etc.) it also offers | ||
| 66 | viral immunity and import/export of tab-separated values. | ||
| 67 | |||
| 62 | ** Init file changes | 68 | ** Init file changes |
| 63 | 69 | ||
| 64 | You can now put the init files .emacs and .emacs_SHELL under | 70 | You can now put the init files .emacs and .emacs_SHELL under |
| @@ -1085,6 +1091,29 @@ with Custom. | |||
| 1085 | 1091 | ||
| 1086 | * Lisp Changes in Emacs 21.4 | 1092 | * Lisp Changes in Emacs 21.4 |
| 1087 | 1093 | ||
| 1094 | +++ | ||
| 1095 | ** New Lisp library testcover.el works with edebug to help you determine | ||
| 1096 | whether you've tested all your Lisp code. Function testcover-start | ||
| 1097 | instruments all functions in a given file. Then test your code. Function | ||
| 1098 | testcover-mark-all adds overlay "splotches" to the Lisp file's buffer to | ||
| 1099 | show where coverage is lacking. Command testcover-next-mark (bind it to | ||
| 1100 | a key!) will move point forward to the next spot that has a splotch. | ||
| 1101 | |||
| 1102 | *** Normally, a red splotch indicates the form was never completely evaluated; | ||
| 1103 | a brown splotch means it always evaluated to the same value. The red | ||
| 1104 | splotches are skipped for forms that can't possibly complete their evaluation, | ||
| 1105 | such as `error'. The brown splotches are skipped for forms that are expected | ||
| 1106 | to always evaluate to the same value, such as (setq x 14). | ||
| 1107 | |||
| 1108 | *** For difficult cases, you can add do-nothing macros to your code to help | ||
| 1109 | out the test coverage tool. The macro 1value suppresses a brown splotch for | ||
| 1110 | its argument. The macro noreturn suppresses a red splotch. | ||
| 1111 | |||
| 1112 | --- | ||
| 1113 | ** New function unsafep returns nil if the given Lisp form can't possibly | ||
| 1114 | do anything dangerous; otherwise it returns a reason why the form might be | ||
| 1115 | unsafe (calls dangerous function, alters global variable, etc). | ||
| 1116 | |||
| 1088 | ** When you are printing using print-continuous-numbering, | 1117 | ** When you are printing using print-continuous-numbering, |
| 1089 | if no objects have had to be recorded in print-number-table, | 1118 | if no objects have had to be recorded in print-number-table, |
| 1090 | all elements of print-number-table are nil. | 1119 | all elements of print-number-table are nil. |