I use Emacs a lot for programming. It is a very useful editor, arguably the best. One great feature is the ability to map keys (hot keys). It even maps keys to specific types of files (C, PHP, XML). I recently started using TCL. Emacs’s key binding for DELETE was effectively backspace. It was driving me nuts. I finally found a solution.
http://www-user.tu-chemnitz.de/~uwp/download/.emacs
Here is the excerpt I wanted.
(add-hook 'tcl-mode-hook '(lambda () (define-key tcl-mode-map [ delete ] 'delete-char)))
It took way too much googling to find this. Here were some of my key words: xemacs, tcl-mode, tcl-mode.el, key binding, key mapping, delete, default bahavior, major mode, override