| Server IP : 217.160.0.212 / Your IP : 216.73.216.75 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 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/emulation/ |
Upload File : |
;ELC ;;; Compiled ;;; in Emacs version 28.2 ;;; with all optimizations. (defalias 'viper-version #[0 "\301\302\"\207" [viper-version message "Viper version is %s"] 3 nil nil]) (byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias viper-device-type window-system nil make-obsolete "27.1"] 4) (defalias 'viper-color-display-p #[0 "\3001 \301 0\207\210\302\207" [(error) display-color-p nil] 1]) (defalias 'viper-window-display-p #[0 "\205 \301>?\207" [window-system (tty stream pc)] 2]) (byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313& \210\300\314\302\303\315DD\316\306\307\312\313&\210\300\317\302\303\320DD\321\306\307\312\322&\207" [custom-declare-variable viper-ms-style-os-p funcall function #[0 "\301>\207" [system-type (ms-dos windows-nt)] 2 #1=""] "Non-nil if Emacs is running under an MS-style OS: MS-DOS, or MS-Windows." :type boolean :tag "Is it Microsoft-made OS?" :group viper-misc viper-suppress-input-method-change-message #[0 "\300\207" [nil] 1 #1#] "If t, the message notifying about changes in the input method is not displayed.\nNormally, a message is displayed each time on enters the vi, insert or replace\nstate." viper-force-faces #[0 "\300\207" [nil] 1 #1#] "If t, Viper will think that it is running on a display that supports faces.\nThis is provided as a temporary relief for users of graphics-capable terminals\nthat Viper doesn't know about.\nIn all likelihood, you don't need to bother with this setting." viper-highlighting] 10) (defalias 'viper-has-face-support-p #[0 "\302 \206 \206 \303 \206 \304=\205 \305\207" [viper-force-faces window-system viper-window-display-p viper-color-display-p pc (pc)] 2]) #@209 Define VAR as a buffer-local variable. DEFAULT-VALUE is the default value, and DOCUMENTATION is the docstring. The variable becomes buffer-local whenever set. (fn VAR DEFAULT-VALUE &optional DOCUMENTATION) (defalias 'viper-deflocalvar '(macro . #[770 "\300F\207" [defvar-local] 7 (#$ . 1690)])) (byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put viper-deflocalvar lisp-indent-function defun make-obsolete defvar-local "28.1"] 5) #@25 (fn COUNT &rest BODY) (defalias 'viper-loop '(macro . #[385 "\300\301DC\302\303\304\305\"BBE\207" [let count while (> count 0) append ((setq count (1- count)))] 9 (#$ . 2145)])) (byte-code "\300\301\302\303#\300\207" [function-put viper-loop lisp-indent-function defun] 4) #@12 (fn BUF) (defalias 'viper-buffer-live-p '(macro . #[257 "\300\301D\302\301DDF\207" [and get-buffer buffer-name] 7 (#$ . 2428)])) #@18 (fn MACRO-ELT) (defalias 'viper-kbd-buf-alist '(macro . #[257 "\300\301E\207" [nth 1] 4 (#$ . 2568)])) #@18 (fn MACRO-ELT) (defalias 'viper-kbd-buf-pair '(macro . #[257 "\300\301\302DE\207" [assoc (buffer-name) viper-kbd-buf-alist] 5 (#$ . 2680)])) #@18 (fn MACRO-ELT) (defalias 'viper-kbd-buf-definition '(macro . #[257 "\300\301DD\207" [cdr viper-kbd-buf-pair] 4 (#$ . 2830)])) #@18 (fn MACRO-ELT) (defalias 'viper-kbd-mode-alist '(macro . #[257 "\300\301E\207" [nth 2] 4 (#$ . 2965)])) #@18 (fn MACRO-ELT) (defalias 'viper-kbd-mode-pair '(macro . #[257 "\300\301\302DE\207" [assoc major-mode viper-kbd-mode-alist] 5 (#$ . 3078)])) #@18 (fn MACRO-ELT) (defalias 'viper-kbd-mode-definition '(macro . #[257 "\300\301DD\207" [cdr viper-kbd-mode-pair] 4 (#$ . 3227)])) #@18 (fn MACRO-ELT) (defalias 'viper-kbd-global-pair '(macro . #[257 "\300\301E\207" [nth 3] 4 (#$ . 3364)])) #@18 (fn MACRO-ELT) (defalias 'viper-kbd-global-definition '(macro . #[257 "\300\301DD\207" [cdr viper-kbd-global-pair] 4 (#$ . 3478)])) #@12 (fn SEQ) (defalias 'viper-seq-last-elt #[257 "\211GS\234\207" [] 3 (#$ . 3619)]) (byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put viper-seq-last-elt speed -1 put byte-optimizer byte-compile-inline-expand] 5) #@15 (fn STRING) (defalias 'viper-string-to-list #[257 "\300\301!\302\"\207" [append vconcat nil] 4 (#$ . 3853)]) (byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put viper-string-to-list speed -1 put byte-optimizer byte-compile-inline-expand] 5) #@13 (fn LIST) (defalias 'viper-charlist-to-string #[257 "\300\301\302#\207" [mapconcat char-to-string ""] 5 (#$ . 4117)]) (byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put viper-charlist-to-string speed -1 put byte-optimizer byte-compile-inline-expand] 5) #@35 (fn DIRECTION &optional OFFSET) (defalias 'viper-char-at-pos #[513 "\211\250\204 \300\262\301=\203 `\\f\207`Z\206 `Sf\207" [0 forward] 4 (#$ . 4394)]) (defvar viper-minibuffer-overlay-priority 300) (defvar viper-replace-overlay-priority 400) (defvar viper-search-overlay-priority 500) (defvar viper-vi-intercept-minor-mode nil nil) (make-variable-buffer-local 'viper-vi-intercept-minor-mode) #@37 Viper's minor mode for Vi bindings. (defvar viper-vi-basic-minor-mode nil (#$ . 4801)) (make-variable-buffer-local 'viper-vi-basic-minor-mode) #@67 Auxiliary minor mode for user-defined local bindings in Vi state. (defvar viper-vi-local-user-minor-mode nil (#$ . 4950)) (make-variable-buffer-local 'viper-vi-local-user-minor-mode) #@68 Auxiliary minor mode for user-defined global bindings in Vi state. (defvar viper-vi-global-user-minor-mode nil (#$ . 5139)) (make-variable-buffer-local 'viper-vi-global-user-minor-mode) #@71 Minor mode used to make major-mode-specific modification to Vi state. (defvar viper-vi-state-modifier-minor-mode nil (#$ . 5331)) (make-variable-buffer-local 'viper-vi-state-modifier-minor-mode) #@66 This minor mode is in effect when the user wants Viper to be Vi. (defvar viper-vi-diehard-minor-mode nil (#$ . 5532)) (make-variable-buffer-local 'viper-vi-diehard-minor-mode) #@139 Minor mode for Ex command macros in Vi state. The corresponding keymap stores key bindings of Vi macros defined with the Ex command :map. (defvar viper-vi-kbd-minor-mode nil (#$ . 5715)) (make-variable-buffer-local 'viper-vi-kbd-minor-mode) (defvar viper-insert-intercept-minor-mode nil nil) (make-variable-buffer-local 'viper-insert-intercept-minor-mode) #@49 Viper's minor mode for bindings in Insert mode. (defvar viper-insert-basic-minor-mode nil (#$ . 6077)) (make-variable-buffer-local 'viper-insert-basic-minor-mode) #@173 Auxiliary minor mode for buffer-local user-defined bindings in Insert state. This is a way to overshadow normal Insert mode bindings locally to certain designated buffers. (defvar viper-insert-local-user-minor-mode nil (#$ . 6247)) (make-variable-buffer-local 'viper-insert-local-user-minor-mode) #@72 Auxiliary minor mode for global user-defined bindings in Insert state. (defvar viper-insert-global-user-minor-mode nil (#$ . 6550)) (make-variable-buffer-local 'viper-insert-global-user-minor-mode) #@75 Minor mode used to make major-mode-specific modification to Insert state. (defvar viper-insert-state-modifier-minor-mode nil (#$ . 6754)) (make-variable-buffer-local 'viper-insert-state-modifier-minor-mode) #@89 Minor mode that simulates Vi very closely. Not recommended, except for the novice user. (defvar viper-insert-diehard-minor-mode nil (#$ . 6967)) (make-variable-buffer-local 'viper-insert-diehard-minor-mode) #@141 Minor mode for Ex command macros Insert state. The corresponding keymap stores key bindings of Vi macros defined with the Ex command :map!. (defvar viper-insert-kbd-minor-mode nil (#$ . 7181)) (make-variable-buffer-local 'viper-insert-kbd-minor-mode) #@71 Minor mode in effect in replace state (cw, C, and the like commands). (defvar viper-replace-minor-mode nil (#$ . 7438)) (make-variable-buffer-local 'viper-replace-minor-mode) (defvar viper-emacs-intercept-minor-mode nil nil) (make-variable-buffer-local 'viper-emacs-intercept-minor-mode) #@140 Minor mode for local user bindings effective in Emacs state. Users can use it to override Emacs bindings when Viper is in its Emacs state. (defvar viper-emacs-local-user-minor-mode nil (#$ . 7733)) (make-variable-buffer-local 'viper-emacs-local-user-minor-mode) #@141 Minor mode for global user bindings in effect in Emacs state. Users can use it to override Emacs bindings when Viper is in its Emacs state. (defvar viper-emacs-global-user-minor-mode nil (#$ . 8002)) (make-variable-buffer-local 'viper-emacs-global-user-minor-mode) #@209 Minor mode for Vi style macros in Emacs state. The corresponding keymap stores key bindings of Vi macros defined with `viper-record-kbd-macro' command. There is no Ex-level command to do this interactively. (defvar viper-emacs-kbd-minor-mode nil (#$ . 8274)) (make-variable-buffer-local 'viper-emacs-kbd-minor-mode) #@171 Minor mode used to make major-mode-specific modification to Emacs state. For instance, a Vi purist may want to bind `dd' in Dired mode to a function that deletes a file. (defvar viper-emacs-state-modifier-minor-mode nil (#$ . 8598)) (make-variable-buffer-local 'viper-emacs-state-modifier-minor-mode) #@69 Minor mode that forces Vi-style when the Minibuffer is in Vi state. (defvar viper-vi-minibuffer-minor-mode nil (#$ . 8905)) (make-variable-buffer-local 'viper-vi-minibuffer-minor-mode) #@73 Minor mode that forces Vi-style when the Minibuffer is in Insert state. (defvar viper-insert-minibuffer-minor-mode nil (#$ . 9096)) (make-variable-buffer-local 'viper-insert-minibuffer-minor-mode) (defconst viper-SpuriousText "Spurious text after command") (defconst viper-BadExCommand "Not an editor command") (defconst viper-InvalidCommandArgument "Invalid command argument") (defconst viper-NoPrevSearch "No previous search string") (defconst viper-EmptyRegister "`%c': Nothing in this register") (defconst viper-InvalidRegister "`%c': Invalid register") (defconst viper-EmptyTextmarker "`%c': Text marker doesn't point anywhere") (defconst viper-InvalidTextmarker "`%c': Invalid text marker") (defconst viper-InvalidViCommand "Invalid command") (defconst viper-BadAddress "Ill-formed address") (defconst viper-FirstAddrExceedsSecond "First address exceeds second") (defconst viper-NoFileSpecified "No file specified") (defconst viper-ViperBell "Viper bell") (defvar viper-first-time t) #@340 User's expert level. The minor mode viper-vi-diehard-minor-mode is in effect when viper-expert-level is 1 or 2 or when viper-want-emacs-keys-in-vi is t. The minor mode viper-insert-diehard-minor-mode is in effect when viper-expert-level is 1 or 2 or if viper-want-emacs-keys-in-insert is t. Use `\[viper-set-expert-level]' to change this. (defvar viper-expert-level (byte-code "\301\300!\203 \207\302\207" [viper-expert-level boundp 0] 2) (#$ . 10093)) (defconst viper-max-expert-level 5) (defvar viper-automatic-iso-accents nil nil) (make-variable-buffer-local 'viper-automatic-iso-accents) #@12 (fn ARG) (defalias 'viper-set-iso-accents-mode #[257 "\301\300!\205 \211\211\207" [iso-accents-mode boundp] 3 (#$ . 10693)]) (byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put viper-set-iso-accents-mode speed -1 put byte-optimizer byte-compile-inline-expand] 5) (defvar viper-mule-hook-flag t) (defvar viper-special-input-method nil nil) (make-variable-buffer-local 'viper-special-input-method) (defalias 'viper-activate-input-method-action #[0 "\2052 \306\n\307=\203 \310\311!\210\n\312>\2052 ?\2052 \313\314\f\204% \2030 \315\316\f\206, \"\2021 \317\"\207" [viper-mule-hook-flag viper-special-input-method viper-current-state viper-suppress-input-method-change-message current-input-method default-input-method t vi-state viper-set-input-method nil (vi-state insert-state replace-state) message "Viper special input method%s: on" format " %S" ""] 5]) (defalias 'viper-deactivate-input-method-action #[0 "\205( \306\n\307>\205( ?\205( \310\311\f\204 \203&