319 |
@kbd{Mouse-2} on a completion in the @samp{*Completions*} buffer, you |
@kbd{Mouse-2} on a completion in the @samp{*Completions*} buffer, you |
320 |
choose that completion. |
choose that completion. |
321 |
|
|
|
@vindex mouse-1-click-follows-link |
|
322 |
However, most applications use @kbd{Mouse-1} to do this sort of |
However, most applications use @kbd{Mouse-1} to do this sort of |
323 |
thing, so Emacs implements this too. If you click @kbd{Mouse-1} |
thing, so Emacs implements this too. If you click @kbd{Mouse-1} |
324 |
quickly on a reference or button, it follows or activates. If you |
quickly on a reference or button, it follows or activates. If you |
325 |
click slowly, it moves point as usual. Dragging, meaning moving the |
click slowly, it moves point as usual. Dragging, meaning moving the |
326 |
mouse while it is held down, also has its usual behavior of setting |
mouse while it is held down, also has its usual behavior of setting |
327 |
the region. The variable @code{mouse-1-click-follows-link} controls |
the region. |
|
whether @kbd{Mouse-1} has this behavior. |
|
328 |
|
|
329 |
@vindex mouse-1-click-follows-link |
@vindex mouse-1-click-in-non-selected-windows |
330 |
Normally, the @kbd{Mouse-1} click behavior is performed on links in |
Normally, the @kbd{Mouse-1} click behavior is performed on links in |
331 |
any window. The variable @code{mouse-1-click-in-non-selected-windows} |
any window. The variable @code{mouse-1-click-in-non-selected-windows} |
332 |
controls whether @kbd{Mouse-1} has this behavior even in non-selected |
controls whether @kbd{Mouse-1} has this behavior even in non-selected |
340 |
where the mouse already is), never, or only immediately after you move |
where the mouse already is), never, or only immediately after you move |
341 |
the mouse. |
the mouse. |
342 |
|
|
343 |
|
@vindex mouse-1-click-follows-link |
344 |
|
In Emacs versions before 22, only @kbd{Mouse-2} follows links and |
345 |
|
@kbd{Mouse-1} always sets points. If you prefer this behavior, set |
346 |
|
the variable @code{mouse-1-click-follows-link} to @code{nil}. This |
347 |
|
variable also lets you choose various other alternatives for following |
348 |
|
links with the mouse. Type @kbd{C-h v mouse-1-click-follows-link @key{RET}} |
349 |
|
for more details. |
350 |
|
|
351 |
@node Menu Mouse Clicks |
@node Menu Mouse Clicks |
352 |
@section Mouse Clicks for Menus |
@section Mouse Clicks for Menus |
353 |
|
|