[英]emacs xterm-mouse-mode double click to highlight word
I have to use xterm-mouse-mode to support mouse when using emacs via ssh, but i found it will not highlight the whole word when i double click on a character of the word. 当我通过ssh使用emacs时,我必须使用xterm-mouse-mode来支持鼠标,但是当我双击单词的字符时,我发现它不会突出显示整个单词。 Instead it only highlight the character under the mouse.
相反,它只突出鼠标下的角色。 How can i fix it?
我该如何解决?
Ch f xterm-mouse-mode
says: Ch f xterm-mouse-mode
说:
...works for simple uses of the mouse.
...适用于鼠标的简单使用。 Basically, only non-modified
基本上,只有非修改
single clicks are supported.支持单击。 When turned on, the normal xterm...
打开时,正常的xterm ......
So, I'm afraid double clicks are known not to work (they are seen by Emacs as 2 normal clicks). 所以,我担心双击会被认为不起作用(Emacs认为它们是2次普通点击)。
EDIT 2014-Aug-29: This limitation has been recently lifted in Emacs's trunk (ie not in the upcoming 24.4 but in the next version instead). 编辑2014年8月29日:最近在Emacs的主干中取消了这个限制(即不是在即将到来的24.4中,而是在下一个版本中)。
Highlighting does not work in the non-windowed version of emacs (emacs run in a terminal window). 突出显示在emacs的非窗口版本中不起作用(emacs在终端窗口中运行)。 It's hard to tell whether things are being highlighted which is why I recommend using C-space (Mark-set) to highlight things instead as it gives you a little more control rather than enabling xterm-mouse-mode as sometimes you may not double click correctly.
很难判断事情是否被突出显示这就是为什么我建议使用C-space(标记设置)来突出显示内容,因为它提供了更多的控制而不是启用xterm-mouse-mode,因为有时你可能不会双击正确。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.