Mouse Commands Frames Mouse References
The secondary selection is another way of selecting text using X. It does not use point or the mark, so you can use it to kill text without setting point or the mark.
M-Drag-Mouse-1 |
Set the secondary selection, with one end at the place where you press
down the button, and the other end at the place where you release it
( If you move the mouse off the top or bottom of the window while dragging, the window scrolls at a steady rate until you move the mouse back into the window. This way, you can mark regions that don't fit entirely on the screen. |
M-Mouse-1 |
Set one endpoint for the secondary selection
( |
M-Mouse-3 |
Make a secondary selection, using the place specified with M-Mouse-1
as the other end ( |
M-Mouse-2 |
Insert the secondary selection where you click
( |
Double or triple clicking of M-Mouse-1 operates on words and lines, much like Mouse-1.
If mouse-yank-at-point
is non-nil
, M-Mouse-2
yanks at point. Then it does not matter precisely where you click; all
that matters is which window you click on. See Mouse Commands.