diff options
| author | Per Bothner | 2016-02-24 14:19:17 +1100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-02-24 14:19:17 +1100 |
| commit | 6ef8c6ceb8ce7289095fa448a6432dbe08f1c508 (patch) | |
| tree | 6f7712d715a759a0b6da35c418f277ba0da2c152 /etc | |
| parent | 70c3c79ec000bdf43d8558e0ee0fd8d8b8547245 (diff) | |
| download | emacs-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/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -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. |
| 1544 | Use the INSIDE_EMACS environment variable instead. | 1544 | Use the INSIDE_EMACS environment variable instead. |
| 1545 | 1545 | ||
| 1546 | ** `C-up', `C-down', `C-left' and `C-right' are now defined in term | ||
| 1547 | mode to send the same escape sequences that xterm does. This makes | ||
| 1548 | things 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. |
| 1548 | Use `save-mark-and-excursion' if you want the old behavior. | 1552 | Use `save-mark-and-excursion' if you want the old behavior. |