diff options
| author | Daniel Colascione | 2014-04-17 00:54:23 -0700 |
|---|---|---|
| committer | Daniel Colascione | 2014-04-17 00:54:23 -0700 |
| commit | bfc30790686607fac1b7667d3a73d0f46b80e85f (patch) | |
| tree | d492a6b10405b75ad5341d1e5509b86ad09e75f8 /doc | |
| parent | a3f989d4c430f4788352b2bad801ba99ccf2bb21 (diff) | |
| download | emacs-bfc30790686607fac1b7667d3a73d0f46b80e85f.tar.gz emacs-bfc30790686607fac1b7667d3a73d0f46b80e85f.zip | |
2014-04-17 Daniel Colascione <dancol@dancol.org>
Add support for bracketed paste mode; add infrastructure for
managing terminal mode enabling and disabling automatically.
* xt-mouse.el:
(xterm-mouse-mode): Simplify.
(xterm-mouse-tracking-enable-sequence)
(xterm-mouse-tracking-disable-sequence): New constants.
(turn-on-xterm-mouse-tracking-on-terminal)
(turn-off-xterm-mouse-tracking-on-terminal): Use
tty-mode-set-strings and tty-mode-reset-strings terminal
parameters instead of random hooks.
(turn-on-xterm-mouse-tracking)
(turn-off-xterm-mouse-tracking): Delete.
* term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
(xterm-paste-ending-sequence): New constant.
(xterm-paste): New command used for bracketed paste support.
(xterm-modify-other-keys-terminal-list): Delete obsolete variable.
(terminal-init-xterm-bracketed-paste-mode): New function.
(terminal-init-xterm): Call it.
(terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
and tty-mode-reset-strings instead of random hooks.
(xterm-turn-on-modify-other-keys)
(xterm-turn-off-modify-other-keys)
(xterm-remove-modify-other-keys): Delete obsolete functions.
* term/screen.el: Rewrite to just use the xterm code. Add
copyright notice. Mention tmux.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/lispref/frames.texi | 12 |
2 files changed, 18 insertions, 0 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 8adbabc36bb..7c368c126cd 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2014-04-17 Daniel Colascione <dancol@dancol.org> | ||
| 2 | |||
| 3 | * frames.texi (Terminal Parameters): Document new | ||
| 4 | tty-mode-set-strings and tty-mode-reset-strings terminal | ||
| 5 | parameters. | ||
| 6 | |||
| 1 | 2014-04-17 Paul Eggert <eggert@cs.ucla.edu> | 7 | 2014-04-17 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 8 | ||
| 3 | * Makefile.in (infoclean): Be consistent about reporting failures. | 9 | * Makefile.in (infoclean): Be consistent about reporting failures. |
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi index b6513426909..b95a5ccdb92 100644 --- a/doc/lispref/frames.texi +++ b/doc/lispref/frames.texi | |||
| @@ -1334,6 +1334,18 @@ terminal. @xref{DEL Does Not Delete,,, emacs, The Emacs Manual}. | |||
| 1334 | @item terminal-initted | 1334 | @item terminal-initted |
| 1335 | After the terminal is initialized, this is set to the | 1335 | After the terminal is initialized, this is set to the |
| 1336 | terminal-specific initialization function. | 1336 | terminal-specific initialization function. |
| 1337 | @item tty-mode-set-strings | ||
| 1338 | When present, a list of strings containing escape sequences that Emacs | ||
| 1339 | will output while configuring a tty for rendering. Emacs emits these | ||
| 1340 | strings only when configuring a terminal: if you want to enable a mode | ||
| 1341 | on a terminal that is already active (for example, while in | ||
| 1342 | @code{tty-setup-hook}), explicitly output the necessary escape | ||
| 1343 | sequence using @code{send-string-to-terminal} in addition to adding | ||
| 1344 | the sequence to @code{tty-mode-set-strings}. | ||
| 1345 | @item tty-mode-reset-strings | ||
| 1346 | When present, a list of strings that undo the effects of the strings | ||
| 1347 | in @code{tty-mode-set-strings}. Emacs emits these strings when | ||
| 1348 | exiting, deleting a terminal, or suspending itself. | ||
| 1337 | @end table | 1349 | @end table |
| 1338 | 1350 | ||
| 1339 | @node Frame Titles | 1351 | @node Frame Titles |