When using term-mode in emacs, with nodejs or mongo's REPL,
<backspace> doesn't work. Below is a simple senario:
$ nodejs
> something
When I hit <backspace>, instead of deleting 'g', i will get
> something> somethin
It looks like the original string is copied to output while deleting
'g'.
However, the problem doesn't exist on other REPL. I've tried python,
lua, mysql, <backspace> works as expected.
The problem still exists when starting emacs with -q option. I also
tried to install a fresh emacs on a fresh ubuntu vm, and on Mac, but that
won't help.
In GNU Emacs 24.4.50.6 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8)
of 2014-05-11 on watermelon
Windowing system distributor `The X.Org Foundation', version 11.0.11501000
System Description: Ubuntu 14.04 LTS
Configured features:
XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS NOTIFY FREETYPE XFT ZLIB
Important settings:
value of $LANG: en_US.UTF-8
value of $XMODIFIERS: @im=fcitx
locale-coding-system: utf-8-unix
Major mode: Term
Minor modes in effect:
global-auto-revert-mode: t
window-numbering-mode: t
global-auto-complete-mode: t
shell-dirtrack-mode: t
erc-list-mode: t
erc-menu-mode: t
erc-autojoin-mode: t
erc-ring-mode: t
erc-networks-mode: t
erc-pcomplete-mode: t
erc-track-mode: t
erc-match-mode: t
erc-button-mode: t
erc-fill-mode: t
erc-stamp-mode: t
erc-netsplit-mode: t
erc-irccontrols-mode: t
erc-noncommands-mode: t
erc-move-to-prompt-mode: t
erc-readonly-mode: t
tooltip-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
M-b M-f M-f M-f M-f M-f C-f <backspace> . C-n M-b M-f
M-f M-b C-k b u t SPC t h a t SPC w o n ' t SPC h e
l p . <down-mouse-1> <mouse-1> a n d SPC C-a <f2> C-a
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
C-p C-p C-p M-f M-f M-f M-f M-f M-f M-f M-f M-f M-f
M-f M-f M-f j s M-b <M-backspace> <M-backspace> w i
t h SPC <f2> C-a C-n C-n C-n C-e C-n C-n C-a C-n C-e
C-n C-n C-a C-n C-n C-e C-p C-e M-b C-a C-n C-n C-n
M-f M-f M-f M-f M-f M-b M-d e x i s t C-n C-e <f2>
C-e C-a C-n C-p C-e C-a C-n C-n C-SPC C-n C-n C-n C-g
C-p C-n C-e C-a C-n C-SPC C-p C-p C-p C-p C-p C-p C-p
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p M-w M-> M-<
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-p C-p C-p C-p C-p C-p C-p C-n C-n
C-n C-n C-n C-n C-l C-x C-g C-a M-x s e n <tab> <tab>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<C-backspace> C-g C-a C-v C-n M-< C-a C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-p C-p
C-p C-p C-p C-p C-p C-p C-a C-SPC C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
M-w C-x k <return> M-x e <backspace> r e p o <tab>
r t - e m <tab> b <tab> <return>
Recent messages:
Saving file /home/deyuan/*message*-20140526-225435...
Wrote /home/deyuan/*message*-20140526-225435
Mark set
Quit
Mark set [3 times]
C-x C-g is undefined
delete-backward-char: Text is read-only
Quit
Mark set [2 times]
Making completion list...
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums mail-utils two-column iso-transl
novice tabify mule-util misearch multi-isearch vc-git bookmark debug
eieio-opt find-func help-mode hl-line bison-mode make-regexp cool-mode
flex-mode derived init-custom server autorevert filenotify
init-javascript-mode init-
--
Deyuan Derrick Deng
Master of Electrical and Computer Engineering
Carnegie Mellon Universityprotobuf-mode protobuf-mod
--
Deyuan Derrick Deng
Master of Electrical and Computer Engineering
Carnegie Mellon Universitye init-markdown-mode
init-python-mode init-coffee-mode coffee-mode init-geben-mode geben
tree-widget dbgp xml init-jade-mode jade-mode sws-mode init-php-mode
php-mode speedbar sb-image ezimage dframe flymake compile cc-langs
cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine
cc-vars cc-defs add-log init-gud-mode gud easy-mmode init-lua-mode
lua-mode rx init-go-mode go-mode url url-proxy url-privacy url-expand
url-methods url-history url-cookie url-domsuf url-util mailcap find-file
ffap url-parse url-vars etags init-cc-mode init-fill-column-indicator
fill-column-indicator init-window-numbering window-numbering
init-auto-complete auto-complete-config auto-complete popup
init-apache-mode init-nginx-mode init-multi-term multi-term term
disp-table ehelp init-tramp tramp tramp-compat tramp-loaddefs trampver
shell advice init-theme zenburn-theme init-keys edmacro kmacro init-w3m
w3m browse-url doc-view jka-compr dired image-mode timezone w3m-hist
w3m-fb bookmark-w3m w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc
w3m-util init-erc erc-list erc-menu erc-join erc-ring erc-networks
erc-pcomplete pcomplete comint ansi-color ring erc-track erc-match
erc-button wid-edit erc-fill erc-stamp erc-netsplit erc-goodies erc
erc-backend erc-compat format-spec auth-source eieio byte-opt bytecomp
byte-compile cconv eieio-core gnus-util mm-util help-fns mail-prsvr
password-cache thingatpt pp init-ido ido init-exec-path-from-shell
exec-path-from-shell init-elpa info easymenu package init-site-packages
cl-macs cl gv cl-loaddefs cl-lib init-preload-all-configs time-date
tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel
x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list
newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp
files text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
dbusbind gfilenotify dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)
Memory information:
((conses 16 347457 81931)
(symbols 48 38191 0)
(miscs 40 998 1292)
(strings 32 82723 14958)
(string-bytes 1 2208660)
(vectors 16 37855)
(vector-slots 8 1411739 194122)
(floats 8 213 766)
(intervals 56 6360 529)
(buffers 960 70)
(heap 1024 78011 3774))