;ELC   
;;; Compiled by rms@psilocin.ai.mit.edu on Wed Jul  8 20:18:10 1998
;;; from file /gd/gnu/emacs/lisp/dired-x.el
;;; in Emacs version 20.2.97.2
;;; with bytecomp version 2.47
;;; with all optimizations.

;;; This file uses dynamic docstrings, first added in Emacs 19.29.
(if (and (boundp 'emacs-version)
	 (< (aref emacs-version (1- (length emacs-version))) ?A)
	 (or (and (boundp 'epoch::version) epoch::version)
	     (string-lessp emacs-version "19.29")))
    (error "`dired-x.el' was compiled for Emacs 19.29 or later"))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


(byte-code "\302\303!\210\302\304!\210\305\306\307\310\303%\210\305\311\307\312	\313\306&\207" [:group :prefix require dired dired-aux custom-declare-group dired-x nil "Extended directory editing (dired-x)." dired-keys "Dired keys customizations." "dired-"] 8)
#@181 *t says "V" in dired-mode will `dired-vm', otherwise "V" is `dired-rmail'.
Also, RMAIL files contain -*- rmail -*- at the top so "f",
`dired-advertised-find-file', will run rmail.
(custom-declare-variable 'dired-bind-vm 'nil '(#$ . -867) :type 'boolean :group 'dired-keys)
#@57 *t says bind `dired-jump' to C-x C-j, otherwise do not.
(custom-declare-variable 'dired-bind-jump 't '(#$ . -1146) :type 'boolean :group 'dired-keys)
#@66 *t says bind `dired-man' to "N" in dired-mode, otherwise do not.
(custom-declare-variable 'dired-bind-man 't '(#$ . -1302) :type 'boolean :group 'dired-keys)
#@67 *t says bind `dired-info' to "I" in dired-mode, otherwise do not.
(custom-declare-variable 'dired-bind-info 't '(#$ . -1466) :type 'boolean :group 'dired-keys)
#@218 *If t, \[dired-vm] will visit all folders read-only.
If neither nil nor t, e.g. the symbol `if-file-read-only', only
files not writable by you are visited read-only.

Read-only folders only work in VM 5, not in VM 4.
(custom-declare-variable 'dired-vm-read-only-folders 'nil '(#$ . -1633) :type '(choice (const :tag "off" nil) (const :tag "on" t) (other :tag "non-writable only" if-file-read-only)) :group 'dired-x)
#@254 *If non-nil, "uninteresting" files are not listed (buffer-local).
Use \[dired-omit-toggle] to toggle its value.
Uninteresting files are those whose filenames match regexp `dired-omit-files',
plus those ending with extensions in `dired-omit-extensions'.
(custom-declare-variable 'dired-omit-files-p 'nil '(#$ . -2056) :type 'boolean :group 'dired-x)
(make-variable-buffer-local 'dired-omit-files-p)
#@284 *Filenames matching this regexp will not be displayed.
This only has effect when `dired-omit-files-p' is t.  See interactive function
`dired-omit-toggle' (\[dired-omit-toggle]) and variable
`dired-omit-extensions'.  The default is to omit  `.', `..', auto-save
files and lock files.
(custom-declare-variable 'dired-omit-files '"^\\.?#\\|^\\.$\\|^\\.\\.$" '(#$ . -2461) :type 'regexp :group 'dired-x)
#@417 *If non-nil, Dired always finds a directory in a buffer of its own.
If nil, Dired finds the directory as a subdirectory in some other buffer
if it is present as one.

If there are several Dired buffers for a directory, the most recently
used is chosen.

Dired avoids switching to the current buffer, so that if you have
a normal and a wildcard buffer for the same directory, C-x d RET will
toggle between those two.
(custom-declare-variable 'dired-find-subdir 'nil '(#$ . -2868) :type 'boolean :group 'dired-x)
#@77 *Maximum size for the "omitting" feature.
If nil, there is no maximum size.
(custom-declare-variable 'dired-omit-size-limit '30000 '(#$ . -3385) :type '(choice (const :tag "no maximum" nil) integer) :group 'dired-x)
#@332 *Control use of local-variables lists in dired.
The value can be t, nil or something else.
A value of t means local-variables lists are obeyed;
nil means they are ignored; anything else means query.

This temporarily overrides the value of `enable-local-variables' when listing
a directory.  See also `dired-local-variables-file'.
(custom-declare-variable 'dired-enable-local-variables 't '(#$ . -3608) :type 'boolean :group 'dired-x)
#@207 *If non-nil, name of GNU tar executable (e.g., "tar" or "gtar") and `z'
switch will be used for compressed or gzip'ed tar files.  If no GNU tar, set
to nil: a pipe using `zcat' or `gunzip -c' will be used.
(custom-declare-variable 'dired-guess-shell-gnutar 'nil '(#$ . -4050) :type 'boolean :group 'dired-x)
#@68 *non-nil says pass -q to gzip overriding verbose GZIP environment.
(custom-declare-variable 'dired-guess-shell-gzip-quiet 't '(#$ . -4364) :type 'boolean :group 'dired-x)
#@70 *If non-nil, then string of switches passed to `znew', example: "-K"
(custom-declare-variable 'dired-guess-shell-znew-switches 'nil '(#$ . -4541) :type 'boolean :group 'dired-x)
#@73 *t says offer to kill buffers visiting files and dirs deleted in dired.
(custom-declare-variable 'dired-clean-up-buffers-too 't '(#$ . -4725) :type 'boolean :group 'dired-x)
(byte-code "\305\306\307#\210\305\310\311#\210\305\312\311#\210\305\313\314#\210\305\315\316#\210\305\317\320#\210\305\321\322#\210\305\323\324#\210\305\325\326#\210\305\327\330#\210\305\331\332#\210\305\333\334#\210	\203R \305\335\336#\210\n\203\\ \305\337\340#\210\203l \305\f\341\342#\210\305\f\343\344#\210\345\346\347\"\210\345\350\351\"\207" [dired-mode-map dired-bind-man dired-bind-info dired-bind-jump global-map define-key "\357" dired-omit-toggle "\250" dired-mark-sexp "*(" "*." dired-mark-extension "\241" dired-smart-shell-command "w" dired-copy-filename-as-kill "\347" dired-goto-file "\307" dired-goto-subdir "F" dired-do-find-marked-files "Y" dired-do-relsymlink "%Y" dired-do-relsymlink-regexp "V" dired-do-run-mail "N" dired-man "I" dired-info "\n" dired-jump "4\n" dired-jump-other-window add-hook dired-mode-hook dired-extra-startup dired-after-readin-hook dired-omit-expunge] 4)
#@1142 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-toggle]	-- toggle omitting of files
  \[dired-mark-sexp]	-- mark by lisp expression
  \[dired-copy-filename-as-kill]	-- copy the file or subdir names into the kill ring.
  	   You can feed it to other commands using \[yank].

For more features, see variables

  dired-bind-vm
  dired-bind-jump
  dired-bind-info
  dired-bind-man
  dired-vm-read-only-folders
  dired-omit-files-p
  dired-omit-files
  dired-omit-extensions
  dired-omit-size-limit
  dired-find-subdir
  dired-enable-local-variables
  dired-local-variables-file
  dired-guess-shell-gnutar
  dired-guess-shell-gzip-quiet
  dired-guess-shell-znew-switches
  dired-guess-shell-alist-user
  dired-clean-up-buffers-too

See also 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 #[nil "\300 \210\301 \207" [dired-hack-local-variables dired-omit-startup] 1 (#$ . 5825) nil])
(defalias 'dired-clean-up-after-deletion #[(fn) "\212A\203 \305	!\203 \306 \210)\n\205] \307	!\211\203- \310\311\312\313	!\"!\203- \212\314!\210))\315\316	!!\317\211\205\\ \310\311\320\321\fG!\313	!#!\205\\ \f\205\\ \212\314\f@!\210)\fA\211\204M \317*\207" [dired-subdir-alist fn dired-clean-up-buffers-too buf buf-list dired-goto-subdir dired-kill-subdir get-file-buffer y-or-n-p format "Kill buffer of %s, too? " file-name-nondirectory kill-buffer dired-buffers-for-dir expand-file-name nil "Kill dired buffer%s of %s, too? " dired-plural-s] 7])
#@128 Mark all files with a certain extension for use in later commands.
A `.' is not automatically prepended to the string entered.
(defalias 'dired-mark-extension #[(extension &optional marker-char) "<\204 C\302\303\304\305\306\307#\310R	\"\207" [extension marker-char dired-mark-files-regexp "." "\\(" mapconcat regexp-quote "\\|" "\\)$"] 7 (#$ . 7655) "sMarking extension: \nP"])
#@127 In dired, flag all files with a certain extension for deletion.
A `.' is *not* automatically prepended to the string entered.
(defalias 'dired-flag-extension #[(extension) "\302	\"\207" [extension dired-del-marker dired-mark-extension] 3 (#$ . 8045) "sFlagging extension: "])
#@73 List of extensions of dispensable files created by the `patch' program.
(defvar dired-patch-unclean-extensions '(".rej" ".orig") (#$ . 8328))
#@57 List of extensions of dispensable files created by TeX.
(defvar dired-tex-unclean-extensions '(".toc" ".log" ".aux") (#$ . 8476))
#@59 List of extensions of dispensable files created by LaTeX.
(defvar dired-latex-unclean-extensions '(".idx" ".lof" ".lot" ".glo") (#$ . 8612))
#@60 List of extensions of dispensable files created by BibTeX.
(defvar dired-bibtex-unclean-extensions '(".blg" ".bbl") (#$ . 8759))
#@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") (#$ . 8894))
#@102 Flag dispensable files created by patch for deletion.
See variable `dired-patch-unclean-extensions'.
(defalias 'dired-clean-patch #[nil "\301!\207" [dired-patch-unclean-extensions dired-flag-extension] 2 (#$ . 9096) nil])
#@220 Flag dispensable files created by [La]TeX etc. for deletion.
See variables `dired-texinfo-unclean-extensions',
`dired-latex-unclean-extensions', `dired-bibtex-unclean-extensions' and
`dired-texinfo-unclean-extensions'.
(defalias 'dired-clean-tex #[nil "\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 (#$ . 9326) 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 #[nil "\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 (#$ . 9782) nil])
#@281 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.
(defalias 'dired-jump #[(&optional other-window) "\211\203\f \306	!\202 \n\f\307=\203- \310 \311!\210\312!\206] \313\306!!\210\312!\202] \2038 \314!\210\202< \315!\210	\205] \312	!\206] \313\306	!!\210\312	!\206] \205] \316 \210\312	!*\207" [buffer-file-name file default-directory dir major-mode other-window file-name-directory dired-mode dired-current-directory dired-up-directory dired-goto-file dired-insert-subdir dired-other-window dired dired-omit-toggle dired-omit-files-p] 4 (#$ . 10263) "P"])
#@54 Like \[dired-jump] (dired-jump) but in other window.
(defalias 'dired-jump-other-window #[nil "\300\301!\207" [dired-jump t] 2 (#$ . 11067) nil])
#@400 Copy names of marked (or next ARG) files into the kill ring.
The names are separated by a space.
With a zero prefix arg, use the complete pathname of each marked file.
With \[universal-argument], use the relative pathname of each marked file.

If on a subdir headerline, use subdirname instead; prefix arg is ignored
in this case.

You can then feed the file name(s) to other commands with \[yank].
(defalias 'dired-copy-filename-as-kill #[(&optional arg) "\302 \206/ \303\304\203* \305!\306U\203 \307 \202- \250\203$ \307\310\"\202- \307\311!\202- \307\310!\312#\313	!\210\314\315	\")\207" [arg string dired-get-subdir mapconcat identity prefix-numeric-value 0 dired-get-marked-files no-dir t " " kill-new message "%s"] 5 (#$ . 11220) "P"])
#@226 The LOCALP argument dired-omit-expunge passes to dired-get-filename.
If it is 'no-dir, omitting is much faster, but you can only match
against the basename of the file.  Set it to nil if you need to match the
whole pathname.
(defvar dired-omit-localp 'no-dir (#$ . 11975))
#@103 Temporary marker used by by dired-omit.
Should never be used as marker by the user or other packages.
(defvar dired-omit-marker-char 15 (#$ . 12255))
(defalias 'dired-omit-startup #[nil "\301\236\206\f \302\303\"\211\207" [minor-mode-alist dired-omit-files-p append ((dired-omit-files-p " Omit"))] 3])
#@266 Toggle omitting files matching `dired-omit-files' and `dired-omit-extensions'.
With an arg, and if omitting was off, don't toggle and just mark the
  files but don't actually omit them.
With an arg, and if omitting was on, turn it off but don't refresh the buffer.
(defalias 'dired-omit-toggle #[(&optional flag) "\203 	\203 	?\211\207\304\305 \306\211\n$\207	?\211\204 \307 \207\306\310 )\207" [flag dired-omit-files-p dired-omit-localp dired-omit-size-limit dired-mark-unmarked-files dired-omit-regexp nil revert-buffer dired-omit-expunge] 6 (#$ . 12567) "P"])
#@371 If non-nil, a list of extensions (strings) to omit from Dired listings.  
Defaults to elements of `completion-ignored-extensions',
`dired-latex-unclean-extensions', `dired-bibtex-unclean-extensions', and
`dired-texinfo-unclean-extensions'.  

See interactive function `dired-omit-toggle' (\[dired-omit-toggle]) and
variables `dired-omit-files-p' and `dired-omit-files'.
(defvar dired-omit-extensions (append completion-ignored-extensions dired-latex-unclean-extensions dired-bibtex-unclean-extensions dired-texinfo-unclean-extensions) (#$ . 13144))
#@496 Erases all unmarked files matching REGEXP.
Does nothing if global variable `dired-omit-files-p' is nil, or if called
  non-interactively and buffer is bigger than `dired-omit-size-limit'.
If REGEXP is nil or not specified, uses `dired-omit-files', and also omits
  filenames ending in `dired-omit-extensions'.
If REGEXP is the empty string, this function is a no-op.

This functions works by temporarily binding `dired-marker-char' to
`dired-omit-marker-char' and calling `dired-do-kill-lines'.
(defalias 'dired-omit-expunge #[(&optional regexp) "\205d t\204 	\203 \306 	W\204 \307\310	\"\210\311\311\207\n\206\" \312 \313 \311\211\314\230\204P \307\315!\210\316\311\211$\203K \317\311\320\"\321 \210\202O \307\322!\210)\323\f\205` \212eb\210\324\311\325#)!\210+\207" [dired-omit-files-p dired-omit-size-limit regexp count old-modified-p omit-re buffer-size message "Not omitting: directory larger than %d characters." nil dired-omit-regexp buffer-modified-p "" "Omitting..." dired-mark-unmarked-files dired-do-kill-lines "Omitted %d line%s." force-mode-line-update "(Nothing to omit)" set-buffer-modified-p re-search-forward t dired-omit-marker-char dired-marker-char dired-omit-localp dired-re-mark] 6 (#$ . 13700) "sOmit files (regexp): "])
(defalias 'dired-omit-regexp #[nil "\203 \302\303Q\202\f \304\203 	\203 \305\202 \304	\203) \306\302\307\310	\305#\311R\202* \304Q\207" [dired-omit-files dired-omit-extensions "\\(" "\\)" "" "\\|" "." mapconcat regexp-quote "\\)$"] 8])
#@263 Marks unmarked files matching REGEXP, displaying MSG.
REGEXP is matched against the complete pathname.
Does not re-mark files which already have a mark.
With prefix argument, unflag all those files.
Second optional argument LOCALP is as in `dired-get-filename'.
(defalias 'dired-mark-unmarked-files #[(regexp msg &optional unflag-p localp) "\203 \306\202	 	\307\211\212\310\f\203 \311\312\f\"\210eb\210m\204K \313\314!\203E \315\316\"\211\2057 \317\")\203E \320\321!\210	c\210\nT\321y\210\202 \f\203p \311\322\n\f\323\n!	\306=\203` \324\202a \325	=\203l \326\202m \327&\210)\n\310V\205x \n+\207" [unflag-p dired-marker-char count buffer-read-only msg localp 32 nil 0 message "Marking %ss..." looking-at " " dired-get-filename t string-match delete-char 1 "%s %s%s %s%s." dired-plural-s "un" "" "flagged" "marked" fn regexp dired-del-marker] 9 (#$ . 15213) "P"])
(defalias 'dired-omit-new-add-entry #[(filename &optional marker-char relative) "\203: \306 \211\307\230\204/ \310	\n\311=\203 \202+ \n\312=\203% \313!\202+ \314\315!\"\"\2047 \316\f#\2028 \312)\207\316\f#\207" [dired-omit-files-p omit-re dired-omit-localp filename marker-char relative dired-omit-regexp "" string-match no-dir t dired-make-relative dired-make-absolute file-name-directory dired-omit-old-add-entry] 7])
(byte-code "\300\301!\204 \301\302KM\210\302\303M\210\304\305M\207" [fboundp dired-omit-old-add-entry dired-add-entry dired-omit-new-add-entry virtual-dired dired-virtual] 2)
#@816 Put this buffer into Virtual Dired mode.

In Virtual Dired mode, all commands that do not actually consult the
filesystem will work.

This is useful if you want to peruse and move around in an ls -lR
output file, for example one you got from an ftp server.  With
ange-ftp, you can even dired a directory containing an ls-lR file,
visit that file and turn on virtual dired mode.  But don't try to save
this file, as dired-virtual indents the listing and thus changes the
buffer.

If you have save a Dired buffer in a file you can use \[dired-virtual] to
resume it in a later session.

Type \<dired-mode-map>\[revert-buffer] in the
Virtual Dired buffer and answer `y' to convert the virtual to a real
dired buffer again.  You don't have to do this, though: you can relist
single subdirs using \[dired-do-redisplay].

(defalias 'dired-virtual #[(dirname &optional switches) "eb\210\306\307!\204 \310ed\311#\210\204 	\312\313!!\211\212eb\210\314y\210\306\315!\2051 \316\225\317\210`{)\211\203< \312\n	\")eb\210\306!\204J \320	!\210\321\f\206Q \"\210\322\323\324\325!\317L\210\326 \210eb\210\327!\207" [dirname default-directory wildcard dired-subdir-regexp switches dired-listing-switches looking-at "  " indent-region 2 expand-file-name file-name-as-directory 1 "^  wildcard " 0 nil dired-insert-headerline dired-mode "Virtual Dired" dired-virtual-revert make-local-variable dired-subdir-alist dired-build-subdir-alist dired-initial-position mode-name revert-buffer-function] 5 (#$ . 16708) (list (read-string "Virtual Dired directory: " (dired-virtual-guess-dir)))])
(defalias 'dired-virtual-guess-dir #[nil "\303\304eb\210\305	!\203 \224\225{\306\n!)\2021 \307	\310\311#\2030 \312\313\306\224\225{!!!\2021 \310*\207" [subexpr regexp dir "^\\(  \\)?\\([^ \n]*\\)\\(:\\)[\n]" 2 looking-at file-name-as-directory re-search-forward nil t file-name-directory directory-file-name] 5])
(defalias 'dired-virtual-revert #[(&optional arg noconfirm) "\302\303!\204\n \304\305!\207\306\307\310 \207" [mode-name revert-buffer-function y-or-n-p "Cannot revert a Virtual Dired buffer - switch to Real Dired mode? " error "Cannot revert a Virtual Dired buffer." "Dired" dired-revert revert-buffer] 2])
#@405 Put current buffer into virtual dired mode (see `dired-virtual').
Useful on `buffer-contents-mode-alist' (which see) with the regexp

    "^  \(/[^ /]+\)/?+:$"

to put saved dired buffers automatically into virtual dired mode.

Also useful for `auto-mode-alist' (which see) like this:

  (setq auto-mode-alist (cons '("[^/]\.dired\'" . dired-virtual-mode)
                              auto-mode-alist))
(defalias 'dired-virtual-mode #[nil "\300\301 !\207" [dired-virtual dired-virtual-guess-dir] 2 (#$ . 18930) nil])
#@164 Alist of major modes and their opinion on default-directory, as a
lisp expression to evaluate.  A resulting value of nil is ignored in
favor of default-directory.
(defconst default-directory-alist '((dired-mode if (fboundp 'dired-current-directory) (dired-current-directory) default-directory)) (#$ . 19455))
#@127 Usage like variable `default-directory', but knows about the special
cases in variable `default-directory-alist' (which see).
(defalias 'default-directory #[nil "\303	\236A!\206\n \n\207" [major-mode default-directory-alist default-directory eval] 3 (#$ . 19771)])
#@73 Like function `shell-command', but in the current Tree Dired directory.
(defalias 'dired-smart-shell-command #[(cmd &optional insert) "\300 \303	\n\")\207" [default-directory cmd insert shell-command] 3 (#$ . 20043) "sShell command: \nP"])
#@305 Filename, as string, containing local dired buffer variables to be hacked.
If this file found in current directory, then it will be inserted into dired
buffer and `hack-local-variables' will be run.  See Emacs Info pages for more
information on local variables.  See also `dired-enable-local-variables'.
(defvar dired-local-variables-file (convert-standard-filename ".dired") (#$ . 20291))
#@76 Evaluate local variables in `dired-local-variables-file' for dired buffer.
(defalias 'dired-hack-local-variables #[nil "\205. ;\205. \306!\205. d\307	\212\fb\210\310c\210\311!\210)\312 \210)\313 \210\fd|+\207" [dired-local-variables-file dired-enable-local-variables enable-local-variables buffer-read-only opoint buffer-file-name file-exists-p nil "\f\n" insert-file-contents hack-local-variables dired-sort-set-modeline] 3 (#$ . 20687)])
#@155 Creates `dired-local-variables-file' for omitting and reverts directory.
Sets dired-omit-file-p to t in a local variables file that is readable by
dired.
(defalias 'dired-omit-here-always #[nil "\301!\203 \302\303\"\207\212\304\305!q\210\306 \210\307c\210\310!\210\311p!\210)\312 \210\313 \207" [dired-local-variables-file file-exists-p message "File `./%s' already exists." get-buffer-create " *dot-dired*" erase-buffer "Local Variables:\ndired-omit-files-p: t\nEnd:\n" write-file kill-buffer dired-extra-startup dired-revert] 3 (#$ . 21143) nil])
#@59 History list for commands that read dired-shell commands.
(defvar dired-shell-command-history nil (#$ . 21702))
#@83 Default alist used for shell command guessing.
See `dired-guess-shell-alist-user'
(defvar dired-guess-shell-alist-default (byte-code "\300\301D\302\303\304E\305\306\307E\310\311\312\313\314\315E\316\317\320E\321\322\323\324\325E\326\327\330\331\332\333\334\335\336\337\340\341\342\343\344\345\346\347\350\351\352\353\354\355D\356\357\360E\257#\207" ["\\.tar$" (if dired-guess-shell-gnutar (concat dired-guess-shell-gnutar " xvf") "tar xvf") "\\.tar\\.Z$" (if dired-guess-shell-gnutar (concat dired-guess-shell-gnutar " zxvf") (concat "zcat * | tar xvf -")) (concat "znew" (if dired-guess-shell-gzip-quiet " -q") " " dired-guess-shell-znew-switches) "\\.t\\(ar\\.\\)g?z$" (if dired-guess-shell-gnutar (concat dired-guess-shell-gnutar " zxvf") (concat "gunzip -qc * | tar xvf -")) (concat "gunzip" (if dired-guess-shell-gzip-quiet " -q" "")) ("\\.shar.Z$" "zcat * | unshar") ("\\.shar.g?z$" "gunzip -qc * | unshar") ("\\.e?ps$" "ghostview" "xv" "lpr") "\\.e?ps.g?z$" "gunzip -qc * | ghostview -" (concat "gunzip" (if dired-guess-shell-gzip-quiet " -q")) "\\.e?ps.Z$" "zcat * | ghostview -" (concat "znew" (if dired-guess-shell-gzip-quiet " -q") " " dired-guess-shell-znew-switches) ("\\.patch$" "cat * | patch") ("\\.patch.g?z$" "gunzip -qc * | patch") "\\.patch.Z$" "zcat * | patch" (concat "znew" (if dired-guess-shell-gzip-quiet " -q") " " dired-guess-shell-znew-switches) ("\\.dvi$" "xdvi" "dvips") ("\\.au$" "play") ("\\.mpg$" "mpeg_play") ("\\.uu$" "uudecode") ("\\.hqx$" "mcvert") ("\\.sh$" "sh") ("\\.xbm$" "bitmap") ("\\.gp$" "gnuplot") ("\\.p[bgpn]m$" "xv") ("\\.gif$" "xv") ("\\.tif$" "xv") ("\\.jpg$" "xv") ("\\.fig$" "xfig") ("\\.out$" "xgraph") ("\\.tex$" "latex" "tex") ("\\.texi\\(nfo\\)?$" "makeinfo" "texi2dvi") ("\\.pdf$" "acroread") ("\\.zoo$" "zoo x//") ("\\.zip$" "unzip") ("\\.lzh$" "lharc x") ("\\.arc$" "arc x") ("\\.shar$" "unshar") "\\.g?z$" (concat "gunzip" (if dired-guess-shell-gzip-quiet " -q")) "\\.Z$" "uncompress" (concat "znew" (if dired-guess-shell-gzip-quiet " -q") " " dired-guess-shell-znew-switches)] 37) (#$ . 21820))
#@946 User-defined alist of rules for suggested commands. These rules take
precedence over the predefined rules in the variable
`dired-guess-shell-alist-default' (to which they are prepended).

Each element of this list looks like

    (REGEXP COMMAND...)

where each COMMAND can either be a string or a lisp expression that evaluates
to a string.  If several COMMANDs are given, the first one will be the default
and the rest will be added temporarily to the history and can be retrieved
with \[previous-history-element] (M-p) .

You can set this variable in your ~/.emacs.  For example, to add rules for
`.foo' and `.bar' files, write

 (setq dired-guess-shell-alist-user
       (list (list "\\.foo$" "FOO-COMMAND");; fixed rule
              ;; possibly more rules ...
              (list "\\.bar$";; rule with condition test
                    '(if condition
                          "BAR-COMMAND-1"
                        "BAR-COMMAND-2"))))

(defvar dired-guess-shell-alist-user nil (#$ . 23884))
(defalias 'dired-guess-default #[(files) "\306\307	\n\"\f@\fA\306\f\306\306\2039 @\211\f@A\310\"\203 \fA\306\211\204 \203Q \310@\"\203Q A\211\204> ?\205Y \211A\204h \311@!\202m \312\311\".\207" [case-fold-search dired-guess-shell-alist-user dired-guess-shell-alist-default alist files file nil append string-match eval mapcar flist elt regexp cmds] 4])
(defalias 'dired-guess-shell-command #[(prompt files) "\306!\307\211\211\310\211\204 \311\307\211\211\312%\202_ \n<\2035 @\313\314\fG\"P\2028 C\315\f\n\"\n\313\316\"P\317\216\311\307\211\211\312%\307\n\320\232\203] \n)-\207" [files failed val old-history default-list default dired-guess-default nil t read-from-minibuffer dired-shell-command-history format "{%d guesses} " append "[%s] " ((byte-code "\n\204 	\242\232\204 	B\304\207" [old-history dired-shell-command-history failed val nil] 2)) "" prompt] 7])
(defalias 'dired-read-shell-command #[(prompt arg files) "\303\304\305\306\307	\310\n\"\"&\207" [files prompt arg dired-mark-pop-up nil shell dired-guess-shell-command format dired-mark-prompt] 10])
#@40 See variable `dired-keep-marker-move'.
(defvar dired-keep-marker-relsymlink 83 (#$ . 26046))
#@264 Three arguments: FILE1 FILE2 &optional OK-IF-ALREADY-EXISTS
Make a symbolic link (pointing to FILE1) in FILE2.
The link is relative (if possible), for example

    "/vol/tex/bin/foo" "/vol/local/bin/foo"

results in

    "../../tex/bin/foo" "/vol/local/bin/foo"

(defalias 'dired-make-relative-symlink #[(file1 file2 &optional ok-if-already-exists) "\306\211\211\211\307\306\310!\310!GG\306\311\312	#\211\203W T\211\203W \n^W\203W \307O\307O\230\203W \202# \307	O	\306O)\312\230\203s \202\256 	\306O\307\211\311\312#\211\203\232 TT\202\200 \307V\203\255 S\313P\202\232 +\314\315!\f#.\207" [sub index len2 len1 name2 name1 nil 0 expand-file-name string-match "/" "../" make-symbolic-link directory-file-name file1 file2 next count start tem ok-if-already-exists] 6 (#$ . 26146) "FRelSymLink: \nFRelSymLink %s: \np"])
#@265 Relative symlink all marked (or next ARG) files into a directory,
or make a relative symbolic link to the current file.
This creates relative symbolic links like

    foo -> ../bar/foo

not absolute ones like

    foo -> /ugly/path/that/may/change/any/day/bar/foo
(defalias 'dired-do-relsymlink #[(&optional arg) "\302\303\304\305	%\207" [arg dired-keep-marker-relsymlink dired-do-create-files relsymlink dired-make-relative-symlink "RelSymLink"] 6 (#$ . 27060) "P"])
#@139 RelSymlink all marked files containing REGEXP to NEWNAME.
See functions `dired-do-rename-regexp' and `dired-do-relsymlink'
for more info.
(defalias 'dired-do-relsymlink-regexp #[(regexp newname &optional whole-path) "\304\305\306\307	\n&\207" [regexp newname whole-path dired-keep-marker-relsymlink dired-do-create-files-regexp dired-make-relative-symlink "RelSymLink" nil] 8 (#$ . 27536) (dired-mark-read-regexp "RelSymLink")])
#@509 Find all marked files displaying all of them simultaneously.
With optional NOSELECT just find files but do not select them.

The current window is split across all files marked, as evenly as possible.
Remaining lines go to bottom-most window.  The number of files that can be
displayed this way is restricted by the height of the current window and
`window-min-height'.

To keep dired buffer displayed, type \[split-window-vertically] first.
To display just marked files, type \[delete-other-windows] first.
(defalias 'dired-do-find-marked-files #[(&optional noselect) "\301\302 \"\207" [noselect dired-simultaneous-find-file dired-get-marked-files] 3 (#$ . 27975) "P"])
(defalias 'dired-simultaneous-find-file #[(file-list noselect) "\304	\203 \305\n@!\210\202# \306 \nG\245X\204 \307\310!\210\311\n@!\210\nA\211\205J 	\2036 \305\n@!\210\202B \312\313\304\"!\210\311\n@!\210\nA\211\204* \304)\207" [size noselect file-list window-min-height nil find-file-noselect window-height error "Too many files to visit simultaneously.  Try C-u prefix." find-file select-window split-window] 5])
#@121 Run man on this file.  Display old buffer if buffer name matches filename.
Uses ../lisp/man.el of \[manual-entry] fame.
(defalias 'dired-man #[nil "\302\303!\210\304 \305\306	!*\207" [manual-program file require man dired-get-filename "nroff -man -h" Man-getpage-in-background] 2 (#$ . 29078) nil])
#@24 Run info on this file.
(defalias 'dired-info #[nil "\300\301 !\207" [info dired-get-filename] 2 (#$ . 29385) nil])
#@141 Run VM on this file.
With prefix arg, visit folder read-only (this requires at least VM 5).
See also variable `dired-vm-read-only-folders'.
(defalias 'dired-vm #[(&optional read-only) "\304 \305 \n\203 \306\307\"\210\2023 \307=\203  \306\307\"\210\2023 \204+ \306!\210\2023 \306\310!?\"\210\311\312!	L*\207" [fil dir read-only dired-vm-read-only-folders dired-current-directory dired-get-filename vm-visit-folder t file-writable-p make-local-variable vm-folder-directory] 4 (#$ . 29507) "P"])
#@25 Run RMAIL on this file.
(defalias 'dired-rmail #[nil "\300\301 !\207" [rmail dired-get-filename] 2 (#$ . 30016) nil])
#@77 If `dired-bind-vm' is t, then function `dired-vm', otherwise `dired-rmail'.
(defalias 'dired-do-run-mail #[nil "\203 \301 \207\302 \207" [dired-bind-vm dired-vm dired-rmail] 1 (#$ . 30140) nil])
(byte-code "\300\301!\204 \301\302KM\210\300\207" [fboundp dired-old-find-buffer-nocreate dired-find-buffer-nocreate] 2)
(defalias 'dired-find-buffer-nocreate #[(dirname &optional mode) "\2033 	\306	!\230\2033 p\307\310	!!\237\n>\205 \f	\232\311\n\"\312\313\"@\2061 \2051 \n+\207\314	\"\207" [dired-find-subdir dirname cur-buf buffers dired-directory cur-buf-matches file-name-directory dired-buffers-for-dir expand-file-name delq sort dired-buffer-more-recently-used-p dired-old-find-buffer-nocreate mode] 3])
#@57 Return t if BUFFER1 is more recently used than BUFFER2.
(defalias 'dired-buffer-more-recently-used-p #[(buffer1 buffer2) "	\232?\205) \304\305 \n\203' \n@\232\211\204' 	\n@\232\204' \nA\211\204 *\207" [buffer1 buffer2 list more-recent nil buffer-list] 3 (#$ . 30867)])
(defalias 'dired-initial-position #[(dirname) "\303\210\203 \304	!\210\n\205 \305 \207" [dired-find-subdir dirname dired-trivial-filenames nil dired-goto-subdir dired-goto-next-nontrivial-file] 2])
#@923 Mark files for which PREDICATE returns non-nil.
With a prefix arg, unflag those files instead.

PREDICATE is a lisp expression that can refer to the following symbols:

    inode  [integer] the inode of the file (only for ls -i output)
    s      [integer] the size of the file for ls -s output
                     (usually in blocks or, with -k, in KByte)
    mode   [string]  file permission bits, e.g. "-rw-r--r--"
    nlink  [integer] number of links to file
    uid    [string]  owner
    gid    [string]  group  (If the gid is not displayed by ls,
                     this will still be set (to the same as uid))
    size   [integer] file size in bytes
    time   [string]  the time that ls displays, e.g. "Feb 12 14:17"
    name   [string]  the name of the file
    sym    [string]  if file is a symbolic link, the linked-to name, else ""

For example, use

        (equal 0 size)

to mark all zero length files.
(defalias 'dired-mark-sexp #[(predicate &optional unflag-p) "\306\307\"\210	\203 \310\202 \n\311\211\211\211\211\211\211\211\211\211&'()*+,\311\211-.\212\312-\313\314\"\203C \306\315\313\314\"\"\210eb\210m\204\212\316 \205\365 \311\317\320/01\312y\210\321u\210\322/!\203 \312\225b\210\323\324\224\324\225{!,\323\321\224\321\225{!+\202\205 \311,\311+`0`\\{*0u\210\325p!)`T\324v\210`{(\326\327!\210\324\224b\210\330u\210\323\212\331\324!\210`\2111)`{!&1b\210\331\324!\210\212\324v\210`)`{'\324\224\316 S{`\332\333!\206\333 `{\322\334!\203\357 \335u\210`\311\210`{\202\360 \336+\337!)\203\340\324!\210\nc\210-T-\324y\210\202F \313\314\"\2038\306\341-\313\314\"\342-!\n\310=\203(\343\202)\336\n2=\2034\344\2025\345&\210)-\312V\205B-.\207" [predicate unflag-p dired-marker-char sym name time message "%s" 32 nil 0 format "'%s file" "Marking %ss..." dired-move-to-filename 10 "\\s *\\([0-9]*\\)\\s *\\([0-9]*\\) ?" 2 looking-at string-to-int 1 read re-search-forward "\\(Jan\\|Feb\\|Mar\\|Apr\\|May\\|Jun\\|Jul\\|Aug\\|Sep\\|Oct\\|Nov\\|Dec\\)" -1 backward-word dired-move-to-end-of-filename t " -> " 4 "" eval delete-char "%s %s%s %s%s." dired-plural-s "un" "flagged" "marked" size gid uid nlink mode s inode count buffer-read-only dired-re-inode-size mode-len pos dired-del-marker] 11 (#$ . 31353) "xMark if (lisp expr): \nP"])
#@239 *t means don't bind `dired-x-find-file' over `find-file' on keyboard.
Similarly for `dired-x-find-file-other-window' over `find-file-other-window'.
If you change this variable after dired-x.el is loaded then do
\[dired-x-bind-find-file].
(defvar dired-x-hands-off-my-keys t (#$ . -33669))
#@238 Bind `dired-x-find-file' in place of `find-file' (or reverse).
Similarly for `dired-x-find-file-other-window' and `find-file-other-window'.
Binding direction based on `dired-x-hands-off-my-keys'.
This function part of `after-init-hook'.
(defalias 'dired-x-bind-find-file #[nil "t\203	 \301\302!?\204 \303\304\305\306 #\210\303\307\310\306 #\210\202, \303\305\304\306 #\210\303\310\307\306 #\210\311\312!\207" [dired-x-hands-off-my-keys y-or-n-p "Bind dired-x-find-file over find-file? " substitute-key-definition find-file dired-x-find-file current-global-map find-file-other-window dired-x-find-file-other-window message nil] 4 (#$ . 33965) nil])
(byte-code "\300 \210\301\302\300\"\207" [dired-x-bind-find-file add-hook after-init-hook] 3)
#@398 Edit file FILENAME.
May create a new window, or reuse an existing one.
See the function `display-buffer'.

Identical to `find-file' except when called interactively, with a prefix arg
(e.g., \[universal-argument]), in which case it guesses filename near
point.  Useful for editing file mentioned in buffer you are viewing, or to
test if that file exists.  Use minibuffer after snatching filename.
(defalias 'dired-x-find-file #[(filename) "\301\302!!\207" [filename find-file expand-file-name] 3 (#$ . 34717) (list (read-filename-at-point "Find file: "))])
#@430 Edit file FILENAME, in another window.
May create a new window, or reuse an existing one.
See the function `display-buffer'.

Identical to `find-file-other-window' except when called interactively, with a
prefix arg (e.g., \[universal-argument]), in which case it guesses filename
near point.  Useful for editing file mentioned in buffer you are viewing, or
to test if that file exists.  Use minibuffer after snatching filename.
(defalias 'dired-x-find-file-other-window #[(filename) "\301\302!!\207" [filename find-file-other-window expand-file-name] 3 (#$ . 35282) (list (read-filename-at-point "Find file: "))])
(defalias 'dired-filename-at-point #[nil "\306\212\307y\210`)\212\310\210`)\310\211\211\212m\204- \311\312!\203- \313\310x\210o\204- \314\315!\210\316\317\320Q\321g!\"\203R \310x\210`\316\322\321h!\"\203K \nS\310w\210\202V \323\324!\210\325\n`{!.\207" [filename end start eol bol filename-chars ".a-zA-Z0-9---_/:$+" 0 nil looking-at "[] 	\n[{}()]" " \n	({[]})" backward-char 1 string-match "[" "]" char-to-string "[/~]" error "No file found around point!" expand-file-name] 6])
(defalias 'read-filename-at-point #[(prompt) "\203 \304 \305\n\306	!	\307\310	!%)\207\305\n\"\207" [current-prefix-arg guess prompt default-directory dired-filename-at-point read-file-name file-name-directory nil file-name-nondirectory] 7])
#@201 Revision number of dired-x.el -- dired extra for GNU Emacs v19.
Type \[dired-x-submit-report] to send a bug report.  Available via anonymous
ftp in

   /roebling.poly.edu:/pub/packages/dired-x.tar.gz
(defconst dired-x-version "2.37" (#$ . 36642))
#@60 Address(es) accepting submission of reports on dired-x.el.
(defconst dired-x-help-address "dodd@roebling.poly.edu" (#$ . 36895))
#@72 First name(s) of people accepting submission of reports on dired-x.el.
(defconst dired-x-maintainer "Larry" (#$ . 37030))
#@42 Name of file containing emacs lisp code.
(defconst dired-x-file "dired-x.el" (#$ . 37158))
#@78 List of variables to be appended to reports sent by `dired-x-submit-report.'
(defconst dired-x-variable-list (list 'dired-bind-vm 'dired-vm-read-only-folders 'dired-bind-jump 'dired-bind-info 'dired-bind-man 'dired-find-subdir 'dired-enable-local-variables 'dired-local-variables-file 'dired-guess-shell-gnutar 'dired-guess-shell-gzip-quiet 'dired-guess-shell-znew-switches 'dired-guess-shell-alist-user 'dired-clean-up-buffers-too 'dired-omit-files-p 'dired-omit-files 'dired-omit-extensions) (#$ . 37255))
#@223 Submit via reporter.el a bug report on program.  Send report on `dired-x-file'
version `dired-x-version,' to `dired-x-maintainer' at address `dired-x-help-address'
listing variables `dired-x-variable-list' in the message.
(defalias 'dired-x-submit-report #[nil "\300\301\302\217\207" [err (byte-code "\305\306!\210\307	\310\n\311R\312\211\f\313P&\207" [dired-x-help-address dired-x-file dired-x-version dired-x-variable-list dired-x-maintainer require reporter reporter-submit-bug-report " (" ")" nil ","] 8) ((error (byte-code "\300 \210\301\302!\207" [beep message "Sorry, reporter.el not found."] 2)))] 3 (#$ . 37770) nil])
(provide 'dired-x)
