aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Mackenzie2016-02-11 09:54:36 +0000
committerAlan Mackenzie2016-02-11 09:54:36 +0000
commitc95ebbf8605496439fdede3684628daa96da14d8 (patch)
treedc06c81591eef24d1e19bd39eecfdd8d7220c116
parenta91b4b51ddf2575d821adb8b84fdf32cff83886e (diff)
downloademacs-c95ebbf8605496439fdede3684628daa96da14d8.tar.gz
emacs-c95ebbf8605496439fdede3684628daa96da14d8.zip
Extend gpm-mouse-mode's doc string and doc to point out limitations.
* lisp/t-mouse.el (gpm-mouse-mode): Extend doc string to indicate the inability to transfer text between Emacs and other programs which use GPM. * doc/emacs/frames.texi (Text-Only Mouse): Note the inability to transfer text between Emacs and other progrmas which use GPM.
-rw-r--r--doc/emacs/frames.texi5
-rw-r--r--lisp/t-mouse.el6
2 files changed, 9 insertions, 2 deletions
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi
index 5fbe0fc5774..35b3f83ab33 100644
--- a/doc/emacs/frames.texi
+++ b/doc/emacs/frames.texi
@@ -1275,7 +1275,10 @@ again.
1275@findex gpm-mouse-mode 1275@findex gpm-mouse-mode
1276 In the console on GNU/Linux, you can use @kbd{M-x gpm-mouse-mode} to 1276 In the console on GNU/Linux, you can use @kbd{M-x gpm-mouse-mode} to
1277enable mouse support. You must have the gpm server installed and 1277enable mouse support. You must have the gpm server installed and
1278running on your system in order for this to work. 1278running on your system in order for this to work. Note that when
1279this mode is enabled, you cannot use the mouse to transfer text
1280between Emacs and other programs which use GPM. This is due to
1281limitations in GPM and the Linux kernel.
1279 1282
1280@iftex 1283@iftex
1281@xref{MS-DOS Mouse,,,emacs-xtra,Specialized Emacs Features}, 1284@xref{MS-DOS Mouse,,,emacs-xtra,Specialized Emacs Features},
diff --git a/lisp/t-mouse.el b/lisp/t-mouse.el
index bbdd08a1df0..5ea1bdd3449 100644
--- a/lisp/t-mouse.el
+++ b/lisp/t-mouse.el
@@ -73,7 +73,11 @@ the mode if ARG is omitted or nil.
73 73
74This allows the use of the mouse when operating on a GNU/Linux console, 74This allows the use of the mouse when operating on a GNU/Linux console,
75in the same way as you can use the mouse under X11. 75in the same way as you can use the mouse under X11.
76It relies on the `gpm' daemon being activated." 76It relies on the `gpm' daemon being activated.
77
78Note that when `gpm-mouse-mode' is enabled, you cannot use the
79mouse to transfer text between Emacs and other programs which use
80GPM. This is due to limitations in GPM and the Linux kernel."
77 :global t :group 'mouse :init-value t 81 :global t :group 'mouse :init-value t
78 (dolist (terminal (terminal-list)) 82 (dolist (terminal (terminal-list))
79 (when (and (eq t (terminal-live-p terminal)) 83 (when (and (eq t (terminal-live-p terminal))