On Sunday 06 July 2003 06:43 pm, Joe Lee wrote:
If editing a TCL file, the DEL key always do
"delete-backward" even it
was set to
"delete-forward" in the Options/Advanced/Emacs/Editing/Basic
That's
apparently a documented feature ("delete converts tabs to spaces as it
moves back") of tcl-mode, which binds DEL to backward-delete-char-untabify.
But it can be configured: if you add
(defun standartize-tcl-delete ()
(local-set-key 'delete 'backward-or-forward-delete-char))
(add-hook 'tcl-mode-hook 'standartize-tcl-delete)
you'll get the same binding for DEL as in the fundamental mode.
Bye
Vasek