?
Current Path : /usr/share/emacs/24.3/lisp/ |
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/arc-mode.elc |
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:06:11 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/arc-mode.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 "\302\303\304\305\306\307%\210\302\310\304\311\306\303%\210\302\312\304\313\306\303%\210\302\314\304\315\306\303%\210\302\316\304\317\306\303%\210\320\321\322\323\324\325\306\303&\210\320\326\327\330\324\331\306\303&\210\332\333\334\304#\210\335\304\211\203j @\333N\203c \334N\204c \336\334\333N#\210 A\211\204L *\337\333\334\340#\210\320\334\304\341\324\342\306\303&\210\320\343\344\345\324\346\306\310&\210\320\347\350\351\324\352\306\310&\210\320\353\354\355\324\356\306\310&\210\320\357\360\361\324\362\306\312&\210\320\363\364\365\324\366\306\312&\210\320\367\370\371\324\372\306\312&\210\320\373\374\375\324\376\306\314&\210\320\377\201@ \201A \324\201B \306\314&\210\320\201C \201D \201E \324\201F \306\314&\210\320\201G \201H \201I \324\201J \306\314&\210\320\201K \201L \201M \324\201N \306\314&\210\320\201O \201P \201Q \324\201R \306\316&\210\320\201S \201T \201U \324\201V \306\316&\210\320\201W \201X \201Y \324\201Z \306\316&\210\320\201[ \201\\ \201] \201^ \201_ \324\201` \306\201a & \210\320\201b \201c \201d \201^ \201_ \324\201e \306\201a & \210\320\201f \201g \201h \201^ \201_ \324\201i \306\201a & \207" [prop --dolist-tail-- custom-declare-group archive nil "Simple editing of archives." :group data archive-arc "ARC-specific options to archive." archive-lzh "LZH-specific options to archive." archive-zip "ZIP-specific options to archive." archive-zoo "ZOO-specific options to archive." custom-declare-variable archive-tmpdir (make-temp-name (expand-file-name (if (eq system-type 'ms-dos) "ar" "archive.tmp") temporary-file-directory)) "Directory for temporary files made by `arc-mode.el'." :type directory archive-remote-regexp "^/[^/:]*[^/:.]:" "Regexp recognizing archive files names that are not local.\nA non-local file is one whose file name is not proper outside Emacs.\nA local copy of the archive will be used when updating." regexp defvaralias archive-extract-hooks archive-extract-hook (saved-value saved-variable-comment) put make-obsolete-variable "24.3" "Hook run when an archive member has been extracted." hook archive-arc-extract '("arc" "x") "Program and its options to run in order to extract an arc file member.\nExtraction should happen to the current directory. Archive and member\nname will be added." (list (string :tag "Program") (repeat :tag "Options" :inline t (string :format "%v"))) archive-arc-expunge '("arc" "d") "Program and its options to run in order to delete arc file members.\nArchive and member names will be added." (list (string :tag "Program") (repeat :tag "Options" :inline t (string :format "%v"))) archive-arc-write-file-member '("arc" "u") "Program and its options to run in order to update an arc file member.\nArchive and member name will be added." (list (string :tag "Program") (repeat :tag "Options" :inline t (string :format "%v"))) archive-lzh-extract '("lha" "pq") "Program and its options to run in order to extract an lzh file member.\nExtraction should happen to standard output. Archive and member name will\nbe added." (list (string :tag "Program") (repeat :tag "Options" :inline t (string :format "%v"))) archive-lzh-expunge '("lha" "d") "Program and its options to run in order to delete lzh file members.\nArchive and member names will be added." (list (string :tag "Program") (repeat :tag "Options" :inline t (string :format "%v"))) archive-lzh-write-file-member '("lha" "a") "Program and its options to run in order to update an lzh file member.\nArchive and member name will be added." (list (string :tag "Program") (repeat :tag "Options" :inline t (string :format "%v"))) archive-zip-extract (cond ((executable-find "unzip") '("unzip" "-qq" "-c")) ((executable-find "7z") '("7z" "x" "-so")) ((executable-find "pkunzip") '("pkunzip" "-e" "-o-")) (t '("unzip" "-qq" "-c"))) "Program and its options to run in order to extract a zip file member.\nExtraction should happen to standard output. Archive and member name will\nbe added." (list (string :tag "Program") (repeat :tag "Options" :inline t (string :format "%v"))) archive-zip-expunge (cond ((executable-find "zip") '("zip" "-d" "-q")) ((executable-find "7z") '("7z" "d")) ((executable-find "pkzip") '("pkzip" "-d")) (t '("zip" "-d" "-q"))) "Program and its options to run in order to delete zip file members.\nArchive and member names will be added." (list (string :tag "Program") (repeat :tag "Options" :inline t (string :format "%v"))) archive-zip-update (cond ((executable-find "zip") '("zip" "-q")) ((executable-find "7z") '("7z" "u")) ((executable-find "pkzip") '("pkzip" "-u" "-P")) (t '("zip" "-q"))) "Program and its options to run in order to update a zip file member.\nOptions should ensure that specified directory will be put into the zip\nfile. Archive and member name will be added." (list (string :tag "Program") (repeat :tag "Options" :inline t (string :format "%v"))) archive-zip-update-case (cond ((executable-find "zip") '("zip" "-q" "-k")) ((executable-find "7z") '("7z" "u")) ((executable-find "pkzip") '("pkzip" "-u" "-P")) (t '("zip" "-q" "-k"))) "Program and its options to run in order to update a case fiddled zip member.\nOptions should ensure that specified directory will be put into the zip file.\nArchive and member name will be added." (list (string :tag "Program") (repeat :tag "Options" :inline t (string :format "%v"))) archive-zip-case-fiddle t "If non-nil then zip file members may be down-cased.\nThis case fiddling will only happen for members created by a system\nthat uses caseless file names." boolean archive-zoo-extract '("zoo" "xpq") "Program and its options to run in order to extract a zoo file member.\nExtraction should happen to standard output. Archive and member name will\nbe added." (list (string :tag "Program") (repeat :tag "Options" :inline t (string :format "%v"))) archive-zoo-expunge '("zoo" "DqPP") "Program and its options to run in order to delete zoo file members.\nArchive and member names will be added." (list (string :tag "Program") (repeat :tag "Options" :inline t (string :format "%v"))) archive-zoo-write-file-member '("zoo" "a") "Program and its options to run in order to update a zoo file member.\nArchive and member name will be added." (list (string :tag "Program") (repeat :tag "Options" :inline t (string :format "%v"))) archive-7z-extract '("7z" "x" "-so") "Program and its options to run in order to extract a 7z file member.\nExtraction should happen to standard output. Archive and member name will\nbe added." :version "24.1" (list (string :tag "Program") (repeat :tag "Options" :inline t (string :format "%v"))) archive-7z archive-7z-expunge '("7z" "d") "Program and its options to run in order to delete 7z file members.\nArchive and member names will be added." (list (string :tag "Program") (repeat :tag "Options" :inline t (string :format "%v"))) archive-7z-update '("7z" "u") "Program and its options to run in order to update a 7z file member.\nOptions should ensure that specified directory will be put into the 7z\nfile. Archive and member name will be added." (list (string :tag "Program") (repeat :tag "Options" :inline t (string :format "%v")))] 11) #@33 Symbol describing archive type. (defvar archive-subtype nil (#$ . 7683)) #@34 Position of first contents line. (defvar archive-file-list-start nil (#$ . 7762)) #@41 Position just after last contents line. (defvar archive-file-list-end nil (#$ . 7850)) #@35 Position of real archive's start. (defvar archive-proper-file-start nil (#$ . 7943)) #@46 Non-nil if the archive is read-only on disk. (defvar archive-read-only nil (#$ . 8034)) #@39 Name of local copy of remote archive. (defvar archive-local-name nil (#$ . 8128)) #@41 Local keymap for archive mode listings. (defvar archive-mode-map (byte-code "\303 \304 \"\210\305\306\307#\210\305\310\311#\210\305\312\313#\210\305\314\313#\210\305\315\316#\210\305\317\316#\210\305\320\316#\210\305\321\322#\210\305\323\307#\210\305\324\307#\210\305\325\307#\210\305\326\327#\210\305\330\331#\210\305\332\331#\210\305\333\331#\210\305\334\335#\210\305\336\337#\210\305\340\341#\210\305\342\343#\210\305\344\345#\210\305\346\347#\210\305\350\327#\210\305\351\352#\210\305\353\354#\210\305\355\356#\210\305\357\360#\210\361\362!\203\271 \305\363\364#\210\305\365\364#\210\202\307 \366\367\364\n$\210\366\370\364\n$\210\305\371\316#\210\305\372\373\374\373!B#\210\305\375\376#\210\305\377\201@ #\210\305\201A \201B #\210\305\201C \201D #\210\305\201E \201F #\210\305\201G \201H \374\201H !B#\210\305\201I \201J #\210\305\201K \201L #\210\305\201M \201N #\210\305\201O \201P #\210\305\201Q \201R \374\201R !B#\210\305\201S \201T #\210\305\201U \201V #\210\305\201W \201X #\210\305\201Y \201Z #\210\305\201[ \201\\ #\210)\207" [map special-mode-map global-map make-keymap set-keymap-parent define-key " " archive-next-line "a" archive-alternate-display "d" archive-flag-deleted "" "e" archive-extract "f" " " "m" archive-mark "n" "" [down] "o" archive-extract-other-window "p" archive-previous-line "" [up] "r" archive-rename-entry "u" archive-unflag "\377" archive-unmark-all-files "v" archive-view "x" archive-expunge "" archive-unflag-backwards "E" "M" archive-chmod-entry "G" archive-chgrp-entry "O" archive-chown-entry [follow-link] mouse-face fboundp command-remapping [remap advertised-undo] archive-undo [remap undo] substitute-key-definition advertised-undo undo [mouse-2] [menu-bar immediate] "Immediate" make-sparse-keymap [menu-bar immediate alternate] (menu-item "Alternate Display" archive-alternate-display :enable (boundp (archive-name "alternate-display")) :help "Toggle alternate file info display") [menu-bar immediate view] (menu-item "View This File" archive-view :help "Display file at cursor in View Mode") [menu-bar immediate display] (menu-item "Display in Other Window" archive-display-other-window :help "Display file at cursor in another window") [menu-bar immediate find-file-other-window] (menu-item "Find in Other Window" archive-extract-other-window :help "Edit file at cursor in another window") [menu-bar immediate find-file] (menu-item "Find This File" archive-extract :help "Extract file at cursor and edit it") [menu-bar mark] "Mark" [menu-bar mark unmark-all] (menu-item "Unmark All" archive-unmark-all-files :help "Unmark all marked files") [menu-bar mark deletion] (menu-item "Flag" archive-flag-deleted :help "Flag file at cursor for deletion") [menu-bar mark unmark] (menu-item "Unflag" archive-unflag :help "Unmark file at cursor") [menu-bar mark mark] (menu-item "Mark" archive-mark :help "Mark file at cursor") [menu-bar operate] "Operate" [menu-bar operate chown] (menu-item "Change Owner..." archive-chown-entry :enable (fboundp (archive-name "chown-entry")) :help "Change owner of marked files") [menu-bar operate chgrp] (menu-item "Change Group..." archive-chgrp-entry :enable (fboundp (archive-name "chgrp-entry")) :help "Change group ownership of marked files") [menu-bar operate chmod] (menu-item "Change Mode..." archive-chmod-entry :enable (fboundp (archive-name "chmod-entry")) :help "Change mode (permissions) of marked files") [menu-bar operate rename] (menu-item "Rename to..." archive-rename-entry :enable (fboundp (archive-name "rename-entry")) :help "Rename marked files") [menu-bar operate expunge] (menu-item "Expunge Marked Files" archive-expunge :help "Delete all flagged files from archive")] 6) (#$ . 8216)) #@32 Column where file names start. (defvar archive-file-name-indent nil (#$ . 11965)) #@48 Non-nil if the archive is outside file system. (defvar archive-remote nil (#$ . 12053)) (byte-code "\300\301!\210\302\301\303\304#\207" [make-variable-buffer-local archive-remote put permanent-local t] 4) #@34 Coding-system of archive member. (defvar archive-member-coding-system nil (#$ . 12264)) (make-variable-buffer-local 'archive-member-coding-system) #@46 Non-nil when alternate information is shown. (defvar archive-alternate-display nil (#$ . 12417)) (byte-code "\300\301!\210\302\301\303\304#\207" [make-variable-buffer-local archive-alternate-display put permanent-local t] 4) #@40 In archive members, points to archive. (defvar archive-superior-buffer nil (#$ . 12648)) (put 'archive-superior-buffer 'permanent-local t) #@36 Non-nil in archive member buffers. (defvar archive-subfile-mode nil (#$ . 12793)) (byte-code "\300\301!\210\302\301\303\304#\207" [make-variable-buffer-local archive-subfile-mode put permanent-local t] 4) (defvar archive-file-name-coding-system nil) (byte-code "\300\301!\210\302\301\303\304#\207" [make-variable-buffer-local archive-file-name-coding-system put permanent-local t] 4) #@122 Vector of file descriptors. Each descriptor is a vector of the form [EXT-FILE-NAME INT-FILE-NAME CASE-FIDDLED MODE ...] (defvar archive-files nil (#$ . 13184)) (make-variable-buffer-local 'archive-files) (defalias 'archive-name #[(suffix) "\302\303\304!\305 R!\207" [archive-subtype suffix intern "archive-" symbol-name "-"] 5]) (put 'archive-name 'byte-optimizer 'byte-compile-inline-expand) #@319 Convert little endian string/vector STR to integer. Alternatively, STR may be a buffer position in the current buffer in which case a second argument, length LEN, should be supplied. FLOAT, if non-nil, means generate and return a float instead of an integer (use this for numbers that can overflow the Emacs integer). (defalias 'archive-l-e #[(str &optional len float) ";\203 G\202 \211 \\{\305!\306\211\n W\203: \nT\f\203, \307_\2020 \310\311\" \nZH\\\202 *\207" [str len i result float string-as-unibyte 0 256.0 ash 8] 4 (#$ . 13586)]) #@75 Turn an integer like 0700 (i.e., 448) into a mode string like -rwx------. (defalias 'archive-int-to-mode #[(mode) "\301\302\303\304\"!\203 \302\303\305\"!\203 \306\202 \307\202 \310\302\303\311\"!\203) \306\202* \312\302\303\313\"!\2037 \306\2028 \314\302\303\315\"!\203R \302\303\316\"!\203N \306\202` \317\202` \302\303\316\"!\203_ \320\202` \321\302\303\322\"!\203m \306\202n \312\302\303\323\"!\203{ \306\202| \314\302\303\324\"!\203\226 \302\303\325\"!\203\222 \306\202\244 \317\202\244 \302\303\325\"!\203\243 \320\202\244 \321\302\303\326\"!\203\261 \306\202\262 \312\302\303\327\"!\203\277 \306\202\300 \314\302\303\330\"!\203\315 \306\202\316 \320&\n\207" [mode string zerop logand 8192 16384 45 100 99 256 114 128 119 64 1024 83 120 115 32 16 8 2048 4 2 1] 14 (#$ . 14148)]) #@461 From the integer OLDMODE and the string NEWMODE calculate a new file mode. NEWMODE may be an octal number including a leading zero in which case it will become the new mode. NEWMODE may also be a relative specification like "og-rwx" in which case OLDMODE will be modified accordingly just like chmod(2) would have done. If optional third argument ERROR is non-nil an error will be signaled if the mode is invalid. If ERROR is nil then nil will be returned. (defalias 'archive-calc-mode #[(oldmode newmode &optional error) "\306\307\"\203/ \310G\311 \nW\203&