emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 c95ebbf: Extend gpm-mouse-mode's doc string and d


From: Alan Mackenzie
Subject: [Emacs-diffs] emacs-25 c95ebbf: Extend gpm-mouse-mode's doc string and doc to point out limitations.
Date: Thu, 11 Feb 2016 09:54:40 +0000

branch: emacs-25
commit c95ebbf8605496439fdede3684628daa96da14d8
Author: Alan Mackenzie <address@hidden>
Commit: Alan Mackenzie <address@hidden>

    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.
---
 doc/emacs/frames.texi |    5 ++++-
 lisp/t-mouse.el       |    6 +++++-
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi
index 5fbe0fc..35b3f83 100644
--- a/doc/emacs/frames.texi
+++ b/doc/emacs/frames.texi
@@ -1275,7 +1275,10 @@ again.
 @findex gpm-mouse-mode
   In the console on GNU/Linux, you can use @kbd{M-x gpm-mouse-mode} to
 enable mouse support.  You must have the gpm server installed and
-running on your system in order for this to work.
+running on your system in order for this to work.  Note that when
+this mode is enabled, you cannot use the mouse to transfer text
+between Emacs and other programs which use GPM.  This is due to
+limitations in GPM and the Linux kernel.
 
 @iftex
 @xref{MS-DOS Mouse,,,emacs-xtra,Specialized Emacs Features},
diff --git a/lisp/t-mouse.el b/lisp/t-mouse.el
index bbdd08a..5ea1bdd 100644
--- a/lisp/t-mouse.el
+++ b/lisp/t-mouse.el
@@ -73,7 +73,11 @@ the mode if ARG is omitted or nil.
 
 This allows the use of the mouse when operating on a GNU/Linux console,
 in the same way as you can use the mouse under X11.
-It relies on the `gpm' daemon being activated."
+It relies on the `gpm' daemon being activated.
+
+Note that when `gpm-mouse-mode' is enabled, you cannot use the
+mouse to transfer text between Emacs and other programs which use
+GPM.  This is due to limitations in GPM and the Linux kernel."
   :global t :group 'mouse :init-value t
   (dolist (terminal (terminal-list))
     (when (and (eq t (terminal-live-p terminal))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]