?
Current Path : /usr/share/emacs/24.3/lisp/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : //usr/share/emacs/24.3/lisp/mouse-drag.elc |
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:06:26 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/mouse-drag.el ;;; in Emacs version 24.3.1 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; #@120 Scroll down ROW-DELTA lines and right COL-DELTA, ignoring buffer edge errors. Keep the cursor on the screen as needed. (defalias 'mouse-drag-safe-scroll #[(row-delta &optional col-delta) "\303 \203 \304U\204 \303\305\306\217\210\n\205D \n\304U?\205D \307\n!\210i\310 W\203. \311\310 !\202D \312i\310 \313 \314$\304V\205D \311\315\313 \310 \316#!)\207" [scroll-preserve-screen-position row-delta col-delta nil 0 (scroll-down row-delta) ((beginning-of-buffer (message "Beginning of buffer")) (end-of-buffer (message "End of buffer"))) scroll-right window-hscroll move-to-column - window-width -2 + -3] 5 (#$ . 554)]) #@66 Scroll ROW-DELTA rows and COL-DELTA cols until an event happens. (defalias 'mouse-drag-repeatedly-safe-scroll #[(row-delta &optional col-delta) "\303!\205 \304 \n\"\210\202 \207" [mouse-scroll-delay row-delta col-delta sit-for mouse-drag-safe-scroll] 3 (#$ . 1179)]) #@51 Determine if START-POSN and END-POSN are "close". (defalias 'mouse-drag-events-are-point-events-p #[(start-posn end-posn) "\304!\304\n! @@U\205 AAU*\207" [start-posn start-col-row end-posn end-col-row posn-col-row] 2 (#$ . 1455)]) #@63 If non-nil, mouse-drag on a long line enables truncate-lines. (defvar mouse-drag-electric-col-scrolling t (#$ . 1699)) #@127 Determine if it's wise to enable col-scrolling for the current window. Basically, we check for existing horizontal scrolling. (defalias 'mouse-drag-should-do-col-scrolling #[nil "\206- \304\305 !\306V\206- \307 ?\206- \205- \212\310 \311\210`\nZ\312 V\205, \313\211+\207" [truncate-lines mouse-drag-electric-col-scrolling end beg window-hscroll selected-window 0 window-full-width-p line-beginning-position nil window-width t] 2 (#$ . 1825)]) #@152 Set direction of mouse-throwing. If nil, the text moves in the direction the mouse moves. If t, the scroll bar moves in the direction the mouse moves. (defvar mouse-throw-with-scroll-bar nil (#$ . 2282)) (defconst mouse-throw-magnifier-min -6) (defconst mouse-throw-magnifier-max 6) (defconst mouse-throw-magnifier-base 1.5) (defalias 'mouse-drag-scroll-delta #[(mouse-delta) " \n^]\305\306\307\310!\311\n!_!!\n\312W\203 \313\202 \314\f\203% \314\202&