%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/ |
Current File : //usr/local/share/emacs/27.2/lisp/filecache.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 "\300\301\302\303\304\305\304\306\307\310& \210\311\312\313\314\315DD\316\317\320\321\322&\210\311\323\313\314\324DD\325\321\326%\210\311\327\313\314\330DD\331\321\332%\210\311\333\313\314\334DD\335\321\326%\210\311\336\313\314\337DD\340\321\326%\210\311\341\313\314\342DD\343\321\326%\210\311\344\313\314\345DD\346\321\326%\210\311\347\313\314\350DD\351\321\352%\210\311\353\313\314\354DD\355\321\352%\210\311\356\313\314\357DD\360\321\352%\207" [custom-declare-group file-cache nil "Find files using a pre-loaded cache." :group files convenience :prefix "file-cache-" custom-declare-variable file-cache-filter-regexps funcall function #[0 "\300\301\302\303\304\305\306\307\310\311\312\257\207" ["~$" "\\.o$" "\\.exe$" "\\.a$" "\\.elc$" ",v$" "\\.output$" "\\.$" "#$" "\\.class$" "/\\.#"] 11] "List of regular expressions used as filters by the file cache.\nFile names which match these expressions will not be added to the cache.\nNote that the functions `file-cache-add-file' and `file-cache-add-file-list'\ndo not use this variable." :version "25.1" :type (repeat regexp) file-cache-find-command #[0 "\300\207" [#1="find"] 1 #1#] "External program used by `file-cache-add-directory-using-find'." string file-cache-find-command-posix-flag #[0 "\300\207" [not-defined] 1] "Set to t, if `file-cache-find-command' handles wildcards POSIX style.\nThis variable is automatically set to nil or non-nil\nif it has the initial value `not-defined' whenever you first\ncall the `file-cache-add-directory-using-find'.\n\nUnder Windows operating system where Cygwin is available, this value\nshould be t." (choice (const :tag "Yes" t) (const :tag "No" nil) (const :tag "Unknown" not-defined)) file-cache-locate-command #[0 "\300\207" [#2="locate"] 1 #2#] "External program used by `file-cache-add-directory-using-locate'." file-cache-no-match-message #[0 "\300\207" [#3=" [File Cache: No match]"] 1 #3#] "Message to display when there is no completion." file-cache-sole-match-message #[0 "\300\207" [#4=" [File Cache: sole completion]"] 1 #4#] "Message to display when there is only one completion." file-cache-non-unique-message #[0 "\300\207" [#5=" [File Cache: complete but not unique]"] 1 #5#] "Message to display when there is a non-unique completion." file-cache-completion-ignore-case #[0 "\302>\203 \303\207 \207" [system-type completion-ignore-case (ms-dos windows-nt cygwin) t] 2] "If non-nil, file-cache completion should ignore case.\nDefaults to the value of `completion-ignore-case'." boolean file-cache-case-fold-search #[0 "\302>\203 \303\207 \207" [system-type case-fold-search (ms-dos windows-nt cygwin) t] 2] "If non-nil, file-cache completion should ignore case.\nDefaults to the value of `case-fold-search'." file-cache-ignore-case #[0 "\301>\207" [system-type (ms-dos windows-nt cygwin)] 2] "Non-nil means ignore case when checking completions in the file cache.\nDefaults to nil on DOS and Windows, and t on other systems."] 10) (defvar file-cache-multiple-directory-message nil) (byte-code "\300\301\302\303\304DD\305\306\307%\207" [custom-declare-variable file-cache-completions-buffer funcall function #[0 "\300\207" [#1="*Completions*"] 1 #1#] "Buffer to display completions when using the file cache." :type string] 6) #@52 Regexp to match files in find and locate's output. (defvar file-cache-buffer-default-regexp "^.+$" (#$ . 3664)) (defvar file-cache-last-completion nil) #@247 Internal data structure to hold cache of file names. It is a list of entries of the form (FILENAME DIRNAME1 DIRNAME2 ...) where FILENAME is a file name component and the entry represents N files of names DIRNAME1/FILENAME, DIRNAME2/FILENAME, ... (defvar file-cache-alist nil (#$ . 3823)) #@43 Keymap for file cache completions buffer. (defvar file-cache-completions-keymap (byte-code "\301 \302\"\210\303\304\305#\210\303\306\305#\210\211\207" [completion-list-mode-map make-sparse-keymap set-keymap-parent define-key [mouse-2] file-cache-choose-completion " "] 5) (#$ . 4117)) #@23 (fn FILE OP-PROMPT) (defalias 'file-cache--read-list #[514 "\203 \300\202 \301\203 \302\202 \303\304\305R\306\307R\310\311\2034 \311\211\310$B\262\312!\262\202 \211\237\207" [read-file-name read-directory-name "file" "directory" " " ": " " another " "?" t nil y-or-n-p] 13 (#$ . 4412)]) #@184 Add all files in DIRECTORY to the file cache. If called from Lisp with a non-nil REGEXP argument is non-nil, only add files whose names match REGEXP. (fn DIRECTORY &optional REGEXP) (defalias 'file-cache-add-directory #[513 "\301!\205N \302!\303\304#\211\211\203H \211@\305!\203$ \306\"\262\202A \211\203@ \211@\307\"\2039 \306\"\262A\266\202\202% \210A\266\202\202 \210\310!\266\202\207" [file-cache-filter-regexps file-accessible-directory-p expand-file-name directory-files t file-directory-p delq string-match file-cache-add-file-list] 11 (#$ . 4726) (byte-code "\300\301\302\211\303$\302D\207" [read-directory-name "Add files from directory: " nil t] 5)]) #@358 Add DIRECTORIES (a list of directory names) to the file cache. If called interactively, read the directory names one by one. If the optional REGEXP argument is non-nil, only files which match it will be added to the cache. Note that the REGEXP is applied to the files in each directory, not to the directory list itself. (fn DIRECTORIES &optional REGEXP) (defalias 'file-cache-add-directory-list #[513 "\211\203 \211@\300\"\210A\266\202\202 \210G\301\302\211\303U\203# \304\202$ \305#\207" [file-cache-add-directory message "Filecache: cached file names from %d director%s." 1 "y" "ies"] 8 (#$ . 5414) (byte-code "\300\301\302\"C\207" [file-cache--read-list nil "Add"] 3)]) #@122 Add FILES (a list of file names) to the file cache. If called interactively, read the file names one by one. (fn FILES) (defalias 'file-cache-add-file-list #[257 "\211\211\203 \211@\300!\210A\266\202\202 \210\211G\301\302\211\303U\203\"