From b7326d412339337cef643ef5991c45f4472e8bed Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 12 Dec 2015 14:18:41 +0200 Subject: [PATCH] Update and document new features of xterm support * doc/emacs/frames.texi (Text-Only Mouse): Document that track-mouse is supported by newer xterm versions. --- doc/emacs/frames.texi | 9 +++++---- etc/NEWS | 32 +++++++++++++++++++------------- 2 files changed, 24 insertions(+), 17 deletions(-) diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi index 95b721fa739..acfdfe25cb2 100644 --- a/doc/emacs/frames.texi +++ b/doc/emacs/frames.texi @@ -1265,10 +1265,11 @@ Some text terminals support mouse clicks in the terminal window. In a terminal emulator which is compatible with @command{xterm}, you can use @kbd{M-x xterm-mouse-mode} to give Emacs control over simple uses of the mouse---basically, only non-modified single clicks are -supported. The normal @command{xterm} mouse functionality for such -clicks is still available by holding down the @kbd{SHIFT} key when you -press the mouse button. Xterm Mouse mode is a global minor mode -(@pxref{Minor Modes}). Repeating the command turns the mode off +supported. Newer versions of @command{xterm} also support +mouse-tracking. The normal @command{xterm} mouse functionality for +such clicks is still available by holding down the @kbd{SHIFT} key +when you press the mouse button. Xterm Mouse mode is a global minor +mode (@pxref{Minor Modes}). Repeating the command turns the mode off again. @findex gpm-mouse-mode diff --git a/etc/NEWS b/etc/NEWS index ce50d6d6c59..c5eb0b47749 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -347,14 +347,29 @@ is suitable for most programming languages such as C or Lisp (but not *** Symbols can be unprettified while point is inside them. New variable `prettify-symbols-unprettify-at-point' configures this. +** Enhanced xterm support + --- -** The new variable `xterm-screen-extra-capabilities' for configuring xterm. +*** The new variable `xterm-screen-extra-capabilities' for configuring xterm. This variable tells Emacs which advanced capabilities are available in the xterm terminal emulator used to display Emacs text-mode frames. The default is to check each capability, and use it if available. (This variable was introduced in Emacs 24.1, but was not announced in its NEWS.) +--- +*** Killing text now also sets the CLIPBOARD/PRIMARY selection +in the surrounding GUI (using the OSC-52 escape sequence). This only works +if your xterm supports it and enables the `allowWindowOps' options (disabled +by default at least in Debian, for security reasons). + +Similarly, you can yank the CLIPBOARD/PRIMARY selection (using the OSC-52 +escape sequence) if your xterm has the feature enabled but for that you +additionally need to add `getSelection' to `xterm-extra-capabilities'. + ++++ +*** `xterm-mouse-mode' now supports mouse-tracking (if your xterm supports it). + --- ** The `save-place' variable is replaced by `save-place-mode'. @@ -368,21 +383,12 @@ specified message types for the respective specified targets. ** Midnight-mode -*** `midnight-mode' is a proper minor mode. +--- +*** `midnight-mode' is now a proper minor mode. +--- *** clean-buffer-*-regexps can now specify buffers via predicate functions. -** In xterms, killing text now also sets the CLIPBOARD/PRIMARY selection -in the surrounding GUI (using the OSC-52 escape sequence). This only works -if your xterm supports it and enables the `allowWindowOps' options (disabled -by default at least in Debian, for security reasons). - -Similarly, you can yank the CLIPBOARD/PRIMARY selection (using the OSC-52 -escape sequence) if your xterm has the feature enabled but for that you -additionally need to add `getSelection' to `xterm-extra-capabilities'. - -** xterm-mouse-mode now supports mouse-tracking (if your xterm supports it). - ** package.el *** New "external" package status. -- 2.39.2