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.
130 questions
2 votes
1 answer
108 views
Unbinding a global key from a minor mode map
Is it possible to unbind a globally mapped key from a buffer-local minor mode keymap without affecting the binding in other buffers? Context: mouse.el (GNU Emacs 30.2) contains the following: (global-...
0 votes
0 answers
220 views
How to paste with mouse middle click the text copied from Emacs or other applications?
I would like to: Copy text from Emacs by highlighting it with a mouse (or copy from other applications with command+c). Paste the copied text into Emacs with mouse middle click (or paste it into ...
0 votes
0 answers
145 views
Changing the mouse-pointer size inside of Emacs
I encountered an interesting problem: my mouse curser (Arrow, PointingHand, Bar... Symbol) got scaled in spite of the font staying the same size. I'm running Windows 11 with WSL2 DISTRIB_ID=Ubuntu ...
0 votes
0 answers
24 views
How can I tell what function runs when you paste from the right-click menu? [duplicate]
I have made a serious error and pasting from the right-click menu does not behave as C-y does. I could bisect my config files and find the source of the error, but I would rather figure out what ...
2 votes
1 answer
75 views
Can emacs for windows (UI) be told to put the selection in the clipboard
Where I'm at: Using Windows for the first time in > 10 years after using emacs on X forever. What I'm trying to achieve: Whenever I select a region of text (lets say with mouse, but I could live ...
0 votes
1 answer
40 views
Maintaining prefix argument sensitivity: wrapping functions in emacs minor mode menus
I have a set of functions, some of which accept a prefix argument: (defun prefix-arg-test (&optional prefix) (interactive "P") (if prefix (message "prefix") (...
1 vote
2 answers
86 views
Temporary Inhibition of Mouse Events in Windows During Menu Opening
I'm facing an issue (Unwanted Focus Shift when Clicking Menu Functions in Emacs Mode Line) regarding mouse event handling in buffer windows during menus opening. To address this, I'm attempting to ...
1 vote
0 answers
512 views
With pixel scroll precision enabled in Emacs 29.1 RC1, is the following code still required?
I have the following code in my Emacs configuration to enhance the default scrolling behavior: (use-package mwheel :ensure nil :custom (mouse-wheel-scroll-amount '(1 ((shift) . 1))) (mouse-...