commit | author | age
|
76bbd0
|
1 |
;ELC |
C |
2 |
;;; Compiled |
|
3 |
;;; in Emacs version 26.1 |
|
4 |
;;; with all optimizations. |
|
5 |
|
|
6 |
;;; This file uses dynamic docstrings, first added in Emacs 19.29. |
|
7 |
|
|
8 |
;;; This file does not contain utf-8 non-ASCII characters, |
|
9 |
;;; and so can be loaded in Emacs versions earlier than 23. |
|
10 |
|
|
11 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
12 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
13 |
|
|
14 |
|
|
15 |
(byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\300\307!\210\300\310!\210\300\311!\210\312\313\314\315\316\302%\210\317\320\321\322\323DD\324\325\326\316\313&\210\317\327\321\322\330DD\331\316\313\325\332&\210\317\333\321\322\334DD\335\316\313\325\332&\210\317\336\321\322\337DD\340\316\313\325\326&\210\317\341\321\322\342DD\343\316\313\325\332&\210\317\344\321\322\345DD\346\316\313\325\347&\210\317\350\321\322\351DD\352\316\313\325\347&\210\317\353\321\322\354DD\355\325\332\316\313&\210\317\356\321\322\357DD\360\325\347\316\313&\210\317\361\321\322\362DD\363\325\364\316\313&\210\317\365\321\322\366DD\367\325\370\316\313&\210\317\371\321\322\372DD\373\325\332\316\313&\210\317\374\321\322\375DD\376\316\313\325\332&\210\317\377\321\322\201@ DD\201A \316\313\325\332&\210\317\201B \321\322\201C DD\201D \316\313\325\326&\210\317\201E \321\322\201F DD\201G \316\313\325\332&\210\317\201H \321\322\201I DD\201J \316\313\325\332&\210\317\201K \321\322\201L DD\201M \316\313\325\326&\210\317\201N \321\322\201O DD\201P \316\313\325\332&\210\317\201Q \321\322\201R DD\201S \316\313\325\201T &\210\317\201U \321\322\201V DD\201W \316\313\325\201X &\210\317\201Y \321\322\201Z DD\201[ \316\313\325\201X &\210\317\201\\ \321\322\201] DD\201^ \316\313\325\347&\210\317\201_ \321\322\201` DD\201a \316\313\325\332&\210\317\201b \321\322\201c DD\201d \316\313\325\332&\210\317\201e \321\322\201f DD\201g \316\313\325\332&\210\317\201h \321\322\201i DD\201j \316\313\325\332&\210\317\201k \321\322\201l DD\201m \316\313\325\332&\210\317\201n \321\322\201o DD\201p \316\313\325\201q &\210\317\201r \321\322\201s DD\201t \316\313\325\201u &\210\317\201v \321\322\201w DD\201x \316\313\325\322&\210\317\201y \321\322\201z DD\201{ \316\313\325\322&\210\317\201| \321\322\201} DD\201~ \316\313\325\201 &\210\317\201\200 \321\322\201\201 DD\201\202 \316\313\325\201\203 &\210\317\201\204 \321\322\201\205 DD\201\206 \316\313\325\201\207 &\210\317\201\210 \321\322\201\211 DD\201\212 \316\313\325\332&\210\317\201\213 \321\322\201\214 DD\201\215 \325\322\316\313&\210\312\201\216 \314\201\217 \201\220 \201\221 \316\313\316\201\222 & \210\201\223 \201\224 \201\225 \201\226 \316\201\216 %\210\201\223 \201\227 \201\230 \201\231 \316\201\216 %\210\201\223 \201\232 \201\233 \201\234 \316\201\216 %\210\201\223 \201\235 \201\236 \201\237 \316\201\216 %\210\201\223 \201\240 \201\241 \201\242 \316\201\216 %\210\201\223 \201\243 \201\244 \201\245 \316\201\216 %\210\201\223 \201\246 \201\247 \201\250 \316\201\216 %\210\201\223 \201\251 \201\252 \201\253 \316\201\216 %\210\201\223 \201\254 \201\255 \201\256 \316\201\216 %\210\201\223 \201\257 \201\260 \201\261 \316\201\216 %\210\201\223 \201\262 \201\263 \201\264 \316\201\216 %\210\201\223 \201\265 \201\266 \201\267 \316\201\216 %\210\201\223 \201\270 \201\271 \201\272 \316\201\216 %\210\201\223 \201\273 \201\274 \201\275 \316\201\216 %\210\201\223 \201\276 \201\277 \201\300 \316\201\216 %\210\201\223 \201\301 \201\302 \201\303 \316\201\216 %\210\201\223 \201\304 \201\305 \201\306 \316\201\216 %\207" [require cl-lib helm helm-types helm-utils helm-grep helm-help helm-locate helm-tags helm-buffers custom-declare-group helm-files nil "Files applications and libraries for Helm." :group custom-declare-variable helm-tramp-verbose funcall function #[0 "\300\207" [0] 1] "Just like `tramp-verbose' but specific to helm.\nWhen set to 0 don't show tramp messages in helm.\nIf you want to have the default tramp messages set it to 3." :type integer helm-ff-auto-update-initial-value #[0 "\300\207" [nil] 1] "Auto update when only one candidate directory is matched.\nDefault value when starting `helm-find-files' is nil because\nit prevent using <backspace> to delete char backward and by the way\nconfuse beginners.\nFor a better experience with `helm-find-files' set this to non--nil\nand use C-<backspace> to toggle it." boolean helm-ff-lynx-style-map #[0 "\300\207" [t] 1] "Use arrow keys to navigate with `helm-find-files'.\nYou will have to restart Emacs or reeval `helm-find-files-map'\nand `helm-read-file-map' for this take effect." helm-ff-history-max-length #[0 "\300\207" [100] 1] "Number of elements shown in `helm-find-files' history." helm-ff-fuzzy-matching #[0 "\300\207" [t] 1] "Enable fuzzy matching for `helm-find-files' when non--nil.\nSee `helm-ff--transform-pattern-for-completion' for more info." helm-ff-exif-data-program #[0 "\300\207" [#1="exiftran"] 1 #1#] "Program used to extract exif data of an image file." string helm-ff-exif-data-program-args #[0 "\300\207" [#2="-d"] 1 #2#] "Arguments used for `helm-ff-exif-data-program'." helm-ff-newfile-prompt-p #[0 "\300\207" [t] 1] "Whether Prompt or not when creating new file.\nThis set `ffap-newfile-prompt'." helm-ff-avfs-directory #[0 "\300\207" [#3="~/.avfs"] 1 #3#] "The default avfs directory, usually '~/.avfs'.\nWhen this is set you will be able to expand archive filenames with `C-j'\ninside an avfs directory mounted with mountavfs.\nSee <http://sourceforge.net/projects/avf/>." helm-ff-file-compressed-list #[0 "\300\207" [("gz" "bz2" "zip" "7z")] 1] "Minimal list of compressed files extension." (repeat (choice string)) helm-ff-printer-list #[0 "\300\207" [nil] 1] "A list of available printers on your system.\nWhen non--nil let you choose a printer to print file.\nOtherwise when nil the variable `printer-name' will be used.\nOn Unix based systems (lpstat command needed) you don't need to set this,\n`helm-ff-find-printers' will find a list of available printers for you." (repeat (choice string)) helm-ff-transformer-show-only-basename #[0 "\300\207" [t] 1] "Show only basename of candidates in `helm-find-files'.\nThis can be toggled at anytime from `helm-find-files' with \\<helm-find-files-map>\\[helm-ff-run-toggle-basename]." helm-ff-signal-error-on-dot-files #[0 "\300\207" [t] 1] "Signal error when file is `.' or `..' on file deletion when non--nil.\nDefault is non--nil.\nWARNING: Setting this to nil is unsafe and can cause deletion of a whole tree." helm-ff-search-library-in-sexp #[0 "\300\207" [nil] 1] "Search for library in `require' and `declare-function' sexp." helm-tooltip-hide-delay #[0 "\300\207" [25] 1] "Hide tooltips automatically after this many seconds." helm-ff-file-name-history-use-recentf #[0 "\300\207" [nil] 1] "Use `recentf-list' instead of `file-name-history' in `helm-find-files'." helm-ff-skip-boring-files #[0 "\300\207" [nil] 1] "Non--nil to skip files matching regexps in\n`helm-boring-file-regexp-list'.\n\nThis take effect in `helm-find-files' and file completion used by `helm-mode'\ni.e `helm-read-file-name'.\nNote that when non-nil this will slow down slightly `helm-find-files'." helm-ff-candidate-number-limit #[0 "\300\207" [5000] 1] "The `helm-candidate-number-limit' for `helm-find-files' and friends.\nNote that when going one level up with `\\<helm-find-files-map>\\[helm-find-files-up-one-level]'\nThe length of directory will be used instead if it is higher than this\nvalue, this to avoid failing to preselect the previous directory/file if\nthis one is situated lower than `helm-ff-candidate-number-limit' num\ncandidate." helm-ff-up-one-level-preselect #[0 "\300\207" [t] 1] "Always preselect previous directory when going one level up.\n\nWhen non nil `candidate-number-limit' source value is modified\ndynamically when going one level up if the position of previous\ncandidate in its directory is > to `helm-ff-candidate-number-limit'.\n\nThis can be helpful to disable this and reduce\n`helm-ff-candidate-number-limit' if you often navigate across very\nlarge directories." helm-files-save-history-extra-sources #[0 "\300\207" [("Find" "Locate" "Recentf" "Files from Current Directory" "File Cache")] 1] "Extras source that save candidate to `file-name-history'." (repeat (choice string)) helm-find-files-before-init-hook #[0 "\300\207" [nil] 1] "Hook that run before initialization of `helm-find-files'." hook helm-find-files-after-init-hook #[0 "\300\207" [nil] 1] "Hook that run after initialization of `helm-find-files'." helm-find-files-bookmark-prefix #[0 "\300\207" [#4="Helm-find-files: "] 1 #4#] "bookmark name prefix of `helm-find-files' sessions." helm-ff-guess-ffap-filenames #[0 "\300\207" [nil] 1] "Use ffap to guess local filenames at point in `helm-find-files'.\nThis doesn't disable url or mail at point, see\n`helm-ff-guess-ffap-urls' for this." helm-ff-guess-ffap-urls #[0 "\300\207" [t] 1] "Use ffap to guess local urls at point in `helm-find-files'.\nThis doesn't disable guessing filenames at point,\nsee `helm-ff-guess-ffap-filenames' for this.\nSee also `ffap-url-unwrap-remote' that may override this variable." helm-ff-no-preselect #[0 "\300\207" [nil] 1] "When non--nil `helm-find-files' starts at root of current directory." helm-find-files-ignore-thing-at-point #[0 "\300\207" [nil] 1] "Use only `default-directory' as default input in `helm-find-files'.\nI.e text under cursor in `current-buffer' is ignored.\nNote that when non-nil you will be unable to complete filename at point\nin `current-buffer'." helm-substitute-in-filename-stay-on-remote #[0 "\300\207" [nil] 1] "Don't switch back to local filesystem when expanding pattern with / or ~/." helm-ff-goto-first-real-dired-exceptions #[0 "\300\207" [(dired-goto-file)] 1] "Dired commands that are allowed moving to first real candidate." (repeat (choice symbol)) helm-mounted-network-directories #[0 "\300\207" [nil] 1] "A list of directories used for mounting remotes filesystem.\n\nWhen nil `helm-file-on-mounted-network-p' always return nil otherwise\nit checks if a file is in one of these directories.\n\nRemote filesystem are generally mounted with sshfs." (repeat string) helm-browse-project-default-find-files-fn #[0 "\300\207" [helm-browse-project-walk-directory] 1] "The default function to retrieve files in a non-vc directory.\n\nA function that takes a directory name as only arg." helm-ff-kill-or-find-buffer-fname-fn #[0 "\300\207" [helm-ff-kill-or-find-buffer-fname] 1] "Default function used to expand non-directory filenames in `helm-find-files'.\n\nThis variable will take effect only in `helm-find-files', it affects\nthe behavior of persistent-action on filenames and non-existing\nfilenames.\n\nThe default is to expand filename on first hit on\n\\<helm-map>\\[helm-execute-persistent-action], pop buffer in other\nwindow on second hit and finally kill this buffer on third hit, this\nis very handy to create several new buffers, or when navigating, show\nquickly the buffer of file to see its contents briefly before killing\nit and continue navigating.\n\nHowever some users may not want this, so to disable this behavior just\nset this to `ignore' function.\n\nOf course you can also write your own function to do something else." helm-modes-using-escaped-strings #[0 "\300\207" [(eshell-mode shell-mode term-mode)] 1] "Modes that requires string's insertion to be escaped." (repeat symbol) helm-ff-allow-recursive-deletes #[0 "\300\207" [nil] 1] "when 'always don't prompt for recursive deletion of directories.\nWhen nil, will ask for recursive deletion.\nNote that when deleting multiple directories you can answer ! when\nprompted to avoid beeing asked for next directories, so it is probably\nbetter to not modify this variable." (choice (const :tag "Delete non-empty directories" t) (const :tag "Confirm for each directory" nil)) helm-ff-delete-files-function #[0 "\300\207" [helm-delete-marked-files] 1] "The function to use by default to delete files.\n\nDefault is to delete files synchronously, other choice is to delete\nfiles asynchronously.\n\nBE AWARE that when deleting async you will not be warned about\nrecursive deletion of directories, IOW non empty directories will be\ndeleted with no warnings in background!!!\n\nIt is the function that will be used when using `\\<helm-find-files-map>\\[helm-ff-run-delete-file]'\nfrom `helm-find-files'." (choice (function :tag "Delete files synchronously." helm-delete-marked-files) (function :tag "Delete files asynchronously." helm-delete-marked-files-async)) helm-trash-remote-files #[0 "\300\207" [nil] 1] "Allow trashing remote files when non-nil.\n\nDeleting remote files with tramp doesn't work out of the box, it is\nwhy it is disabled by default.\n\nFollowing is NOT documented in tramp AFAIK but tramp is using\nexternal trash command in its `delete-file' and `delete-directory'\nhandlers.\n\nIf you want to enable this you will have to install the 'trash' command\non remote (or locally if you want to trash as root), the package on\nUbuntu based distribution is 'trash-cli'." helm-list-directory-function #[0 "\301\267\202\f \302\207\302\207\303\207\303\207" [system-type #s(hash-table size 3 test eql rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (gnu/linux 6 berkeley-unix 8 windows-nt 10)) helm-list-dir-external helm-list-dir-lisp] 2] "The function used in `helm-find-files' to list remote directories.\n\nActually helm provides two functions to do this: `helm-list-dir-lisp'\nand `helm-list-dir-external'.\n\nUsing `helm-list-dir-external' will provides a similar display to what\nprovided with local files i.e. colorized symlinks, executables files\netc... whereas using `helm-list-dir-lisp' will allow colorizing only\ndirectories but is more portable.\n\nNOTE that `helm-list-dir-external' needs ls and awk as dependencies." helm-files-faces "Customize the appearance of helm-files." :prefix "helm-" helm-faces custom-declare-face helm-ff-prefix ((t (:background "yellow" :foreground "black"))) "Face used to prefix new file or url paths in `helm-find-files'." helm-ff-executable ((t (:foreground "green"))) "Face used for executable files in `helm-find-files'." helm-ff-suid ((t (:background "red" :foreground "white"))) "Face used for suid files in `helm-find-files'." helm-ff-directory ((t (:foreground "DarkRed" :background "LightGray"))) "Face used for directories in `helm-find-files'." helm-ff-dotted-directory ((t (:foreground "black" :background "DimGray"))) "Face used for dotted directories in `helm-find-files'." helm-ff-dotted-symlink-directory ((t (:foreground "DarkOrange" :background "DimGray"))) "Face used for dotted symlinked directories in `helm-find-files'." helm-ff-symlink ((t :inherit font-lock-comment-face)) "Face used for symlinks in `helm-find-files'." helm-ff-invalid-symlink ((t (:foreground "black" :background "red"))) "Face used for invalid symlinks in `helm-find-files'." helm-ff-denied ((t (:foreground "red" :background "black"))) "Face used for non accessible files in `helm-find-files'." helm-ff-file ((t (:inherit font-lock-builtin-face))) "Face used for file names in `helm-find-files'." helm-ff-truename ((t (:inherit font-lock-string-face))) "Face used for symlink truenames in `helm-find-files'." helm-ff-dirs ((t (:inherit font-lock-function-name-face))) "Face used for file names in recursive dirs completion in `helm-find-files'." helm-ff-socket ((t (:foreground "DeepPink"))) "Face used for socket files in `helm-find-files'." helm-ff-pipe ((t (:foreground "yellow" :background "black"))) "Face used for named pipes and character device files in `helm-find-files'." helm-history-deleted ((t (:inherit helm-ff-invalid-symlink))) "Face used for deleted files in `file-name-history'." helm-history-remote ((t (:foreground "Indianred1"))) "Face used for remote files in `file-name-history'." helm-delete-async-message ((t (:foreground "yellow"))) "Face used for mode-line message."] 10) |
|
16 |
#@31 Keymap for `helm-find-files'. |
|
17 |
(defvar helm-find-files-map (byte-code "\302 \303\"\210\304\305\306#\210\304\307\310#\210\304\311\312#\210\304\313\314#\210\304\315\316#\210\304\317\320#\210\304\321\322#\210\304\323\324#\210\304\325\324#\210\304\326\327#\210\304\330\331#\210\304\332\333#\210\304\334\335#\210\304\336\337#\210\304\340\341#\210\304\342\343#\210\304\344\345#\210\304\346\347#\210\304\350\351#\210\304\352\353#\210\304\354\355#\210\304\356\357#\210\304\360\361#\210\304\362\363#\210\304\364\365#\210\304\366\367#\210\304\370\371#\210\304\372\373#\210\304\374\375#\210\304\376\377#\210\304\201@ \201A #\210\304\201B \201C #\210\304\201D \201E #\210\304\201F \201G #\210\304\201H \201I #\210\304\201J \201K #\210\304\201L \201M #\210\304\201N \201O #\210\304\201P \201Q #\210\304\201R \201S #\210\304\201T \201U #\210\304\201V \201W #\210\304\201X \201Y #\210\304\201Z \201[ #\210\304\201\\ \201] #\210\304\201^ \201] #\210\304\201_ \201` #\210\304\201a \201b #\210\304\201c \201d #\210\304\201e \201f #\210\304\201g \201h #\210\304\201i \201j #\210\304\201k \201l #\210\304\201m \201n #\210\304\201o \201p #\210\304\201q \201r #\210\201s \201t \201u \201v \201w \201x \201y &\210 \203\360\304\201z \201j #\210\304\201{ \201| #\210\201} \201x \"\207" [helm-map helm-ff-lynx-style-map make-sparse-keymap set-keymap-parent define-key "
" helm-ff-RET "" helm-ff-run-toggle-basename "" helm-ff-run-locate "" helm-ff-run-browse-project "rm" helm-ff-bookmark-set "rb" helm-find-files-toggle-to-bookmark "" helm-ff-run-marked-files-in-dired "" helm-ff-run-grep [134217831 115] [134217831 112] helm-ff-run-pdfgrep [134217831 122] helm-ff-run-zgrep [134217831 97] helm-ff-run-grep-ag [134217831 103] helm-ff-run-git-grep [134217831 105] helm-ff-run-gid [134217774] helm-ff-run-etags [134217810] helm-ff-run-rename-file [134217795] helm-ff-run-copy-file [134217794] helm-ff-run-byte-compile-file [134217804] helm-ff-run-load-file [134217811] helm-ff-run-symlink-file [134217817] helm-ff-run-relsymlink-file [134217800] helm-ff-run-hardlink-file [134217796] helm-ff-run-delete-file [134217803] helm-ff-run-kill-buffer-persistent [134217812] helm-ff-run-touch-files "d" helm-ff-persistent-delete [134217829] helm-ff-run-switch-to-eshell "i" helm-ff-run-complete-fn-at-point "o" helm-ff-run-switch-other-window "" helm-ff-run-switch-other-frame "" helm-ff-run-open-file-externally "" helm-ff-run-preview-file-externally "X" helm-ff-run-open-file-with-default-tool [134217761] helm-ff-run-eshell-command-on-file [134217792] helm-ff-run-query-replace-fnames-on-marked [134217765] helm-ff-run-query-replace [201326629] helm-ff-run-query-replace-regexp "=" helm-ff-run-ediff-file [134217789] helm-ff-run-ediff-merge-file [134217840] helm-find-files-history "h" helm-ff-file-name-history [134217833] helm-ff-properties-persistent [67108989] helm-narrow-window [67108987] helm-enlarge-window [C-backspace] helm-ff-run-toggle-auto-update "" "" helm-ff-run-mail-attach-files "p" helm-ff-run-print-file "/" helm-ff-run-find-sh-command [134217836] helm-ff-rotate-left-persistent [134217842] helm-ff-rotate-right-persistent "\f" helm-find-files-up-one-level "" helm-find-files-down-last-level "r" helm-ff-run-find-file-as-root "" helm-ff-run-find-alternate-file "@" helm-ff-run-insert-org-link helm-define-key-with-subkeys "" 127 helm-ff-delete-char-backward ((C-backspace . helm-ff-run-toggle-auto-update) ([C-c DEL] . helm-ff-run-toggle-auto-update)) nil helm-ff-delete-char-backward--exit-fn [left] [right] helm-execute-persistent-action delq] 9) (#$ . 15912)) |
|
18 |
#@35 Keymap for `helm-read-file-name'. |
|
19 |
(defvar helm-read-file-map (byte-code "\302 \303\"\210\304\305\306#\210\304\307\306#\210\304\310\311#\210\304\312\313#\210\304\314\313#\210\304\315\316#\210\304\317\320#\210\304\321\322#\210\304\323\322#\210\324\325\326\327\330\331\332&\210 \203d \304\333\313#\210\304\334\335#\210\304\336\337#\210\304\340\341#\210\342\331\"\207" [helm-map helm-ff-lynx-style-map make-sparse-keymap set-keymap-parent define-key [C-return] helm-cr-empty-string [134217741] "" helm-ff-run-toggle-basename [67108910] helm-find-files-up-one-level "\f" "" helm-find-files-down-last-level "h" helm-ff-file-name-history [C-backspace] helm-ff-run-toggle-auto-update "" helm-define-key-with-subkeys "" 127 helm-ff-delete-char-backward ((C-backspace . helm-ff-run-toggle-auto-update) ([C-c DEL] . helm-ff-run-toggle-auto-update)) nil helm-ff-delete-char-backward--exit-fn [left] [right] helm-execute-persistent-action [M-left] helm-previous-source [M-right] helm-next-source delq] 9) (#$ . 19565)) |
|
20 |
#@79 *The doc that is inserted in the Name header of a find-files or dired source. |
|
21 |
(defvar helm-find-files-doc-header " (\\<helm-find-files-map>\\[helm-find-files-up-one-level]: Go up one level)" (#$ . -20601)) |
|
22 |
#@137 Internal, flag to turn on/off auto-update in `helm-find-files'. |
|
23 |
Don't set it directly, use instead `helm-ff-auto-update-initial-value'. |
|
24 |
(defvar helm-ff-auto-update-flag nil (#$ . 20814)) |
|
25 |
#@40 Store last expanded directory or file. |
|
26 |
(defvar helm-ff-last-expanded nil (#$ . 21007)) |
|
27 |
(defvar helm-ff-default-directory nil) |
|
28 |
(defvar helm-ff-history nil) |
|
29 |
(defvar helm-ff-cand-to-mark nil) |
|
30 |
#@59 Same as `ffap-url-regexp' but match earlier possible url. |
|
31 |
(defvar helm-ff-url-regexp "\\`\\(news\\(post\\)?:\\|nntp:\\|mailto:\\|file:\\|\\(ftp\\|https?\\|telnet\\|gopher\\|www\\|wais\\):/?/?\\).*" (#$ . 21202)) |
|
32 |
(defvar helm-tramp-file-name-regexp "\\`/\\([^/:|]+\\):") |
|
33 |
(defvar helm-marked-buffer-name "*helm marked*") |
|
34 |
(defvar helm-ff--auto-update-state nil) |
|
35 |
(defvar helm-ff--deleting-char-backward nil) |
|
36 |
(defvar helm-multi-files--toggle-locate nil) |
|
37 |
(defvar helm-ff--move-to-first-real-candidate t) |
|
38 |
(defvar helm-find-files--toggle-bookmark nil) |
|
39 |
(defvar helm-ff--tramp-methods nil) |
|
40 |
(defvar helm-ff--directory-files-hash (make-hash-table :test 'equal)) |
|
41 |
(defvar helm-ff-history-buffer-name "*helm-find-files history*") |
|
42 |
(byte-code "\300\301\302\303\304DD\305\306\307\310\311&\207" [custom-declare-variable helm-find-files-actions funcall function #[0 "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377\201@ \201A \201B \201C \201D \201E \201F \201G \201H \201I \201J \201K \201L \201M \201N \201O \201P \201Q \201R \201S \201T \201U \201V &V\207" [helm-make-actions "Find File" helm-find-file-or-marked "Find file in Dired" helm-point-file-in-dired "View file" view-file "Query replace fnames on marked `M-@'" helm-ff-query-replace-fnames-on-marked "Marked files in dired `C-x C-q, C-u wdired'" helm-marked-files-in-dired "Query replace contents on marked `M-%'" helm-ff-query-replace "Query replace regexp contents on marked `C-M-%'" helm-ff-query-replace-regexp "Attach file(s) to mail buffer `C-c C-a'" helm-ff-mail-attach-files "Serial rename files" helm-ff-serial-rename "Serial rename by symlinking files" helm-ff-serial-rename-by-symlink "Serial rename by copying files" helm-ff-serial-rename-by-copying "Open file with default tool" helm-open-file-with-default-tool "Find file in hex dump" hexl-find-file "Browse project `C-x C-d'" helm-ff-browse-project "Complete at point `C-c i'" helm-insert-file-name-completion-at-point "Insert as org link `C-c @'" helm-files-insert-as-org-link "Find shell command `C-c /'" helm-ff-find-sh-command "Add marked files to file-cache" helm-ff-cache-add-file "Open file externally `C-c C-x, C-u to choose'" helm-open-file-externally "Grep File(s) `C-s, C-u Recurse'" helm-find-files-grep "Grep current directory with AG `M-g a, C-u select type'" helm-find-files-ag "Git grep `M-g g, C-u from root'" helm-ff-git-grep "Zgrep File(s) `M-g z, C-u Recurse'" helm-ff-zgrep "Gid `M-g i'" helm-ff-gid "Switch to Eshell `M-e'" helm-ff-switch-to-eshell "Etags `M-., C-u reload tag file'" helm-ff-etags-select "Eshell command on file(s) `M-!, C-u take all marked as arguments.'" helm-find-files-eshell-command-on-file "Find file as root `C-c r'" helm-find-file-as-root "Find alternate file `C-x C-v'" find-alternate-file "Ediff File `C-c ='" helm-find-files-ediff-files "Ediff Merge File `M-='" helm-find-files-ediff-merge-files #[0 "\301\302\303=\203\f \304\202
\305\"\207" [helm-ff-delete-files-function format "Delete File(s)%s `M-D' (C-u reverse trash)" helm-delete-marked-files-async " async" ""] 4] helm-ff-delete-files "Touch File(s) `M-T'" helm-ff-touch-files "Copy file(s) `M-C, C-u to follow'" helm-find-files-copy "Rename file(s) `M-R, C-u to follow'" helm-find-files-rename "Backup files" helm-find-files-backup "Symlink files(s) `M-S, C-u to follow'" helm-find-files-symlink "Relsymlink file(s) `M-Y, C-u to follow'" helm-find-files-relsymlink "Hardlink file(s) `M-H, C-u to follow'" helm-find-files-hardlink "Find file other window `C-c o'" helm-find-files-other-window "Find file other frame `C-c C-o'" find-file-other-frame "Print File `C-c p, C-u to refresh'" helm-ff-print "Locate `C-x C-f, C-u to specify locate db'" helm-ff-locate] 87] "Actions for `helm-find-files'." :group helm-files :type (alist :key-type string :value-type function)] 8) |
|
43 |
#@74 The main source to browse files. |
|
44 |
Should not be used among other sources. |
|
45 |
(defvar helm-source-find-files nil (#$ . 25207)) |
|
46 |
(byte-code "\300\301\302\303!\"\210\300\304\305\303!\"\210\300\306\304\"\210\307\306\310\311#\210\312\303\313\304#\314\303\315\316\317$\207" [defalias helm-source-ffiles-p eieio-make-class-predicate helm-source-ffiles helm-source-ffiles--eieio-childp eieio-make-child-predicate helm-source-ffiles-child-p make-obsolete "use (cl-typep ... \\='helm-source-ffiles) instead" "25.1" define-symbol-prop cl-deftype-satisfies eieio-defclass-internal (helm-source-sync) ((header-name :initform (lambda (name) (concat name (substitute-command-keys helm-find-files-doc-header)))) (init :initform (lambda nil (setq helm-ff-auto-update-flag helm-ff-auto-update-initial-value) (setq helm-ff--auto-update-state helm-ff-auto-update-flag) (helm-set-local-variable 'bookmark-make-record-function #'helm-ff-make-bookmark-record) (require 'helm-external))) (candidates :initform 'helm-find-files-get-candidates) (filtered-candidate-transformer :initform '(helm-ff-sort-candidates (lambda (candidates _source) (cl-loop for f in candidates for ff = (helm-ff-filter-candidate-one-by-one f) when ff collect ff)))) (persistent-action-if :initform 'helm-find-files-persistent-action-if) (persistent-help :initform "Hit1 Expand Candidate, Hit2 or (C-u) Find file") (help-message :initform 'helm-ff-help-message) (mode-line :initform (list "File(s)" helm-mode-line-string)) (volatile :initform t) (cleanup :initform 'helm-find-files-cleanup) (migemo :initform t) (nohighlight :initform t) (keymap :initform helm-find-files-map) (candidate-number-limit :initform 'helm-ff-candidate-number-limit) (action-transformer :initform 'helm-find-files-action-transformer) (action :initform 'helm-find-files-actions) (before-init-hook :initform 'helm-find-files-before-init-hook) (after-init-hook :initform 'helm-find-files-after-init-hook) (group :initform 'helm-files)) nil] 6) |
|
47 |
#@75 Create a new object of class type `helm-source-ffiles'. |
|
48 |
|
|
49 |
(fn &rest SLOTS) |
|
50 |
(defalias 'helm-source-ffiles #[128 "\300\301\302#\207" [apply make-instance helm-source-ffiles] 5 (#$ . 27176)]) |
|
51 |
(byte-code "\300\301\302\303#\300\207" [function-put helm-source-ffiles compiler-macro helm-source-ffiles--anon-cmacro] 4) |
|
52 |
#@26 |
|
53 |
|
|
54 |
(fn WHOLE &rest SLOTS) |
|
55 |
(defalias 'helm-source-ffiles--anon-cmacro #[385 "\211@;\204 \207\300\301\302@@#@\303@DABB\"\207" [macroexp--warn-and-return format "Obsolete name arg %S to constructor %S" identity] 7 (#$ . 27494)]) |
|
56 |
#@60 The `bookmark-make-record-function' for `helm-find-files'. |
|
57 |
(defalias 'helm-ff-make-bookmark-record #[0 "r\301 q\210\302B\303\304 )B\305BB\207" [helm-ff-default-directory helm-buffer-get filename presel helm-get-selection ((handler . helm-ff-bookmark-jump))] 3 (#$ . 27732)]) |
|
58 |
#@56 bookmark handler for `helm-find-files'. |
|
59 |
|
|
60 |
(fn BOOKMARK) |
|
61 |
(defalias 'helm-ff-bookmark-jump #[257 "\301\302\"\301\303\"\304!\205 \305\203 \306!\202 \"\207" [helm-ff-transformer-show-only-basename bookmark-prop-get filename presel file-directory-p helm-find-files-1 helm-basename] 7 (#$ . 28014)]) |
|
62 |
#@48 Record `helm-find-files' session in bookmarks. |
|
63 |
(defalias 'helm-ff-bookmark-set #[0 "\203 r\303 q\210\304 \305\n!P!\210)\306\307!\207\310\311!\207" [helm-alive-p helm-find-files-bookmark-prefix helm-ff-default-directory helm-buffer-get bookmark-set abbreviate-file-name message "Helm find files session bookmarked! " error "Running helm command outside of context"] 4 (#$ . 28323) nil]) |
|
64 |
(byte-code "\300\301\302\303#\210\304\305\306\307\310DD\311\312\313\314\315&\207" [put helm-ff-bookmark-set helm-only t custom-declare-variable helm-dwim-target funcall function #[0 "\300\207" [nil] 1] "Default target directory for file actions.\n\nDefine the directory where you want to start navigating for the target\ndirectory when copying, renaming etc... You can use the\n`default-directory' of `next-window', the current\n`default-directory' or have completion on all the directories\nbelonging to each window." :group helm-files :type (radio :tag "Define default target directory for file actions." (const :tag "Directory belonging to next window" next-window) (const :tag "Completion on directories belonging to each window" completion) (const :tag "Use initial directory or `default-directory'" nil))] 8) |
|
65 |
#@69 Try to return a suitable directory according to `helm-dwim-target'. |
|
66 |
(defalias 'helm-dwim-target-directory #[0 "r\305!\203 \206 p\211q\210\306\307 !\310 \"\211G\311\312V\203l \n\313=\203l \314\315\316\242\206/ \f\fD\317\211:\203c @\262\320!r\321\322\323\324\325!\326\"\327$\216\330@\331\"\210\f*\262B\262A\262\2025 \211\237\266\203\"\"\202\247 \312V\203\226 \n\332=\203\226 \320\332 !r\321\322\323\324\325!\333\"\327$\216\330@\331\"\210\f*\262\202\247 \312U\204\241 \n?\205\247 \242\206\247 \f!\266\202)\207" [helm-current-buffer helm-marked-buffer-name helm-dwim-target helm-ff-history default-directory buffer-live-p remove get-buffer-window window-list expand-file-name 1 completion helm-comp-read "Browse target starting from: " append nil internal--before-with-selected-window make-byte-code 0 "\301\300!\207" vconcat vector [internal--after-with-selected-window] 2 select-window norecord next-window [internal--after-with-selected-window]] 17 (#$ . 29533)]) |
|
67 |
#@14 |
|
68 |
|
|
69 |
(fn FILES) |
|
70 |
(defalias 'helm-ff--count-and-collect-dups #[257 "\300\301\302\"\303\211\211:\203H @\262\304!\203 \305!\306P\202\" |