aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorPer Bothner2016-02-24 14:19:17 +1100
committerLars Ingebrigtsen2016-02-24 14:19:17 +1100
commit6ef8c6ceb8ce7289095fa448a6432dbe08f1c508 (patch)
tree6f7712d715a759a0b6da35c418f277ba0da2c152 /etc
parent70c3c79ec000bdf43d8558e0ee0fd8d8b8547245 (diff)
downloademacs-6ef8c6ceb8ce7289095fa448a6432dbe08f1c508.tar.gz
emacs-6ef8c6ceb8ce7289095fa448a6432dbe08f1c508.zip
Make `C-{up,down,left,right}' work in term mode
* lisp/term.el (term-raw-map): Define C-{up,down,left,right} to send the same escape sequence that xterm sends. This makes backward-word and forward-word work in readline (bug#16746).
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index cf121d0eec3..ce84b48e9ab 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1543,6 +1543,10 @@ symbol-function was changed not to signal `void-function' any more.
1543** Comint, term, and compile do not set the EMACS env var any more. 1543** Comint, term, and compile do not set the EMACS env var any more.
1544Use the INSIDE_EMACS environment variable instead. 1544Use the INSIDE_EMACS environment variable instead.
1545 1545
1546** `C-up', `C-down', `C-left' and `C-right' are now defined in term
1547mode to send the same escape sequences that xterm does. This makes
1548things like forward-word in readline work.
1549
1546+++ 1550+++
1547** `save-excursion' does not save&restore the mark any more. 1551** `save-excursion' does not save&restore the mark any more.
1548Use `save-mark-and-excursion' if you want the old behavior. 1552Use `save-mark-and-excursion' if you want the old behavior.