?
Current Path : /usr/share/emacs/24.3/lisp/emulation/ |
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/emulation/viper-mous.elc |
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:11:01 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/emulation/viper-mous.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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\301\302!\210\210\303\304!\210\305\306\307\310\311\312\313\314&\207" [noninteractive provide viper-mous require viper-util custom-declare-group viper-mouse nil "Support for Viper special mouse-bound commands." :prefix "viper-" :group viper] 8) (defvar viper-frame-of-focus nil) (defvar viper-current-frame-saved (selected-frame)) (byte-code "\300\301\302\303\304\305\306\307&\210\300\310\311\312\304\313\306\307&\207" [custom-declare-variable viper-surrounding-word-function 'viper-surrounding-word "Function that determines what constitutes a word for clicking events.\nTakes two parameters: a COUNT, indicating how many words to return,\nand CLICK-COUNT, telling whether this is the first click, a double-click,\nor a triple-click." :type symbol :group viper-mouse viper-multiclick-timeout (if (viper-window-display-p) (if (featurep 'xemacs) mouse-track-multi-click-time double-click-time) 500) "Time interval in millisecond within which successive mouse clicks are\nconsidered related." integer] 8) (defvar viper-current-click-count 0) (defvar viper-last-click-event-timestamp 0) #@20 nil (buffer local) (defvar viper-mouse-click-search-noerror t (#$ . 1662)) (make-variable-buffer-local 'viper-mouse-click-search-noerror) #@20 nil (buffer local) (defvar viper-mouse-click-search-limit nil (#$ . 1806)) (make-variable-buffer-local 'viper-mouse-click-search-limit) (defvar viper-global-prefix-argument nil) (defvar viper-mouse-up-search-key-parsed nil) (defvar viper-mouse-down-search-key-parsed nil) (defvar viper-mouse-up-insert-key-parsed nil) (defvar viper-mouse-down-insert-key-parsed nil) (defalias 'viper-multiclick-p #[nil "\303\304\n\305\245 \"*?\207" [viper-multiclick-timeout nodisp val t sit-for 1000.0] 3]) (put 'viper-multiclick-p 'byte-optimizer 'byte-compile-inline-expand) (defalias 'viper-mouse-click-window #[(click) "\303!\211@)\304\n!\203 \n\202 \305\306!)\207" [click position win event-start window-live-p error "Click was not over a live window"] 3]) (defalias 'viper-mouse-click-frame #[(click) "\301\302!!\207" [click window-frame viper-mouse-click-window] 3]) (put 'viper-mouse-click-frame 'byte-optimizer 'byte-compile-inline-expand) (defalias 'viper-mouse-click-window-buffer #[(click) "\301\302!!\207" [click window-buffer viper-mouse-click-window] 3]) (put 'viper-mouse-click-window-buffer 'byte-optimizer 'byte-compile-inline-expand) (defalias 'viper-mouse-click-window-buffer-name #[(click) "\301\302\303!!)!\207" [click buffer-name window-buffer viper-mouse-click-window] 4]) (put 'viper-mouse-click-window-buffer-name 'byte-optimizer 'byte-compile-inline-expand) (defalias 'viper-mouse-click-posn #[(click) "\302!\303 8\206 A@:\203 A@@\202 A@)\207" [click position event-start 5] 2]) (put 'viper-mouse-click-posn 'byte-optimizer 'byte-compile-inline-expand) #@754 Returns word surrounding point according to a heuristic. COUNT indicates how many regions to return. If CLICK-COUNT is 1, `word' is a word in Vi sense. If CLICK-COUNT is 2,then `word' is a Word in Vi sense. If the character clicked on is a non-separator and is non-alphanumeric but is adjacent to an alphanumeric symbol, then it is considered alphanumeric for the purpose of this command. If this character has a matching character, such as `(' is a match for `)', then the matching character is also considered alphanumeric. For convenience, in Lisp modes, `-' is considered alphanumeric. If CLICK-COUNT is 3 or more, returns the line clicked on with leading and trailing space and tabs removed. In that case, the first argument, COUNT, is ignored. (defalias 'viper-surrounding-word #[(count click-count) "\306\307\211\211\211 \310V\203U \212\311 \210\312\n2\313=\2033 \n\203+ 3\307w\210\202G 4\307w\210\202G \314\3155\n\206= \316\n\205E \317\320!$\210)`\307\210`{)\202b\3076\321 \206a \3226!)\204\330 \212\323 \210\322 )\204y \212\324 \210\322 )\203\330 \f\325\326!\203\204 \326\202\326 \325\327!\203\216 \330\202\326 \325\331!\203\230 \332\202\326 \325\333!\203\242 \334\202\326 \325\335!\203\254 \336\202\326 \325\337!\203\266 \340\202\326 \325\341!\203\300 \342\202\326 \325\343!\203\312 \343\202\326 \321 \203\323 \344\202\326 \345g!P\325\327!\204\354 \346\347\3507!\"\203\354 \f\330P\212 \351V\203\372 \352\353!\210\202.\322\f!\203\354\f!\210\202.\f6\321 \206\3226!)\204\355 \210\202. \351V\203*\352\353!\210\202.\354\f!\210`\3078\356V\203]\n\203A\324\351!\210\357 \351V\203P\352\315!\210\202T\360\f!\2108S\2118\2024`{)\361\356 G\307 $\210 -\207" [word-beg result skip-flag beg modifiers click-count "_" nil 2 beginning-of-line within-line strict-vi viper-skip-syntax forward "\n" viper-line-pos end viper-looking-at-separator viper-looking-at-alpha viper-backward-char-carefully viper-forward-char-carefully looking-at "\\\\" "-" "C-C-" "[][]" "][" "[()]" ")(" "[{}]" "{}" "[<>]" "<>" "[`']" "`'" "\\^" "" char-to-string string-match "lisp" symbol-name 1 viper-skip-nonseparators backward viper-skip-alpha-backward viper-skip-nonalphasep-backward 0 t viper-skip-alpha-forward set-text-properties viper-syntax-preference viper-strict-SEP-chars-sans-newline viper-strict-SEP-chars viper-SEP-char-class addl-chars major-mode count] 7 (#$ . 3398)]) #@227 Returns word surrounding the position of a mouse click. Click may be in another window. Current window and buffer isn't changed. On single or double click, returns the word as determined by `viper-surrounding-word-function'. (defalias 'viper-mouse-click-get-word #[(click count click-count) "\306\307!\310 8\206 A@:\203 A@@\202 A@*\311\312!!)\313 !\2042 \314\313!\204<