# HG changeset patch # User Eli Zaretskii # Date 986503858 0 # Node ID 343f5ea2a31c84650554685a59940bd2474550c7 # Parent 80947e6a89521c07ed53e2457c6e3e92bb52a28f Rename delete-key-deletes-forward. diff -r 80947e6a8952 -r 343f5ea2a31c etc/NEWS --- a/etc/NEWS Thu Apr 05 20:43:24 2001 +0000 +++ b/etc/NEWS Thu Apr 05 20:50:58 2001 +0000 @@ -353,25 +353,27 @@ ** Variable `load-path' is no longer customizable because it contains a version-dependent component. -** The new user-option `delete-key-deletes-forward' can be set to -let the Delete function key delete forward instead of backward. +** The new user-option `normal-erase-is-backspace' can be set to +determine the effect of the Delete and Backspace function keys. On window systems, the default value of this option is chosen according to the keyboard used. If the keyboard has both a Backspace key and a Delete key, and both are mapped to their usual meanings, the option's default value is set to t, so that Backspace can be used to -delete backward, and Delete can be used to delete forward. +delete backward, and Delete can be used to delete forward. On +keyboards which either have only one key (usually labeled DEL), or two +keys DEL and BS which produce the same effect, the option's value is +set to nil, and these keys delete backward. If not running under a window system, setting this option accomplishes a similar effect by mapping C-h, which is usually generated by the Backspace key, to DEL, and by mapping DEL to C-d via `keyboard-translate'. The former functionality of C-h is available on -the F1 key. You should probably not use this setting if you don't -have both Backspace, Delete and F1 keys. - -Programmatically, you can call function -delete-key-deletes-forward-mode to toggle the behavior of the Delete -key. +the F1 key. You should probably not use this setting on a text-only +terminal if you don't have both Backspace, Delete and F1 keys. + +Programmatically, you can call function normal-erase-is-backspace-mode +to toggle the behavior of the Delete and Backspace keys. +++ ** C-u C-x = provides detailed information about the character at