From 5f368d294e2c9b9c4e67867570d54cd493f21a74 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 14 Dec 2000 13:47:45 +0000 Subject: [PATCH] *** empty log message *** --- etc/NEWS | 23 +++++++++++++++++++---- lisp/ChangeLog | 8 ++++++++ 2 files changed, 27 insertions(+), 4 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index 02a8a28d7ce..601dc943376 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -210,10 +210,25 @@ menu or the Edit menu if there is no major mode menu. ** Variable `load-path' is no longer customizable because it contains a version-dependent component. -** The function key is now bound to `delete-char' by default. -Note that this takes effect only on window systems. On TTYs, Emacs -will receive ASCII 127 when the DEL key is pressed. This -character is still bound as before. +** The new user-option `delete-key-deletes-forward' can be set to +let the Delete function key delete forward instead of backward. + +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 used to delete forward + +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. ** Item Save Options on the Options menu allows saving options set using that menu. diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3f08afe9f84..15a295c7311 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,13 @@ 2000-12-14 Gerd Moellmann + * startup.el (command-line): Call delete-key-deletes-forward-mode, + if appropriate. + + * simple.el (delete-key-deletes-forward): New user-option. + (delete-key-deletes-forward-mode): New function. + + * bindings.el (ctl-x-map): Bind `delete' to backward-delete-char. + * emacs-lisp/easymenu.el (easy-menu-current-active-maps): Test if symbol is bound before getting its value. -- 2.39.2