Server IP : 111.118.215.189 / Your IP : 52.14.236.216 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/emacs/24.3/lisp/emulation/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:11:00 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/emulation/viper-init.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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (defalias 'viper-version #[nil "\301\302\"\207" [viper-version message "Viper version is %s"] 3 nil nil]) (defalias 'viper-device-type #[nil "\207" [window-system] 1]) (put 'viper-device-type 'byte-optimizer 'byte-compile-inline-expand) (defalias 'viper-color-display-p #[nil "\300\301\302\217\207" [nil (display-color-p) ((error))] 3]) (defalias 'viper-window-display-p #[nil "\205 \301>?\207" [window-system (tty stream pc)] 2]) (byte-code "\300\301\302\303\304\305\306\307\310\311& \210\300\312\313\314\304\305\310\311&\210\300\315\313\316\304\305\310\317&\207" [custom-declare-variable viper-ms-style-os-p (memq system-type (if (featurep 'emacs) '(ms-dos windows-nt) '(ms-dos windows-nt windows-95))) "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 nil "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 "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 #[nil "\302 \206 \206 \303 \206 \304>\207" [viper-force-faces window-system viper-window-display-p viper-color-display-p (pc)] 2]) #@161 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. (defalias 'viper-deflocalvar '(macro . #[(var default-value &optional documentation) "\303\304 \305\306\n\"F\307\310DDE\207" [var default-value documentation progn defvar format "%s\n(buffer local)" make-variable-buffer-local quote] 7 (#$ . 2100)])) (put 'viper-deflocalvar 'lisp-indent-function 'defun) (defalias 'viper-loop '(macro . #[(count &rest body) "\302\300DC\303\304\305 \306\"BBE\207" [count body let while (> count 0) append ((setq count (1- count)))] 7])) (put 'viper-loop 'lisp-indent-function 'defun) (defalias 'viper-buffer-live-p '(macro . #[(buf) "\301\302D\303\302DDF\207" [buf and get-buffer buffer-name] 6])) (defalias 'viper-kbd-buf-alist '(macro . #[(macro-elt) "\301\302E\207" [macro-elt nth 1] 3])) (defalias 'viper-kbd-buf-pair '(macro . #[(macro-elt) "\301\302\303DE\207" [macro-elt assoc (buffer-name) viper-kbd-buf-alist] 4])) (defalias 'viper-kbd-buf-definition '(macro . #[(macro-elt) "\301\302DD\207" [macro-elt cdr viper-kbd-buf-pair] 3])) (defalias 'viper-kbd-mode-alist '(macro . #[(macro-elt) "\301\302E\207" [macro-elt nth 2] 3])) (defalias 'viper-kbd-mode-pair '(macro . #[(macro-elt) "\301\302\303DE\207" [macro-elt assoc major-mode viper-kbd-mode-alist] 4])) (defalias 'viper-kbd-mode-definition '(macro . #[(macro-elt) "\301\302DD\207" [macro-elt cdr viper-kbd-mode-pair] 3])) (defalias 'viper-kbd-global-pair '(macro . #[(macro-elt) "\301\302E\207" [macro-elt nth 3] 3])) (defalias 'viper-kbd-global-definition '(macro . #[(macro-elt) "\301\302DD\207" [macro-elt cdr viper-kbd-global-pair] 3])) (defalias 'viper-seq-last-elt #[(seq) "\211GS\234\207" [seq] 2]) (put 'viper-seq-last-elt 'byte-optimizer 'byte-compile-inline-expand) (defalias 'viper-string-to-list #[(string) "\301\302!\303\"\207" [string append vconcat nil] 3]) (put 'viper-string-to-list 'byte-optimizer 'byte-compile-inline-expand) (defalias 'viper-charlist-to-string #[(list) "\301\302\303#\207" [list mapconcat char-to-string ""] 4]) (put 'viper-charlist-to-string 'byte-optimizer 'byte-compile-inline-expand) (defalias 'viper-char-at-pos #[(direction &optional offset) "\250\204 \302 \303=\203 `\\f\207`ZSf\207" [offset direction 0 forward] 2]) (defvar viper-minibuffer-overlay-priority 300) (defvar viper-replace-overlay-priority 400) (defvar viper-search-overlay-priority 500) #@20 nil (buffer local) (defvar viper-vi-intercept-minor-mode nil (#$ . 4580)) (make-variable-buffer-local 'viper-vi-intercept-minor-mode) #@52 Viper's minor mode for Vi bindings. (buffer local) (defvar viper-vi-basic-minor-mode nil (#$ . 4720)) (make-variable-buffer-local 'viper-vi-basic-minor-mode) #@82 Auxiliary minor mode for user-defined local bindings in Vi state. (buffer local) (defvar viper-vi-local-user-minor-mode nil (#$ . 4884)) (make-variable-buffer-local 'viper-vi-local-user-minor-mode) #@83 Auxiliary minor mode for user-defined global bindings in Vi state. (buffer local) (defvar viper-vi-global-user-minor-mode nil (#$ . 5088)) (make-variable-buffer-local 'viper-vi-global-user-minor-mode) #@86 Minor mode used to make major-mode-specific modification to Vi state. (buffer local) (defvar viper-vi-state-modifier-minor-mode nil (#$ . 5295)) (make-variable-buffer-local 'viper-vi-state-modifier-minor-mode) #@81 This minor mode is in effect when the user wants Viper to be Vi. (buffer local) (defvar viper-vi-diehard-minor-mode nil (#$ . 5511)) (make-variable-buffer-local 'viper-vi-diehard-minor-mode) #@154 Minor mode for Ex command macros in Vi state. The corresponding keymap stores key bindings of Vi macros defined with the Ex command :map. (buffer local) (defvar viper-vi-kbd-minor-mode nil (#$ . 5709)) (make-variable-buffer-local 'viper-vi-kbd-minor-mode) #@20 nil (buffer local) (defvar viper-insert-intercept-minor-mode nil (#$ . 5971)) (make-variable-buffer-local 'viper-insert-intercept-minor-mode) #@64 Viper's minor mode for bindings in Insert mode. (buffer local) (defvar viper-insert-basic-minor-mode nil (#$ . 6119)) (make-variable-buffer-local 'viper-insert-basic-minor-mode) #@188 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. (buffer local) (defvar viper-insert-local-user-minor-mode nil (#$ . 6304)) (make-variable-buffer-local 'viper-insert-local-user-minor-mode) #@87 Auxiliary minor mode for global user-defined bindings in Insert state. (buffer local) (defvar viper-insert-global-user-minor-mode nil (#$ . 6622)) (make-variable-buffer-local 'viper-insert-global-user-minor-mode) #@90 Minor mode used to make major-mode-specific modification to Insert state. (buffer local) (defvar viper-insert-state-modifier-minor-mode nil (#$ . 6841)) (make-variable-buffer-local 'viper-insert-state-modifier-minor-mode) #@104 Minor mode that simulates Vi very closely. Not recommended, except for the novice user. (buffer local) (defvar viper-insert-diehard-minor-mode nil (#$ . 7070)) (make-variable-buffer-local 'viper-insert-diehard-minor-mode) #@156 Minor mode for Ex command macros Insert state. The corresponding keymap stores key bindings of Vi macros defined with the Ex command :map!. (buffer local) (defvar viper-insert-kbd-minor-mode nil (#$ . 7299)) (make-variable-buffer-local 'viper-insert-kbd-minor-mode) #@86 Minor mode in effect in replace state (cw, C, and the like commands). (buffer local) (defvar viper-replace-minor-mode nil (#$ . 7571)) (make-variable-buffer-local 'viper-replace-minor-mode) #@20 nil (buffer local) (defvar viper-emacs-intercept-minor-mode nil (#$ . 7767)) (make-variable-buffer-local 'viper-emacs-intercept-minor-mode) #@155 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. (buffer local) (defvar viper-emacs-local-user-minor-mode nil (#$ . 7914)) (make-variable-buffer-local 'viper-emacs-local-user-minor-mode) #@156 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. (buffer local) (defvar viper-emacs-global-user-minor-mode nil (#$ . 8198)) (make-variable-buffer-local 'viper-emacs-global-user-minor-mode) #@224 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. (buffer local) (defvar viper-emacs-kbd-minor-mode nil (#$ . 8485)) (make-variable-buffer-local 'viper-emacs-kbd-minor-mode) #@186 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. (buffer local) (defvar viper-emacs-state-modifier-minor-mode nil (#$ . 8824)) (make-variable-buffer-local 'viper-emacs-state-modifier-minor-mode) #@84 Minor mode that forces Vi-style when the Minibuffer is in Vi state. (buffer local) (defvar viper-vi-minibuffer-minor-mode nil (#$ . 9146)) (make-variable-buffer-local 'viper-vi-minibuffer-minor-mode) #@88 Minor mode that forces Vi-style when the Minibuffer is in Insert state. (buffer local) (defvar viper-insert-minibuffer-minor-mode nil (#$ . 9352)) (make-variable-buffer-local 'viper-insert-minibuffer-minor-mode) #@2 (defconst viper-SpuriousText "Spurious text after command" (#$ . 9569)) #@2 (defconst viper-BadExCommand "Not an editor command" (#$ . 9647)) #@2 (defconst viper-InvalidCommandArgument "Invalid command argument" (#$ . 9719)) #@2 (defconst viper-NoPrevSearch "No previous search string" (#$ . 9804)) #@2 (defconst viper-EmptyRegister "`%c': Nothing in this register" (#$ . 9880)) #@2 (defconst viper-InvalidRegister "`%c': Invalid register" (#$ . 9962)) #@2 (defconst viper-EmptyTextmarker "`%c': Text marker doesn't point anywhere" (#$ . 10038)) #@2 (defconst viper-InvalidTextmarker "`%c': Invalid text marker" (#$ . 10133)) #@2 (defconst viper-InvalidViCommand "Invalid command" (#$ . 10215)) #@2 (defconst viper-BadAddress "Ill-formed address" (#$ . 10286)) #@2 (defconst viper-FirstAddrExceedsSecond "First address exceeds second" (#$ . 10354)) #@2 (defconst viper-NoFileSpecified "No file specified" (#$ . 10444)) (defvar viper-first-time t) #@341 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 `M-x 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) (#$ . 10546)) (defconst viper-max-expert-level 5) #@17 (buffer local) (defvar viper-automatic-iso-accents nil (#$ . 11044)) (make-variable-buffer-local 'viper-automatic-iso-accents) (defalias 'viper-set-iso-accents-mode #[(arg) "\302\301!\205 \211\207" [arg iso-accents-mode boundp] 2]) (put 'viper-set-iso-accents-mode 'byte-optimizer 'byte-compile-inline-expand) (defvar viper-mule-hook-flag t) #@17 (buffer local) (defvar viper-special-input-method nil (#$ . 11396)) (make-variable-buffer-local 'viper-special-input-method) (defalias 'viper-activate-input-method-action #[nil "\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 #[nil "\205( \306\n\307>\205( ?\205( \310\311\f\204 \203&