%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/ |
Current File : //usr/local/share/emacs/27.2/lisp/dired-x.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!\210\302\303\304\305\306\301%\210\302\307\304\310\311\312\306\303&\210\313\314\315\316\317DD\320\321\322\306\307&\210\313\323\315\316\324DD\325\321\322\326\327\306\307& \210\313\330\315\316\331DD\332\321\322\326\333\306\307& \210\313\334\315\316\335DD\336\321\322\326\337\306\307& \210\313\340\315\316\341DD\342\321\343\306\303&\210\313\344\315\316\345DD\346\321\347\306\303&\210\313\350\315\316\351DD\352\321\353\306\303\354\355& \207" [require dired custom-declare-group dired-x nil "Extended directory editing (dired-x)." :group dired-keys "Dired keys customizations." :prefix "dired-" custom-declare-variable dired-bind-vm funcall function #[0 "\300\207" [nil] 1] "Non-nil means \"V\" runs `dired-vm', otherwise \"V\" runs `dired-rmail'.\nRMAIL files in the old Babyl format (used before Emacs 23.1)\ncontain \"-*- rmail -*-\" at the top, so `dired-find-file'\nwill run `rmail' on these files. New RMAIL files use the standard\nmbox format, and so cannot be distinguished in this way." :type boolean dired-bind-jump #[0 "\300\207" [t] 1] "Non-nil means bind `dired-jump' to C-x C-j, otherwise do not.\nSetting this variable directly after dired-x is loaded has no effect -\nuse \\[customize]." :set #[514 "L\203 \302\303\304#\210\302 \303\305#\207\306\303\"\304=\203! \302\303\307#\210\306 \303\"\305=\205/ \302 \303\307#\207" [ctl-x-map ctl-x-4-map define-key "\n" dired-jump dired-jump-other-window lookup-key nil] 6 "\n\n(fn SYM VAL)"] dired-bind-man #[0 "\300\207" [t] 1] "Non-nil means bind `dired-man' to \"N\" in Dired, otherwise do not.\nSetting this variable directly after dired-x is loaded has no effect -\nuse \\[customize]." #[514 "L\203\f \301\302\303#\207\304\302\"\303=\205 \301\302\305#\207" [dired-mode-map define-key "N" dired-man lookup-key nil] 6 "\n\n(fn SYM VAL)"] dired-bind-info #[0 "\300\207" [t] 1] "Non-nil means bind `dired-info' to \"I\" in Dired, otherwise do not.\nSetting this variable directly after dired-x is loaded has no effect -\nuse \\[customize]." #[514 "L\203\f \301\302\303#\207\304\302\"\303=\205 \301\302\305#\207" [dired-mode-map define-key "I" dired-info lookup-key nil] 6 "\n\n(fn SYM VAL)"] dired-vm-read-only-folders #[0 "\300\207" [nil] 1] "If non-nil, \\[dired-vm] will visit all folders read-only.\nIf neither nil nor t, e.g. the symbol `if-file-read-only', only\nfiles not writable by you are visited read-only." (choice (const :tag "off" nil) (const :tag "on" t) (other :tag "non-writable only" if-file-read-only)) dired-omit-size-limit #[0 "\300\207" [30000] 1] "Maximum size for the \"omitting\" feature.\nIf nil, there is no maximum size." (choice (const :tag "no maximum" nil) integer) dired-omit-case-fold #[0 "\300\207" [filesystem] 1] "Determine whether \"omitting\" patterns are case-sensitive.\nWhen nil, always be case-sensitive; when t, always be\ncase-insensitive; the default value, `filesystem', causes case\nfolding to be used on case-insensitive filesystems only." (choice (const :tag "Always case-sensitive" nil) (const :tag "Always case-insensitive" t) (const :tag "According to filesystem" filesystem)) :version "26.1"] 10) #@75 Non-nil if `dired-omit-mode' should be case-insensitive in DIR. (fn DIR) (defalias 'dired-omit-case-fold-p #[257 "\301=\203\n \302!\207\207" [dired-omit-case-fold filesystem file-name-case-insensitive-p] 3 (#$ . 3554)]) #@99 Non-nil if Dired-Omit mode is enabled. Use the command `dired-omit-mode' to change this variable. (defvar dired-omit-mode nil (#$ . 3784)) (make-variable-buffer-local 'dired-omit-mode) #@757 Toggle omission of uninteresting files in Dired (Dired-Omit mode). If called interactively, enable Dired-Omit mode if ARG is positive, and disable it if ARG is zero or negative. If called from Lisp, also enable the mode if ARG is omitted or nil, and toggle it if ARG is `toggle'; disable the mode otherwise. Dired-Omit mode is a buffer-local minor mode. When enabled in a Dired buffer, Dired does not list files whose filenames match regexp `dired-omit-files', nor files ending with extensions in `dired-omit-extensions'. To enable omitting in every Dired buffer, you can put this in your init file: (add-hook \='dired-mode-hook (lambda () (dired-omit-mode))) See Info node `(dired-x) Omitting Variables' for more information. (fn &optional ARG) (defalias 'dired-omit-mode #[256 "\302 \303=\203 ?\202 \304!\305V\211\203 \306\307 \210)\202# \310 \210\311\312\203- \313\202. \314\"\210\315\316!\203R \302 \203B \211\302 \232\203R \317\320\321\203M \322\202N \323#\266\210\324 \210\207" [dired-omit-mode dired-omit-size-limit current-message toggle prefix-numeric-value 0 nil dired-omit-expunge revert-buffer run-hooks dired-omit-mode-hook dired-omit-mode-on-hook dired-omit-mode-off-hook called-interactively-p any " in current buffer" message "Dired-Omit mode %sabled%s" "en" "dis" force-mode-line-update] 8 (#$ . 3976) (byte-code "\206 \301C\207" [current-prefix-arg toggle] 1)]) (defvar dired-omit-mode-hook nil) (byte-code "\302\303N\204\f \304\302\303\305#\210\306\307\310\311\300!\205 \310\211%\210\304\307\312\313#\210\314\315\316\317\320DD\321\322\323\324\325&\210\314\326\316\317\327DD\330\331\332\322\333\324\325& \210\314\334\316\317\335DD\336\322\333\324\325&\210\314\337\316\317\340DD\341\331\332\322\342\324\325& \210\314\343\316\317\344DD\345\322\333\324\325&\210\314\346\316\317\347DD\350\322\351\324\325&\210\314\352\316\317\353DD\354\322\333\324\325&\210\314\355\316\317\356DD\357\331\360\322\333\324\325& \210\361\362 \363\"!\203\271 \364 \365\366#\210\364 \367\370#\210\364 \371\372#\210\361\362 \373\"!\203\310 \364 \374\375#\210\364 \376\307#\210\364 \377\366#\210\364 \201@ \201A #\210\364 \201B \201C #\210\364 \201D \201E #\210\364 \201F \201G #\210\364 \201H \201I #\210\201J \201K !\210\362 \201L \"\211\203\201\201M \201N \201O \201P $\210\201M \201Q \201R \201S $\210\201M \201T \201U \201V $\210\201M \201W \201X \201Y $\210\201M \201Z \201[ \201Y $\210\201M \201\\ \201] \201^ $\210\201M \201_ \201` \201a $\210\210\201b \201c \201d \"\210\201b \201e \201f \"\207" [dired-omit-mode-map dired-mode-map dired-omit-mode-hook variable-documentation put "Hook run after entering or leaving `dired-omit-mode'.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" add-minor-mode dired-omit-mode nil boundp safe-local-variable booleanp custom-declare-variable dired-omit-files funcall function #[0 "\300\207" [#1="\\`[.]?#\\|\\`[.][.]?\\'"] 1 #1#] "Filenames matching this regexp will not be displayed.\nThis only has effect when `dired-omit-mode' is t. See interactive function\n`dired-omit-mode' (\\[dired-omit-mode]) and variable\n`dired-omit-extensions'. The default is to omit `.', `..', auto-save\nfiles and lock files." :type regexp :group dired-x dired-omit-verbose #[0 "\300\207" [t] 1] "When non-nil, show messages when omitting files.\nWhen nil, don't show messages." :version "24.1" boolean dired-find-subdir #[0 "\300\207" [nil] 1] "If non-nil, Dired always finds a directory in a buffer of its own.\nIf nil, Dired finds the directory as a subdirectory in some other buffer\nif it is present as one.\n\nIf there are several Dired buffers for a directory, the most recently\nused is chosen.\n\nDired avoids switching to the current buffer, so that if you have\na normal and a wildcard buffer for the same directory, \\[dired] will\ntoggle between those two." dired-guess-shell-gnutar #[0 "\3002P \301\211\205M \211@\302\303!r\211q\210\304\305\306\307\310!\311\"\312$\216\3131- \314\315\316\315\317%0\2021 \210\2022 \210\320\321\315\316#\205; \316*\262\203F \322\300\"\210A\266\202\202 \2620\207" [found ("tar" "gtar") generate-new-buffer " *temp*" make-byte-code 0 "\301\300!\205 \302\300!\207" vconcat vector [buffer-name kill-buffer] 2 (error) call-process nil t "--version" re-search-backward "GNU tar" throw] 9] "If non-nil, name of GNU tar executable.\n(E.g., \"tar\" or \"gtar\"). The `z' switch will be used with it for\ncompressed or gzip'ed tar files. If you don't have GNU tar, set this\nto nil: a pipe using `zcat' or `gunzip -c' will be used." (choice (const :tag "Not GNU tar" nil) (string :tag "Command name")) dired-guess-shell-gzip-quiet #[0 "\300\207" [t] 1] "Non-nil says pass -q to gzip overriding verbose GZIP environment." dired-guess-shell-znew-switches #[0 "\300\207" [nil] 1] "If non-nil, then string of switches passed to `znew', example: \"-K\"." (choice (const :tag "None" nil) (string :tag "Switches")) dired-clean-up-buffers-too #[0 "\300\207" [t] 1] "Non-nil means offer to kill buffers visiting files and dirs deleted in Dired." dired-clean-confirm-killing-deleted-buffers #[0 "\300\207" [t] 1] "If nil, don't ask whether to kill buffers visiting deleted files." "26.1" keymapp lookup-key "*" define-key "*(" dired-mark-sexp "*O" dired-mark-omitted "*." dired-mark-extension "%" "%Y" dired-do-relsymlink-regexp "\357" "\250" "\241" dired-smart-shell-command "\307" dired-goto-subdir "F" dired-do-find-marked-files "Y" dired-do-relsymlink "V" dired-do-run-mail require easymenu [menu-bar] easy-menu-add-item ("Operate") ["Find Files" dired-do-find-marked-files :help "Find current or marked files"] "Shell Command..." ("Operate") ["Relative Symlink to..." dired-do-relsymlink :visible (fboundp 'make-symbolic-link) :help "Make relative symbolic links for current or marked files"] "Hardlink to..." ("Mark") ["Flag Extension..." dired-flag-extension :help "Flag files with a certain extension for deletion"] "Mark Executables" ("Mark") ["Mark Extension..." dired-mark-extension :help "Mark files with a certain extension"] "Unmark All" ("Mark") ["Mark Omitted" dired-mark-omitted :help "Mark files matching `dired-omit-files' and `dired-omit-extensions'"] ("Regexp") ["Relative Symlink..." dired-do-relsymlink-regexp :visible (fboundp 'make-symbolic-link) :help "Make relative symbolic links for files matching regexp"] "Hardlink..." ("Immediate") ["Omit Mode" dired-omit-mode :style toggle :selected dired-omit-mode :help "Enable or disable omitting \"uninteresting\" files"] "Refresh" add-hook dired-mode-hook dired-extra-startup dired-after-readin-hook dired-omit-expunge] 10) #@639 Automatically put on `dired-mode-hook' to get extra Dired features: \<dired-mode-map> \[dired-do-run-mail] -- run mail on folder (see `dired-bind-vm') \[dired-info] -- run info on file \[dired-man] -- run man on file \[dired-do-find-marked-files] -- visit all marked files simultaneously \[dired-omit-mode] -- toggle omitting of files \[dired-mark-sexp] -- mark by Lisp expression To see the options you can set, use M-x customize-group RET dired-x RET. See also the functions: `dired-flag-extension' `dired-virtual' `dired-jump' `dired-man' `dired-vm' `dired-rmail' `dired-info' `dired-do-find-marked-files' (defalias 'dired-extra-startup #[0 "\300 \207" [dired-omit-startup] 1 (#$ . 10654) nil]) (defalias 'dired--mark-suffix-interactive-spec #[0 "\302\303\304\"\211\205 \305!\262\306\307\310\311\232\203 \312\202 \313\203' \307\314\"\202( \315#\303\211$\316\267\202K \317\202L \320 !\306\307\321\"\303\211$\211\322H\266\202\202L D\207" [current-prefix-arg dired-marker-char dired-get-filename nil t file-name-extension read-string format "%s extension%s: " (4) "UNmarking" "Marking" " (default %s)" "" #s(hash-table size 2 test equal rehash-size 1.5 rehash-threshold 0.8125 purecopy t data ((4) 51 (16) 55)) 32 char-to-string "Marker character to use (default %s): " 0] 8]) #@428 Mark all files with a certain EXTENSION for use in later commands. A `.' is automatically prepended to EXTENSION when not present. EXTENSION may also be a list of extensions instead of a single one. Optional MARKER-CHAR is marker to use. Interactively, ask for EXTENSION. Prefixed with one C-u, unmark files instead. Prefixed with two C-u's, prompt for MARKER-CHAR and mark files with it. (fn EXTENSION &optional MARKER-CHAR) (defalias 'dired-mark-extension #[513 "<\204 C\262\300\301\302\303\304#\305Q\"\207" [dired-mark-files-regexp ".\\(" mapconcat #[257 "\300\301\302\"\203\f \202 \302P!\207" [regexp-quote string-prefix-p "."] 5 "\n\n(fn X)"] "\\|" "\\)$"] 8 (#$ . 11983) (dired--mark-suffix-interactive-spec)]) #@512 Mark all files with a certain SUFFIX for use in later commands. A `.' is *not* automatically prepended to the string entered; see also `dired-mark-extension', which is similar but automatically prepends `.' when not present. SUFFIX may also be a list of suffixes instead of a single one. Optional MARKER-CHAR is marker to use. Interactively, ask for SUFFIX. Prefixed with one C-u, unmark files instead. Prefixed with two C-u's, prompt for MARKER-CHAR and mark files with it. (fn SUFFIX &optional MARKER-CHAR) (defalias 'dired-mark-suffix #[513 "<\204 C\262\300\301\302\303\304#\305Q\"\207" [dired-mark-files-regexp ".\\(" mapconcat regexp-quote "\\|" "\\)$"] 8 (#$ . 12718) (dired--mark-suffix-interactive-spec)]) #@143 In Dired, flag all files with a certain EXTENSION for deletion. A `.' is *not* automatically prepended to the string entered. (fn EXTENSION) (defalias 'dired-flag-extension #[257 "\301\"\207" [dired-del-marker dired-mark-extension] 4 (#$ . 13447) "sFlagging extension: "]) #@73 List of extensions of dispensable files created by the `patch' program. (defvar dired-patch-unclean-extensions '(".rej" ".orig") (#$ . 13729)) #@57 List of extensions of dispensable files created by TeX. (defvar dired-tex-unclean-extensions '(".toc" ".log" ".aux") (#$ . 13878)) #@59 List of extensions of dispensable files created by LaTeX. (defvar dired-latex-unclean-extensions '(".idx" ".lof" ".lot" ".glo") (#$ . 14015)) #@60 List of extensions of dispensable files created by BibTeX. (defvar dired-bibtex-unclean-extensions '(".blg" ".bbl") (#$ . 14163)) #@61 List of extensions of dispensable files created by texinfo. (defvar dired-texinfo-unclean-extensions '(".cp" ".cps" ".fn" ".fns" ".ky" ".kys" ".pg" ".pgs" ".tp" ".tps" ".vr" ".vrs") (#$ . 14299)) #@102 Flag dispensable files created by patch for deletion. See variable `dired-patch-unclean-extensions'. (defalias 'dired-clean-patch #[0 "\301!\207" [dired-patch-unclean-extensions dired-flag-extension] 2 (#$ . 14502) nil]) #@216 Flag dispensable files created by [La]TeX etc. for deletion. See variables `dired-tex-unclean-extensions', `dired-latex-unclean-extensions', `dired-bibtex-unclean-extensions' and `dired-texinfo-unclean-extensions'. (defalias 'dired-clean-tex #[0 "\304\305 \n$!\207" [dired-texinfo-unclean-extensions dired-latex-unclean-extensions dired-bibtex-unclean-extensions dired-tex-unclean-extensions dired-flag-extension append] 6 (#$ . 14731) nil]) #@228 Flag dispensable files created by [La]TeX *and* ".dvi" for deletion. See variables `dired-texinfo-unclean-extensions', `dired-latex-unclean-extensions', `dired-bibtex-unclean-extensions' and `dired-texinfo-unclean-extensions'. (defalias 'dired-very-clean-tex #[0 "\304\305 \n\306C%!\207" [dired-texinfo-unclean-extensions dired-latex-unclean-extensions dired-bibtex-unclean-extensions dired-tex-unclean-extensions dired-flag-extension append ".dvi"] 7 (#$ . 15182) nil]) #@494 Jump to Dired buffer corresponding to current buffer. If in a file, Dired the current directory and move to file's line. If in Dired already, pop up a level and goto old directory's line. In case the proper Dired file line cannot be found, refresh the dired buffer and try again. When OTHER-WINDOW is non-nil, jump to Dired buffer in other window. When FILE-NAME is non-nil, jump to its line in Dired. Interactively with prefix argument, read FILE-NAME. (fn &optional OTHER-WINDOW FILE-NAME) (defalias 'dired-jump #[512 "\306\300!\203 \203 \307 !\203 \310 !\207\306\302!\203( \n\203( \307!\203( \310!\207\211\2032 \311!\2063 \f\211\203= \312!\202>