2014-04-17 Daniel Colascione <dancol@dancol.org>
authorDaniel Colascione <dancol@dancol.org>
Thu, 17 Apr 2014 07:54:23 +0000 (00:54 -0700)
committerDaniel Colascione <dancol@dancol.org>
Thu, 17 Apr 2014 07:54:23 +0000 (00:54 -0700)
commitbfc30790686607fac1b7667d3a73d0f46b80e85f
treed492a6b10405b75ad5341d1e5509b86ad09e75f8
parenta3f989d4c430f4788352b2bad801ba99ccf2bb21
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.
doc/lispref/ChangeLog
doc/lispref/frames.texi
etc/ChangeLog
etc/NEWS
lisp/ChangeLog
lisp/term/screen.el
lisp/term/xterm.el
lisp/xt-mouse.el
src/ChangeLog
src/term.c