Commit b7326d41 authored by Eli Zaretskii's avatar Eli Zaretskii

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.
parent 93206267
......@@ -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
......
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment