%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/ |
Current File : //usr/local/share/emacs/27.2/lisp/arc-mode.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; 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\304\344\345\346\324\347\306\303& \210\320\350\351\352\324\353\306\310&\210\320\354\355\356\324\357\306\310&\210\320\360\361\362\324\363\306\310&\210\320\364\365\366\324\367\306\312&\210\320\370\371\372\324\373\306\312&\210\320\374\375\376\324\377\306\312&\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-visit-single-files "If non-nil, opening an archive with a single file visits that file.\nIf nil, visiting such an archive displays the archive summary." :version "25.1" (choice (const :tag "Visit the single file" t) (const :tag "Show the archive summary" nil)) 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")))] 11) (defvar archive-7z-program (byte-code "\301\302!\206 \301\303!\211\205 \304!)\207" [7z executable-find "7z" "7za" file-name-nondirectory] 3)) (byte-code "\300\301\302\303\304\305\306\307&\210\300\310\311\312\304\313\306\307&\210\300\314\315\316\304\317\306\307&\210\300\320\321\322\304\323\306\307&\210\300\324\325\326\304\327\330\331\306\307& \210\300\332\333\334\304\335\306\336&\210\300\337\340\341\304\342\306\336&\210\300\343\344\345\304\346\306\336&\210\300\347\350\351\330\352\304\353\306\354& \210\300\355\356\357\330\352\304\360\306\354& \210\300\361\362\363\330\352\304\364\306\354& \207" [custom-declare-variable archive-zip-extract (cond ((executable-find "unzip") '("unzip" "-qq" "-c")) (archive-7z-program `(,archive-7z-program "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." :type (list (string :tag "Program") (repeat :tag "Options" :inline t (string :format "%v"))) :group archive-zip archive-zip-expunge (cond ((executable-find "zip") '("zip" "-d" "-q")) (archive-7z-program `(,archive-7z-program "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")) (archive-7z-program `(,archive-7z-program "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")) (archive-7z-program `(,archive-7z-program "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 (and (eq system-type 'ms-dos) (not (msdos-long-file-names))) "If non-nil, then all-caps names of zip file members will be down-cased.\nThis case fiddling will only happen for members created by a system\nthat uses caseless file names.\nIn addition, this flag forces members added/updated in the zip archive\nto be truncated to DOS 8+3 file-name restrictions." boolean :version "27.1" 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 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 `(,(or archive-7z-program "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." "24.1" (list (string :tag "Program") (repeat :tag "Options" :inline t (string :format "%v"))) archive-7z archive-7z-expunge `(,(or archive-7z-program "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 `(,(or archive-7z-program "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")))] 10) #@33 Symbol describing archive type. (defvar archive-subtype nil (#$ . 8322)) #@34 Position of first contents line. (defvar archive-file-list-start nil (#$ . 8401)) #@41 Position just after last contents line. (defvar archive-file-list-end nil (#$ . 8489)) #@35 Position of real archive's start. (defvar archive-proper-file-start nil (#$ . 8582)) #@46 Non-nil if the archive is read-only on disk. (defvar archive-read-only nil (#$ . 8673)) #@39 Name of local copy of remote archive. (defvar archive-local-name nil (#$ . 8767)) #@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\331#\210\305\335\336#\210\305\337\340#\210\305\341\342#\210\305\343\344#\210\305\345\346#\210\305\347\350#\210\305\351\327#\210\305\352\353#\210\305\354\355#\210\305\356\357#\210\305\360\361#\210\362\363!\203\277 \305\364\365#\210\305\366\365#\210\202\315 \367\370\365\n$\210\367\371\365\n$\210\305\372\316#\210\305\373\374\375\374!B#\210\305\376\377#\210\305\201@ \201A #\210\305\201B \201C #\210\305\201D \201E #\210\305\201F \201G #\210\305\201H \201I \375\201I !B#\210\305\201J \201K #\210\305\201L \201M #\210\305\201N \201O #\210\305\201P \201Q #\210\305\201R \201S \375\201S !B#\210\305\201T \201U #\210\305\201V \201W #\210\305\201X \201Y #\210\305\201Z \201[ #\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 "" [33554464] [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) (#$ . 8855)) #@32 Column where file names start. (defvar archive-file-name-indent nil (#$ . 12635)) #@48 Non-nil if the archive is outside file system. (defvar archive-remote nil (#$ . 12723)) (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 (#$ . 12934)) (make-variable-buffer-local 'archive-member-coding-system) #@46 Non-nil when alternate information is shown. (defvar archive-alternate-display nil (#$ . 13087)) (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 (#$ . 13318)) (put 'archive-superior-buffer 'permanent-local t) #@36 Non-nil in archive member buffers. (defvar archive-subfile-mode nil (#$ . 13463)) (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 (#$ . 13854)) (make-variable-buffer-local 'archive-files) #@73 Like insert but don't make unibyte string and eight-bit char multibyte. (defalias 'arc-insert-unibyte #[(&rest args) "\303\211\205. \n@\211\250\203# \304W\203 \202 \305\306 \"c\210\202&