| 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/emulation/ |
Upload File : |
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.
(byte-code "\300\301!\210\300\302!\210\303\304\305\306\307\310\311\312&\207" [require viper-keym viper-util custom-declare-group viper-ex nil "Viper support for Ex commands." :prefix "ex-" :group viper] 8)
(defconst viper-ex-work-buf-name " *ex-working-space*")
(defvar viper-ex-work-buf (get-buffer-create viper-ex-work-buf-name))
(defconst viper-ex-tmp-buf-name " *ex-tmp*")
(defconst viper-ex-print-buf-name " *ex-print*")
(defvar viper-ex-print-buf (get-buffer-create viper-ex-print-buf-name))
#@13
(fn NAME)
(defalias 'ex-cmd-obsolete #[257 "\300\301\"\207" [error "`%s': Obsolete command, not supported by Viper"] 4 (#$ . 583)])
#@13
(fn NAME)
(defalias 'ex-cmd-not-yet #[257 "\300\301\"\207" [error "`%s': Command not implemented in Viper"] 4 (#$ . 724)])
(defconst ex-token-alist '(("!" (ex-command)) ("&" (ex-substitute t)) ("=" (ex-line-no)) (">" (ex-line "right")) ("<" (ex-line "left")) ("Buffer" (if ex-cycle-other-window (viper-switch-to-buffer) (viper-switch-to-buffer-other-window))) ("Next" (ex-next (not ex-cycle-other-window))) ("PreviousRelatedFile" (ex-next-related-buffer -1)) ("RelatedFile" (ex-next-related-buffer 1)) ("W" "Write") ("WWrite" (save-some-buffers t)) ("Write" (save-some-buffers)) ("a" "append") ("args" (ex-args)) ("buffer" (if ex-cycle-other-window (viper-switch-to-buffer-other-window) (viper-switch-to-buffer))) ("c" "change") ("ch" "chdir") ("cd" (ex-cd)) ("chdir" (ex-cd)) ("copy" (ex-copy nil)) ("customize" (customize-group "viper")) ("delete" (ex-delete)) ("edit" (ex-edit)) ("file" (ex-set-visited-file-name)) ("g" "global") ("global" (ex-global nil) is-mashed) ("goto" (ex-goto)) ("help" (ex-help)) ("join" (ex-line "join")) ("k" (ex-mark) one-letter) ("kmark" (ex-mark)) ("m" "move") ("make" (ex-compile)) ("map" (ex-map)) ("mark" (ex-mark)) ("move" (ex-copy t)) ("next" (ex-next ex-cycle-other-window)) ("p" "print") ("preserve" (ex-preserve)) ("print" (ex-print)) ("put" (ex-put)) ("pwd" (ex-pwd)) ("quit" (ex-quit)) ("r" "read") ("re" "read") ("read" (ex-read)) ("recover" (ex-recover)) ("rewind" (ex-rewind)) ("s" "substitute") ("su" "substitute") ("sub" "substitute") ("set" (ex-set)) ("shell" (ex-shell)) ("source" (ex-source)) ("stop" (suspend-emacs)) ("sr" (ex-substitute t t)) ("submitReport" (viper-submit-report)) ("substitute" (ex-substitute) is-mashed) ("suspend" (suspend-emacs)) ("t" "transfer") ("tag" (ex-tag)) ("transfer" (ex-copy nil)) ("u" "undo") ("un" "undo") ("undo" (viper-undo)) ("unmap" (ex-unmap)) ("v" "vglobal") ("version" (viper-version)) ("vglobal" (ex-global t) is-mashed) ("visual" (ex-edit)) ("w" "write") ("wq" (ex-write t)) ("write" (ex-write nil)) ("xit" (ex-write t)) ("yank" (ex-yank)) ("~" (ex-substitute t t)) ("append" (ex-cmd-obsolete "append")) ("change" (ex-cmd-obsolete "change")) ("insert" (ex-cmd-obsolete "insert")) ("open" (ex-cmd-obsolete "open")) ("list" (ex-cmd-not-yet "list")) ("z" (ex-cmd-not-yet "z")) ("#" (ex-cmd-not-yet "#")) ("abbreviate" (error "`%s': Vi abbreviations are obsolete. Use the more powerful Emacs abbrevs" ex-token)) ("unabbreviate" (error "`%s': Vi abbreviations are obsolete. Use the more powerful Emacs abbrevs" ex-token))))
#@12
(fn CMD)
(defalias 'ex-cmd-is-mashed-with-args #[257 "\211AA@\300=\205\n \211\207" [is-mashed] 3 (#$ . 3249)])
#@12
(fn CMD)
(defalias 'ex-cmd-is-one-letter #[257 "\211AA@\300=\205\n \211\207" [one-letter] 3 (#$ . 3368)])
#@12
(fn CMD)
(defalias 'ex-cmd-execute #[257 "\300A@\301\"\207" [eval t] 4 (#$ . 3482)])
#@17
(fn KEY LIST)
(defalias 'ex-splice-args-in-1-letr-cmd #[514 "\300\301\302\303O\"!\211\205% \304A@\303GW\205 \303\305OC\"AA@E\207" [ex-cmd-is-one-letter assoc 0 1 append nil] 9 (#$ . 3576)])
#@17
(fn KEY LIST)
(defalias 'ex-cmd-assoc #[514 "\300\"\301\302=\203 \303\"\2021 ;\203% \304\"\2061 \303\"\2021 \2040 \304\"\2021 \301\262\211A@;\203B \305A@\"\262\207" [try-completion nil t assoc ex-splice-args-in-1-letr-cmd ex-cmd-assoc] 7 (#$ . 3783)])
(defconst ex-variable-alist '(("wrapscan") ("ws") ("wrapmargin") ("wm") ("tabstop-global") ("ts-g") ("tabstop") ("ts") ("showmatch") ("sm") ("shiftwidth") ("sw") ("shell") ("sh") ("readonly") ("ro") ("nowrapscan") ("nows") ("noshowmatch") ("nosm") ("noreadonly") ("noro") ("nomagic") ("noma") ("noignorecase") ("noic") ("noautoindent-global") ("noai-g") ("noautoindent") ("noai") ("magic") ("ma") ("ignorecase") ("ic") ("autoindent-global") ("ai-g") ("autoindent") ("ai") ("all")))
(defvar ex-token nil)
(defvar ex-token-type nil)
(defvar ex-addresses nil)
(defvar ex-flag nil)
(defvar ex-buffer nil)
(defvar ex-count nil)
(defvar ex-g-flag nil)
(defvar ex-g-variant nil)
(defvar ex-g-marks nil)
(defvar ex-reg-exp nil)
(defvar ex-repl nil)
(defvar ex-g-pat nil)
(byte-code "\300\301\302\303\304DD\305\306\307%\210\300\310\302\303\311DD\312\306\313%\210\300\314\302\303\315DD\316\306\317%\210\300\320\302\303\321DD\322\306\323%\207" [custom-declare-variable ex-unix-type-shell funcall function #[0 "\302 ;\205 \303\304 \")\207" [case-fold-search shell-file-name t string-match "\\(csh$\\|csh.exe$\\|ksh$\\|ksh.exe$\\|^sh$\\|sh.exe$\\|[^a-z]sh$\\|[^a-z]sh.exe$\\|bash$\\|bash.exe$\\)"] 3 #1=""] "Is the user using a unix-type shell under a non-OS?" :type boolean ex-unix-type-shell-options #[0 "\303 \205 \304\305\n\"\203 \306\202 \304\307\n\"\205 \310)\207" [case-fold-search ex-unix-type-shell shell-file-name t string-match "\\(csh$\\|csh.exe$\\)" "-f" "\\(bash$\\|bash.exe$\\)" "-noprofile"] 3 #1#] "Options to pass to the Unix-style shell.\nDon't put `-c' here, as it is added automatically." (choice (const nil) string) ex-compile-command #[0 "\300\207" ["make"] 1 #1#] "The command to run when the user types :make." string viper-glob-function #[0 "\203 \302\207 \203\f \303\207\302\207" [ex-unix-type-shell viper-ms-style-os-p viper-glob-unix-files viper-glob-mswindows-files] 1 #1#] "Expand the file spec containing wildcard symbols.\nThe default tries to set this variable to work with Unix or MS Windows.\n\nHowever, if it doesn't work right for some types of Unix shells or some OS,\nthe user should supply the appropriate function and set this variable to the\ncorresponding function symbol." symbol] 6)
(defvar ex-tag nil)
(defvar ex-file nil)
(defvar ex-variant nil)
(defvar ex-offset nil)
(defvar ex-append nil)
(defvar ex-cmdfile nil)
(defvar ex-cmdfile-args "")
(defvar viper-keep-reading-filename nil)
(byte-code "\300\301\302\303\304DD\305\306\307%\210\300\310\302\303\311DD\312\306\307%\207" [custom-declare-variable ex-cycle-other-window funcall function #[0 "\300\207" [t] 1 #1=""] "If t, :n and :b cycles through files and buffers in other window.\nThen :N and :B cycles in the current window. If nil, this behavior is\nreversed." :type boolean ex-cycle-through-non-files #[0 "\300\207" [nil] 1 #1#] "Cycle through *scratch* and other buffers that don't visit any file."] 6)
(defvar viper-ex-last-shell-com nil)
(defvar viper-incomplete-ex-cmd nil)
(defvar viper-last-ex-prompt "")
(defalias 'viper-get-ex-com-subr #[0 "\304\211\305`!\210\306\307!\210\310`\311\312!{\313\n\"\262\211\203$ \211@\211\202'