emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-26 ec6cf35: ; Describe xt-mouse problems with Evil m


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-26 ec6cf35: ; Describe xt-mouse problems with Evil mode
Date: Sun, 5 Nov 2017 10:50:46 -0500 (EST)

branch: emacs-26
commit ec6cf35c5fa0842383a492500107314e6d39702c
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    ; Describe xt-mouse problems with Evil mode
    
    * etc/PROBLEMS: Describe a workaround for xt-mouse problems with
    Evil mode.  (Bug#29143)
---
 etc/PROBLEMS | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index a67771d..bb699af 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -1466,6 +1466,18 @@ this, you can remove the X resource or put this in your 
init file:
 
   (xterm-remove-modify-other-keys)
 
+** Emacs's xterm-mouse doesn't work well in Evil mode.
+
+Specifically, clicking mouse-1 doesn't work as expected: instead of
+moving point where you click, it highlights the region between the
+line beginning and the click location, and displays error messages
+about unbound keys in the echo area.
+
+To work around this, put this in your .emacs file:
+
+  (with-eval-after-load 'evil-maps
+    (define-key evil-motion-state-map [down-mouse-1] nil))
+
 ** Emacs spontaneously displays "I-search: " at the bottom of the screen.
 
 This means that Control-S/Control-Q (XON/XOFF) "flow control" is being



reply via email to

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