%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/ |
Current File : //usr/local/share/emacs/27.2/lisp/pixel-scroll.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; 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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (require 'mwheel) #@110 Idle time on each step of pixel scroll specified in second. More wait will result in slow and gentle scroll. (defvar pixel-wait 0 (#$ . 427)) #@458 Set scrolling resolution to pixels instead of a line. When it is t, scrolling resolution is number of pixels obtained by `frame-char-height' instead of a line. When it is number, scrolling resolution is set to number of pixels specified. In case you need scrolling resolution of a pixel, set to 1. After a pixel scroll, typing \[next-line] or \[previous-line] scrolls the window to make it fully visible, and undoes the effect of the pixel-level scroll. (defvar pixel-resolution-fine-flag nil (#$ . 576)) #@225 Minimal interval in seconds before next smooth scrolling. If another scrolling request arrives within this period, scrolling will be carried out without pixel resolution. If zero, scrolling is always with pixel resolution. (defvar pixel-dead-time 0.1 (#$ . 1091)) #@67 Time when the last scrolling was made, in second since the epoch. (defvar pixel-last-scroll-time 0 (#$ . 1362)) #@274 Return non-nil if next scroll should be non-smooth. When scrolling request is delivered soon after the previous one, user is in hurry. When the time since last scroll is larger than `pixel-dead-time', we are ready for another smooth scroll, and this function returns nil. (defalias 'pixel-scroll-in-rush-p #[nil "\304 \305\306 \"\n\"\307!*\207" [now pixel-last-scroll-time pixel-dead-time scroll-in-rush-p current-time time-less-p time-subtract float-time] 4 (#$ . 1481)]) #@272 Non-nil if Pixel-Scroll mode is enabled. See the `pixel-scroll-mode' command for a description of this minor mode. Setting this variable directly does not take effect; either customize it (see the info node `Easy Customization') or call the function `pixel-scroll-mode'. (custom-declare-variable 'pixel-scroll-mode nil '(#$ . 1968) :set 'custom-set-minor-mode :initialize 'custom-initialize-default :group 'scrolling :type 'boolean :version "26.1") #@290 A minor mode to scroll text pixel-by-pixel. If called interactively, enable Pixel-Scroll mode if ARG is positive, and disable it if ARG is zero or negative. If called from Lisp, also enable the mode if ARG is omitted or nil, and toggle it if ARG is `toggle'; disable the mode otherwise. (defalias 'pixel-scroll-mode #[(&optional arg) "\306 \307\302 \310=\203 \311\302!?\202 \312 !\313V\"\210\n\203$ \314\315\202( \316\317\320\321\311\302!\2034 \322\2025 \323\"\210\324\325!\203` \326\302!\210\306 \203M \306 \232\203` \327\330\331\311\302!\203[ \332\202\\ \333 #\210))\334 \210\311\302!\207" [#1=#:last-message arg pixel-scroll-mode mwheel-scroll-up-function mwheel-scroll-down-function local current-message set-default toggle default-value prefix-numeric-value 0 pixel-scroll-up pixel-scroll-down scroll-up scroll-down run-hooks pixel-scroll-mode-hook pixel-scroll-mode-on-hook pixel-scroll-mode-off-hook called-interactively-p any customize-mark-as-set "" message "Pixel-Scroll mode %sabled%s" "en" "dis" force-mode-line-update] 4 (#$ . 2424) (list (or current-prefix-arg 'toggle))]) (defvar pixel-scroll-mode-hook nil) (byte-code "\301\302N\204\f \303\301\302\304#\210\305\306\307\310\300!\205 \307\211%\207" [pixel-scroll-mode-map pixel-scroll-mode-hook variable-documentation put "Hook run after entering or leaving `pixel-scroll-mode'.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" add-minor-mode pixel-scroll-mode nil boundp] 6) #@108 Scroll text of selected window up ARG lines. This is an alternative of `scroll-up'. Scope moves downward. (defalias 'pixel-scroll-up #[(&optional arg) "\204 \305\306 \203 \307!\207\310 \nW\205b \203+ \250\203&