| Server IP : 217.160.0.212 / Your IP : 216.73.216.141 Web Server : Apache System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/ |
Upload File : |
;ELC ;;; Compiled ;;; in Emacs version 28.2 ;;; with all optimizations. (require 'timer) #@50 Alist of all installed mouse wheel key bindings. (defvar mouse-wheel--installed-bindings-alist nil (#$ . 101)) #@19 (fn VAR BUTTON) (defalias 'mouse-wheel-change-button #[514 "\302\"\210\205 \303\301!\205 \205 \301\304!\207" [mouse-wheel--installed-bindings-alist mouse-wheel-mode set-default boundp 1] 5 (#$ . 218)]) (byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313& \210\300\314\302\303\315DD\316\306\307\310\311\312\313& \210\300\317\302\303\320DD\321\306\307\310\311\312\313& \210\300\322\302\303\323DD\324\306\307\310\325&\210\300\326\302\303\327DD\330\306\307\310\331\312\313\332\333&\210\300\334\302\303\335DD\336\306\307\310\337&\210\300\340\302\303\341DD\342\306\307\310\337&\210\300\343\302\303\344DD\345\306\307\310\325\332\333& \210\300\346\302\303\347DD\350\306\307\310\337\332\351& \210\300\352\302\303\353DD\354\306\307\310\337\332\351& \207" [custom-declare-variable mouse-wheel-down-event funcall function #[0 "\300\301!\204\f \300\302!\203 \303\207\304\207" [featurep w32-win ns-win wheel-up mouse-4] 2 #1=""] "Event used for scrolling down." :group mouse :type symbol :set mouse-wheel-change-button mouse-wheel-up-event #[0 "\300\301!\204\f \300\302!\203 \303\207\304\207" [featurep w32-win ns-win wheel-down mouse-5] 2 #1#] "Event used for scrolling up." mouse-wheel-click-event #[0 "\300\207" [mouse-2] 1 #1#] "Event that should be temporarily inhibited after mouse scrolling.\nThe mouse wheel is typically on the mouse-2 button, so it may easily\nhappen that text is accidentally yanked into the buffer when\nscrolling with the mouse wheel. To prevent that, this variable can be\nset to the event sent when clicking on the mouse wheel button." mouse-wheel-inhibit-click-time #[0 "\300\207" [0.35] 1 #1#] "Time in seconds to inhibit clicking on mouse wheel button after scroll." number mouse-wheel-scroll-amount #[0 "\300\207" [(1 ((shift) . hscroll) ((meta)) ((control) . text-scale))] 1 #1#] "Amount to scroll windows by when spinning the mouse wheel.\nThis is an alist mapping the modifier key to the amount to scroll when\nthe wheel is moved with the modifier key depressed.\nElements of the list have the form (MODIFIER . AMOUNT) or just AMOUNT if\nMODIFIER is nil.\n\nAMOUNT should be the number of lines to scroll, or nil for near full\nscreen. It can also be a floating point number, specifying the fraction of\na full screen to scroll. A near full screen is `next-screen-context-lines'\nless than a full screen.\n\nIf AMOUNT is the symbol 'hscroll', this means that with MODIFIER,\nthe mouse wheel will scroll horizontally instead of vertically.\n\nIf AMOUNT is the symbol 'text-scale', this means that with\nMODIFIER, the mouse wheel will change the face height instead of\nscrolling." (cons (choice :tag "Normal" (const :tag "Full screen" :value nil) (integer :tag "Specific # of lines") (float :tag "Fraction of window") (cons (repeat (choice :tag "modifier" (const alt) (const control) (const hyper) (const meta) (const shift) (const super))) (choice :tag "action" (const :tag "Scroll full screen" :value nil) (integer :tag "Scroll specific # of lines") (float :tag "Scroll fraction of window")))) (repeat (cons (repeat (choice :tag "modifier" (const alt) (const control) (const hyper) (const meta) (const shift) (const super))) (choice :tag "action" (const :tag "Scroll full screen" :value nil) (integer :tag "Scroll specific # of lines") (float :tag "Scroll fraction of window") (const :tag "Scroll horizontally" :value hscroll) (const :tag "Change face size" :value text-scale))))) :version "28.1" mouse-wheel-progressive-speed #[0 "\300\207" [t] 1 #1#] "If nil, scrolling speed is proportional to the wheel speed.\nIf non-nil, moving the wheel faster will make scrolling\nprogressively faster.\n\nNote that this has no effect when `mouse-wheel-scroll-amount' specifies\na \"near full screen\" scroll or when the mouse wheel sends key instead\nof button events." boolean mouse-wheel-follow-mouse #[0 "\300\207" [t] 1 #1#] "Whether the mouse wheel should scroll the window that the mouse is over.\nThis affects both the commands for scrolling and changing the\nface height." mouse-wheel-scroll-amount-horizontal #[0 "\300\207" [1] 1 #1#] "Amount to scroll windows horizontally.\nIts value can be changed dynamically by using a numeric prefix argument\nbefore starting horizontal scrolling.\nIt has effect when `mouse-wheel-scroll-amount' binds the value `hscroll'\nto one of modifiers (`Shift' by default)." mouse-wheel-tilt-scroll #[0 "\300\207" [nil] 1 #1#] "Enable horizontal scrolling by tilting mouse wheel or via touchpad.\nAlso see `mouse-wheel-flip-direction'." "26.1" mouse-wheel-flip-direction #[0 "\300\207" [nil] 1 #1#] "Swap direction of `wheel-right' and `wheel-left'.\nBy default, `wheel-right' scrolls the text to the right,\nand `wheel-left' scrolls in the other direction.\nIf this variable is non-nil, it inverts the direction of\nhorizontal scrolling by tilting the mouse wheel.\nAlso see `mouse-wheel-tilt-scroll'."] 12) #@14 (fn EVENT) (defalias 'mwheel-event-button #[257 "\302!\211\303=\203 AAA@\211\304W\203 \207 \207\207" [mouse-wheel-up-event mouse-wheel-down-event event-basic-type mouse-wheel 0] 5 (#$ . 5118)]) #@14 (fn EVENT) (defalias 'mwheel-event-window #[257 "\300!\211@\207" [event-start] 3 (#$ . 5325)]) #@59 Timer running while mouse wheel click event is inhibited. (defvar mwheel-inhibit-click-event-timer nil (#$ . 5429)) #@49 Handler for `mwheel-inhibit-click-event-timer'. (defalias 'mwheel-inhibit-click-timeout #[0 "\301\302\303\304\"\207" [mwheel-inhibit-click-event-timer nil remove-hook pre-command-hook mwheel-filter-click-events] 3 (#$ . 5551)]) #@62 Discard `mouse-wheel-click-event' while scrolling the mouse. (defalias 'mwheel-filter-click-events #[0 "\303! =\205 \304\211\207" [last-input-event mouse-wheel-click-event this-command event-basic-type ignore] 2 (#$ . 5786)]) #@49 Function that does the job of scrolling upward. (defvar mwheel-scroll-up-function 'scroll-up (#$ . 6021)) #@51 Function that does the job of scrolling downward. (defvar mwheel-scroll-down-function 'scroll-down (#$ . 6133)) #@47 Function that does the job of scrolling left. (defvar mwheel-scroll-left-function 'scroll-left (#$ . 6251)) #@48 Function that does the job of scrolling right. (defvar mwheel-scroll-right-function 'scroll-right (#$ . 6365)) #@32 Event used for scrolling left. (defvar mouse-wheel-left-event (byte-code "\300\301!\204\f \300\302!\203 \303\207\304\207" [featurep w32-win ns-win wheel-left mouse-6] 2) (#$ . 6482)) #@33 Event used for scrolling right. (defvar mouse-wheel-right-event (byte-code "\300\301!\204\f \300\302!\203 \303\207\304\207" [featurep w32-win ns-win wheel-right mouse-7] 2) (#$ . 6672)) #@196 Return window for mouse wheel event EVENT. If `mouse-wheel-follow-mouse' is non-nil, return the window that the mouse pointer is over. Otherwise, return the currently active window. (fn EVENT) (defalias 'mouse-wheel--get-scroll-window #[257 "\30127 \203 \302!\202 \303 \304!\205 \305\306!\307\"\310!\2054 \311 \211@A\312\313\314#\315\316$\266\203\266\2020\206= \302!\207" [mouse-wheel-follow-mouse found mwheel-event-window selected-window window-live-p frame-parameter window-frame mouse-wheel-frame frame-live-p mouse-absolute-pixel-position walk-window-tree make-closure #[257 "\302\303\304\211$\211@\300X\205) \300\3058X\205) \211A@\301X\205) \301\3068X\205) \307\310\"\207" [V0 V1 window-edges nil t 2 3 throw found] 6 "\n\n(fn WINDOW-1)"] nil t] 11 (#$ . 6866)]) #@389 Scroll up or down according to the EVENT. This should be bound only to mouse buttons 4, 5, 6, and 7 on non-Windows systems. Optional argument ARG (interactively, prefix numeric argument) controls the step of horizontal scrolling. The variable `mouse-wheel-scroll-amount-horizontal' records the last value of ARG, and the command uses it in subsequent scrolls. (fn EVENT &optional ARG) (defalias 'mwheel-scroll #[513 "\306 \307!\211=\205 \242\310=\205 \311 \312\313\312\314\312\315\316!\"\"\"\317 \"\320=\2042 \321\322\"\210\203= A\262\202L \211A\262\242\211\262:\204>