File: mouse.el.html

This package provides various useful commands (including help system access) through the mouse. All this code assumes that mouse interpretation has been abstracted into Emacs input events.

Defined variables (32)

context-menu-entryMenu item that creates the context menu and can be bound to a mouse key.
context-menu-filter-functionFunction that can filter the list produced by ‘context-menu-functions’.
context-menu-functionsList of functions that produce the contents of the context menu.
context-menu-modeNon-nil if Context-Menu mode is enabled.
context-menu-mode-hookHook run after entering or leaving ‘context-menu-mode’.
context-menu-mode-mapContext Menu mode map.
mouse--rectangle-track-cursorWhether the mouse tracks the cursor when selecting a rectangle.
mouse-1-click-follows-linkNon-nil means that clicking Mouse-1 on a link follows the link.
mouse-1-click-in-non-selected-windowsIf non-nil, a Mouse-1 click also follows links in non-selected windows.
mouse-1-double-click-prefer-symbolsIf non-nil, double-clicking Mouse-1 attempts to select the symbol at click.
mouse-buffer-menu-maxlenNumber of buffers in one pane (submenu) of the buffer menu.
mouse-buffer-menu-mode-groupsHow to group various major modes together in C-<down-mouse-1>.
mouse-buffer-menu-mode-multGroup the buffers by the major mode groups on C-<down-mouse-1>?
mouse-drag-and-drop-regionIf non-nil, dragging the mouse drags the region, if it exists.
mouse-drag-and-drop-region-cross-programIf non-nil, allow dragging text to other programs.
mouse-drag-and-drop-region-cut-when-buffers-differIf non-nil, cut text also when source and destination buffers differ.
mouse-drag-and-drop-region-scroll-marginIf non-nil, the scroll margin inside a window when dragging text.
mouse-drag-and-drop-region-show-cursorIf non-nil, move point with mouse cursor during dragging.
mouse-drag-and-drop-region-show-tooltipIf non-nil, text is shown by a tooltip in a graphic display.
mouse-drag-copy-regionIf non-nil, copy to kill ring upon mouse adjustments of the region.
mouse-drag-mode-line-bufferIf non-nil, allow dragging files from the mode line.
mouse-event-areas-with-no-buffer-positionsEvent areas not containing buffer positions.
mouse-scroll-delayThe pause between scroll steps caused by mouse drags, in seconds.
mouse-scroll-min-linesThe minimum number of lines scrolled by dragging mouse out of window.
mouse-secondary-overlayAn overlay which records the current secondary selection.
mouse-select-region-move-to-beginningEffect of selecting a region extending backward from double click.
mouse-shift-adjust-modeNon-nil if Mouse-Shift-Adjust mode is enabled.
mouse-shift-adjust-mode-hookHook run after entering or leaving ‘mouse-shift-adjust-mode’.
mouse-shift-adjust-mode-mapMouse shift adjustment mode map.
mouse-wheel-buttonsHow to remap mouse button numbers to wheel events.
mouse-yank-at-pointIf non-nil, mouse yank commands yank at point instead of at click.
x-fixed-font-alistX fonts suitable for use in Emacs.

Defined functions (91)

context-menu-buffers(MENU CLICK)
context-menu-ffap(MENU CLICK)
context-menu-global(MENU CLICK)
context-menu-local(MENU CLICK)
context-menu-map(&optional CLICK)
context-menu-middle-separator(MENU CLICK)
context-menu-minor(MENU CLICK)
context-menu-mode(&optional ARG)
context-menu-open()
context-menu-project(MENU CLICK)
context-menu-region(MENU CLICK)
context-menu-send-to(MENU CLICK)
context-menu-toolbar(MENU CLICK)
context-menu-undo(MENU CLICK)
context-menu-vc(MENU CLICK)
mark-thing-at-mouse(CLICK THING)
minor-mode-menu-from-indicator(INDICATOR &optional WINDOW EVENT)
mouse--click-1-maybe-follows-link(&optional PROMPT)
mouse--down-1-maybe-follows-link(&optional PROMPT)
mouse--drag-set-mark-and-point(START CLICK CLICK-COUNT)
mouse--strip-first-event(PROMPT)
mouse-appearance-menu(EVENT)
mouse-buffer-menu(EVENT)
mouse-buffer-menu-alist(BUFFERS)
mouse-buffer-menu-split(TITLE ALIST)
mouse-delete-other-windows(CLICK)
mouse-delete-window(CLICK)
mouse-double-click-time()
mouse-drag-and-drop-region(EVENT)
mouse-drag-and-drop-region-display-tooltip(TOOLTIP)
mouse-drag-and-drop-region-hide-tooltip()
mouse-drag-bottom-edge(START-EVENT)
mouse-drag-bottom-left-corner(START-EVENT)
mouse-drag-bottom-right-corner(START-EVENT)
mouse-drag-frame-move(START-EVENT)
mouse-drag-frame-resize(START-EVENT PART)
mouse-drag-header-line(START-EVENT)
mouse-drag-left-edge(START-EVENT)
mouse-drag-line(START-EVENT LINE)
mouse-drag-region(START-EVENT)
mouse-drag-region-rectangle(START-EVENT)
mouse-drag-region-shift-adjust(START-EVENT)
mouse-drag-right-edge(START-EVENT)
mouse-drag-secondary(START-EVENT)
mouse-drag-tab-line(START-EVENT)
mouse-drag-top-edge(START-EVENT)
mouse-drag-top-left-corner(START-EVENT)
mouse-drag-top-right-corner(START-EVENT)
mouse-drag-track(START-EVENT)
mouse-drag-vertical-line(START-EVENT)
mouse-fixup-help-message(MSG)
mouse-generate-font-menu()
mouse-generate-font-name-for-menu(ENTITY)
mouse-kill(CLICK)
mouse-kill-ring-save(CLICK)
mouse-kill-secondary()
mouse-menu-bar-map()
mouse-menu-non-singleton(MENUBAR)
mouse-minibuffer-check(EVENT)
mouse-minor-mode-menu(EVENT)
mouse-on-link-p(POS)
mouse-position-for-drag-line(TTY)
mouse-posn-property(POS PROPERTY)
mouse-region-match()
mouse-save-then-kill(CLICK)
mouse-save-then-kill-delete-region(BEG END)
mouse-scroll-subr(WINDOW JUMP &optional OVERLAY START ADJUST)
mouse-secondary-save-then-kill(CLICK)
mouse-select-font()
mouse-select-window(CLICK)
mouse-set-font(&rest FONTS)
mouse-set-mark(CLICK)
mouse-set-mark-fast(CLICK)
mouse-set-point(EVENT &optional PROMOTE-TO-REGION)
mouse-set-region(CLICK)
mouse-set-secondary(CLICK)
mouse-shift-adjust-mode(&optional ARG)
mouse-skip-word(DIR)
mouse-split-window-horizontally(CLICK)
mouse-split-window-vertically(CLICK)
mouse-start-end(START END MODE)
mouse-start-secondary(CLICK)
mouse-tear-off-window(CLICK)
mouse-yank-at-click(CLICK ARG)
mouse-yank-from-menu(CLICK STRING)
mouse-yank-primary(&optional EVENT)
mouse-yank-secondary(CLICK)
secondary-selection-exist-p()
secondary-selection-from-region()
secondary-selection-to-region()
tear-off-window(CLICK)

Defined faces (1)

mouse-drag-and-drop-regionFace to highlight original text during dragging. This face is used by ‘mouse-drag-and-drop-region’ to temporarily highlight the original region when ‘mouse-drag-and-drop-region-show-cursor’ is non-nil.