On 9/23/06, Nahuel Greco <[EMAIL PROTECTED]> wrote:
I'm using XEmacs 21.4.19-1, when erlang-mode is active in a buffer and
I press DEL, then it acts as if I pressed BACKSPACE (the character at the
left of the cursor is removed). Doing an C-h k, it seems that DEL is bound
to 'backward-delete-char-untabify, when normally in text-mode it runs
'backward-or-forward-delete-char . Skimming over erlang.el, at line 1937 I
found:
(define-key map "\177" 'backward-delete-char-untabify)
Maybe here is the problem, "\177" it's correct in Emacs but means something
different in XEmacs? (In Emacs erlang-mode works ok).
I don't use emacs, but I've asked my colleague and he confirmed the bug.
As for now he uses the following workaround in .xemacs/init.el
(add-hook 'erlang-mode-hook
'(lambda ()
(local-set-key [delete] 'delete-char)))
Anyway, I'll try to fix it. Probably disabling this "\177" binding
only for xemacs will be enough.
--
Sergei Golovan
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]