|
From: | Stefan Monnier |
Subject: | bug#12826: 24.2.50; M-x term |
Date: | Wed, 07 Nov 2012 23:33:59 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
> I binded delete-backward-char to other key than backspace and deleting > text in M-x term doesn't work as it should. when I write e.g. > "aoeui" and then remove "aoeui" and type "ls" terminal tries to launch > command "aoeuils". This is an issue also with emacs -q and running > command (global-set-key (kbd "C-.") 'delete-backward-char) That's because the way to perform a "backspace" in such a terminal is to send the DEL char to the application (e.g. `backspace' is bound to term-send-backspace in term.el). Not sure how term.el could better handle your situation. I guess it could try to prevent you from running the delete-backward-char command (so at least you get to learn about the problem more directly). or maybe it could remap delete-backward-char to term-send-backspace. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |