Questions tagged [mouse]

for Emacs support of mouse. Emacs mouse interface supports click events, drag events, button-down events, and motion events. Whereas the current buffer handles keystrokes, mouse events in a clicked buffer are independent of the current buffer.

117 questions
29
votes
4 answers

Smooth (mouse) scroll for inline images?

I display images in-line with begin_src & result blocks. However, for large-images, when I scroll past the bottom of the image, I get a 'jerk' and the whole image is scrolled away. Similarly if I scroll up and run into an image, I get a jerk and see…
Leo Ufimtsev
  • 4,488
  • 3
  • 22
  • 45
13
votes
3 answers

What is the select word/symbol function bound to

I love the ability to select word/symbol at point which I currently do with double mouse click. I would like to be able to do it from the keyboard, and so I'd like to bind it to a keystroke (or maybe it already is?), so I need the name of the…
Chip Grandits
  • 267
  • 1
  • 6
11
votes
1 answer

Difference between [mouse-1] and [down-mouse-1]

I noticed two keys: [mouse-1] and [down-mouse-1]. When I use describe-key with a single click, it shows: There were several key-sequences: at that spot runs the command evil-mouse-drag-region at that spot runs the…
FunkyBaby
  • 767
  • 1
  • 4
  • 10
11
votes
2 answers

How to change the mouse pointer colour?

I am using the ample theme and I quite like it, but I can't see the mouser pointer when moving over emacs and emacs is activated; as the emacs background and the mouse pointer are black, I would like to have the mouse pointer in e.g. red. How can I…
Rainer
  • 897
  • 10
  • 16
10
votes
2 answers

Clear secondary selection without using mouse

Occasionally, without meaning to I somehow mash keys or mouse so that I get a secondary selection. I never use the secondary selection so I would always like to get rid of it. How can I clear the secondary selection without using the mouse? The…
Croad Langshan
  • 3,192
  • 14
  • 42
9
votes
1 answer

Simulating mouse operations with keyboard

Is there a way, via some command that can be invoked by the keyboard, of making Emacs think that I clicked at a particular point (so that it does whatever it would have done if I clicked there, e.g. follow link or pop up a menu)? Or that I hovered…
ShreevatsaR
  • 880
  • 6
  • 19
9
votes
4 answers

Is there a way to determine the face at frame x / y (mouse position)?

When trying to theme certain modes, it's not possible to place the point on the themed item (e.g. to do C-u C-x =) and identify the face used. My thought is to use the mouse to identify the face used, but all I can get is the frame x, y position…
ocodo
  • 1,202
  • 11
  • 20
8
votes
5 answers

Generate mouse-2 event from MacBook trackpad

I have Emacs.app version 24.5 (9.0) on a MacBook with Mac OS X 10.11.3 (15D21). How can I generate mouse-2 from my MacBook's trackpad? I've googled and found references to mac-emulate-three-button-mouse (this question) (not found in such Emacs…
Renzo
  • 251
  • 4
  • 8
8
votes
4 answers

Turn off mouse highlighting in org-agenda

When I am viewing my org-agenda, whatever line I have the mouse point on is highlighted. Since I never act on these lines with the mouse, and since the line where point is is also highlighted, the extra highlighting is distracting and confusing.…
elethan
  • 4,755
  • 3
  • 29
  • 56
7
votes
1 answer

Enable Emacs column selection using mouse

How to use mouse to select column in Emacs? How to enable it? The emacs wiki RectangleMark says, there is mouse support for rectangle highlighting by dragging the mouse while holding down the shift key. The idea is that this behaves exactly…
xpt
  • 447
  • 3
  • 16
7
votes
1 answer

binding M-[ causes mouse focus to insert characters

I have bound M-[ to backward-paragraph. This causes a problem in terminal mode, whereby every time the mouse enters or leaves the frame (i.e., Emacs gains or loses focus), the characters I and O are inserted in the buffer. To reproduce: start…
Tyler
  • 21,719
  • 1
  • 52
  • 92
6
votes
2 answers

Preventing mouse clicks in inactive windows from repositioning the cursor

When I have Emacs (24.4, Mac OS, NS build) in the foreground, I often have many windows open in one frame. I sometimes want to switch windows by clicking in an inactive window. By default, this calls mouse-set-point which (1) activates the window I…
gcv
  • 221
  • 1
  • 7
6
votes
1 answer

can scrolling be smoother than single line in emacs/org-mode?

Using the trackpad, the scrolling in emacs/spacemacs is notably less smooth than in modern browsers and other editors. I have to confess that this jerkiness irks me more than I would prefer but I have not found a way to improve that situation. It is…
Willy Tanner
  • 111
  • 4
6
votes
4 answers

How to disable mouse in Spacemacs

I'd like to completely disable my mouse in Spacemacs. Following the advice in this answer, I set up the following in my .spacemacs file as (defun dotspacemacs/user-config () "Configuration function for user code. This function is called at the…
JuanCaicedo
  • 679
  • 1
  • 6
  • 11
6
votes
1 answer

Emacs in PuTTY with xterm-mouse-mode: how to paste?

I'm running Emacs under PuTTY and this works better then I expected. But since I sometimes use the mouse to focus the PuTTY window, I turned xterm-mouse-mode on. This way the focus in the text changes to where I click. But now I can't past text into…
roeland
  • 173
  • 5
1
2 3 4 5 6 7 8