;ELC ;;; compiled by roland@churchy.gnu.ai.mit.edu on Mon May 29 16:35:43 1995 ;;; from file /gd/gnu/emacs/19.0/lisp/dired-x.el ;;; emacs version 19.28.92.2. ;;; bytecomp version FSF 2.10 ;;; optimization is on. ;;; this file uses opcodes which do not exist in Emacs 18. (if (and (boundp 'emacs-version) (or (and (boundp 'epoch::version) epoch::version) (string-lessp emacs-version "19"))) (error "`/gd/gnu/emacs/19.0/lisp/dired-x.el' was compiled for Emacs 19")) (byte-code "!!" [require dired dired-aux] 2) #@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. (defvar dired-bind-vm nil (#$ . -540)) #@57 *t says bind `dired-jump' to C-x C-j, otherwise do not. (defvar dired-bind-jump t (#$ . -765)) #@66 *t says bind `dired-man' to "N" in dired-mode, otherwise do not. (defvar dired-bind-man t (#$ . -866)) #@67 *t says bind `dired-info' to "I" in dired-mode, otherwise do not. (defvar dired-bind-info t (#$ . -975)) #@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. (defvar dired-vm-read-only-folders nil (#$ . -1087)) #@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'. (defvar dired-omit-files-p nil (#$ . -1364)) (make-variable-buffer-local (quote dired-omit-files-p)) #@273 *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 `.', `..', and auto-save files. (defvar dired-omit-files "^#\\|^\\.$\\|^\\.\\.$" (#$ . -1725)) #@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. (defvar dired-find-subdir nil (#$ . -2067)) #@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'. (defvar dired-enable-local-variables t (#$ . -2534)) #@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. (defvar dired-guess-shell-gnutar nil (#$ . -2925)) #@68 *non-nil says pass -q to gzip overriding verbose GZIP environment. (defvar dired-guess-shell-gzip-quiet t (#$ . -3188)) #@70 *If non-nil, then string of switches passed to `znew', example: "-K" (defvar dired-guess-shell-znew-switches nil (#$ . -3314)) #@73 *t says offer to kill buffers visiting files and dirs deleted in dired. (defvar dired-clean-up-buffers-too t (#$ . -3447)) (byte-code " # # # # # # # # # # #M #X #k##\"\"" [define-key dired-mode-map "" dired-omit-toggle "" dired-mark-sexp "" dired-smart-shell-command "T" dired-do-toggle "w" dired-copy-filename-as-kill "" dired-goto-file "" dired-goto-subdir "F" dired-do-find-marked-files "Y" dired-do-relsymlink "%Y" dired-do-relsymlink-regexp "V" dired-do-run-mail dired-bind-man "N" dired-man dired-bind-info "I" dired-info dired-bind-jump global-map "\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) #@1155 Automatically put on dired-mode-hook to get extra dired features: \ \[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-do-toggle] -- toggle marks \[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-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 " " [dired-hack-local-variables dired-omit-startup] 1 (#$ . 4240) nil]) (defalias 'dired-clean-up-after-deletion #[(fn) "A\n! )\ff\n!/\n!\"!/!))\n!!eG!\n!#!ee@!)AS*" [dired-subdir-alist dired-goto-subdir fn dired-kill-subdir dired-clean-up-buffers-too get-file-buffer buf y-or-n-p format "Kill buffer of %s, too? " file-name-nondirectory kill-buffer dired-buffers-for-dir expand-file-name nil buf-list "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) "<C#R\"" [extension dired-mark-files-regexp "." "\\(" mapconcat regexp-quote "\\|" "\\)$" marker-char] 7 (#$ . 5967) "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) " \n\"" [dired-mark-extension extension dired-del-marker] 3 (#$ . 6331) "sFlagging extension: "]) #@73 List of extensions of dispensable files created by the `patch' program. (defvar dired-patch-unclean-extensions (quote (".rej" ".orig")) (#$ . 6609)) #@57 List of extensions of dispensable files created by TeX. (defvar dired-tex-unclean-extensions (quote (".toc" ".log" ".aux")) (#$ . 6764)) #@59 List of extensions of dispensable files created by LaTeX. (defvar dired-latex-unclean-extensions (quote (".idx" ".lof" ".lot" ".glo")) (#$ . 6907)) #@60 List of extensions of dispensable files created by BibTeX. (defvar dired-bibtex-unclean-extensions (quote (".blg" ".bbl")) (#$ . 7061)) #@61 List of extensions of dispensable files created by texinfo. (defvar dired-texinfo-unclean-extensions (quote (".cp" ".cps" ".fn" ".fns" ".ky" ".kys" ".pg" ".pgs" ".tp" ".tps" ".vr" ".vrs")) (#$ . 7203)) #@102 Flag dispensable files created by patch for deletion. See variable `dired-patch-unclean-extensions'. (defalias 'dired-clean-patch #[nil " !" [dired-flag-extension dired-patch-unclean-extensions] 2 (#$ . 7412) 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 "\n \f $!" [dired-flag-extension append dired-texinfo-unclean-extensions dired-latex-unclean-extensions dired-bibtex-unclean-extensions dired-tex-unclean-extensions] 6 (#$ . 7636) 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 "\n \f C%!" [dired-flag-extension append dired-texinfo-unclean-extensions dired-latex-unclean-extensions dired-bibtex-unclean-extensions dired-tex-unclean-extensions ".dvi"] 7 (#$ . 8084) 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) "\f !  =.  !\f![\f!!\f![ :\f!>\f! [ ![! ![ !! !*" [buffer-file-name file file-name-directory default-directory dir major-mode dired-mode dired-current-directory dired-up-directory other-window dired-goto-file dired-insert-subdir dired-other-window dired dired-omit-toggle t] 4 (#$ . 8554) "P"]) #@54 Like \[dired-jump] (dired-jump) but in other window. (defalias 'dired-jump-other-window #[nil "!" [dired-jump t] 2 (#$ . 9236) nil]) #@222 Run dired on parent directory of current directory. Find the parent directory either in this buffer or another buffer. Finds in current window or in other window with optional OTHER-WINDOW. Creates a buffer if necessary. (defalias 'dired-up-directory #[(&optional other-window) "  !! !!0A\f!0)\f!-\f! !*" [dired-current-directory dir file-name-directory directory-file-name up dired-goto-file dired-subdir-alist dired-goto-subdir other-window dired-other-window dired] 3 (#$ . 9379) "P"]) #@217 Toggle marks. That is, currently marked files become unmarked and vice versa. Files marked with other flags (such as `D') are not affected. `.' and `..' are never toggled. As always, hidden subdirs are not affected. (defalias 'dired-do-toggle #[nil "ebm?4 .\f!.``Tg=(D,D$y*" [nil buffer-read-only dired-between-files looking-at dired-re-dot apply subst-char-in-region 32 dired-marker-char 1] 6 (#$ . 9904) 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) " / * !U - $ \"-!-!#\n\n!\n\")" [dired-get-subdir mapconcat identity arg prefix-numeric-value 0 dired-get-marked-files no-dir t " " string kill-new message "%s"] 5 (#$ . 10355) "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 (quote no-dir) (#$ . 11038)) #@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 (#$ . 11325)) (defalias 'dired-omit-startup #[nil " \f \"" [dired-omit-files-p minor-mode-alist 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) " ? ĉ $ ? " [flag dired-omit-files-p dired-mark-unmarked-files dired-omit-regexp nil dired-omit-localp revert-buffer dired-omit-expunge] 6 (#$ . 11616) "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) (#$ . 12119)) #@412 Erases all unmarked files matching REGEXP. Does nothing if global variable `dired-omit-files-p' is nil. 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) "P \n Ș; \n!ĉ$6\" :!)Leb#)! +" [dired-omit-files-p regexp dired-omit-regexp buffer-modified-p nil count old-modified-p omit-re "" dired-omit-marker-char dired-marker-char message "Omitting..." dired-mark-unmarked-files dired-omit-localp dired-do-kill-lines "Omitted %d line%s." force-mode-line-update "(Nothing to omit)" set-buffer-modified-p re-search-forward dired-re-mark t] 6 (#$ . 12675) "sOmit files (regexp): "]) (defalias 'dired-omit-regexp #[nil " Q\f\fł\f)\f#R*Q" [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) " \n ʼn  \" \"ebma![\"@\")[g\n\"[`Tg\n$Ty%  !\n=zق{\n=܂&)V-" [unflag-p 32 dired-marker-char msg 0 nil buffer-read-only pt count msg message "Marking %ss..." looking-at " " dired-get-filename localp t fn string-match regexp char-equal subst-char-in-region 1 "%s %s%s %s%s." dired-plural-s "un" "" dired-del-marker "flagged" "marked"] 9 (#$ . 13806) "P"]) (defalias 'dired-omit-new-add-entry #[(filename &optional marker-char) "? Ø3\n =/ ='!/!\"\"< \"=) \"" [dired-omit-files-p dired-omit-regexp omit-re "" string-match dired-omit-localp no-dir filename t dired-make-relative dired-make-absolute file-name-directory dired-omit-old-add-entry marker-char] 7]) (byte-code "! KMMM" [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 \\[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!ed#\f \f!!eby!1ʕ`{)\f>\f \")eb !M !\fV\"!L eb\f!" [looking-at " " indent-region 2 dirname default-directory expand-file-name file-name-as-directory 1 "^ wildcard " 0 nil wildcard dired-subdir-regexp dired-insert-headerline dired-mode switches dired-listing-switches "Virtual Dired" mode-name dired-virtual-revert revert-buffer-function make-local-variable dired-subdir-alist dired-build-subdir-alist dired-initial-position] 5 (#$ . 15098) (list (read-string "Virtual Dired directory: " (dired-virtual-guess-dir)))]) (defalias 'dired-virtual-guess-dir #[nil "eb !\n\n{ !)1 #0\n\n{!!!1*" ["^\\( \\)?\\([^ \n ]*\\)\\(:\\)[\n ]" 2 subexpr regexp looking-at dir file-name-as-directory re-search-forward nil t file-name-directory directory-file-name] 5]) (defalias 'dired-virtual-revert #[(&optional arg noconfirm) "!\n! " [y-or-n-p "Cannot revert a Virtual Dired buffer - switch to Real Dired mode? " error "Cannot revert a Virtual Dired buffer." "Dired" mode-name dired-revert revert-buffer-function 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 " !" [dired-virtual dired-virtual-guess-dir] 2 (#$ . 17108) 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 (quote ((dired-mode if (fboundp (quote dired-current-directory)) (dired-current-directory) default-directory))) (#$ . 17624)) #@127 Usage like variable `default-directory', but knows about the special cases in variable `default-directory-alist' (which see). (defalias 'default-directory #[nil " \nA!\n " [eval major-mode default-directory-alist default-directory] 3 (#$ . 17954)]) #@73 Like function `shell-command', but in the current Tree Dired directory. (defalias 'dired-smart-shell-command #[(cmd &optional insert) " \n \")" [default-directory shell-command cmd insert] 3 (#$ . 18214) "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 ".dired" (#$ . 18453)) #@76 Evaluate local variables in `dired-local-variables-file' for dired buffer. (defalias 'dired-hack-local-variables #[nil "2;2!2d bc!) ) d|+" [dired-local-variables-file file-exists-p nil dired-enable-local-variables enable-local-variables buffer-read-only opoint "\f\n" insert-file-contents buffer-file-name hack-local-variables dired-sort-set-modeline] 3 (#$ . 18821)]) #@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 " ! \"!q c !p!) " [file-exists-p dired-local-variables-file 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 (#$ . 19231) nil]) #@59 History list for commands that read dired-shell commands. (defvar dired-shell-command-history nil (#$ . 19727)) #@83 Default alist used for shell command guessing. See `dired-guess-shell-alist-user' (defvar dired-guess-shell-alist-default (byte-code "DEEEEEDE\"" ["\\.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) "\\.tar\\.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") ("\\.ps$" "ghostview" "xv" "lpr") "\\.ps.g?z$" "gunzip -qc * | ghostview -" (concat "gunzip" (if dired-guess-shell-gzip-quiet " -q")) "\\.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") ("\\.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)] 36) (#$ . 19845)) #@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 (#$ . 21721)) (defalias 'dired-guess-default #[(files) " \f\"@A \n = @ @\n A\n\" A U\n@\"UAB?]  Al @!q \"." [nil case-fold-search append dired-guess-shell-alist-user dired-guess-shell-alist-default alist files file flist elt regexp cmds string-match eval mapcar] 4]) (defalias 'dired-guess-shell-command #[(prompt files) " !‰\n‰%n  ../bar/foo not absolute ones like foo -> /ugly/path/that/may/change/any/day/bar/foo (defalias 'dired-do-relsymlink #[(&optional arg) "\f %" [dired-do-create-files relsymlink dired-make-relative-symlink "RelSymLink" arg dired-keep-marker-relsymlink] 6 (#$ . 24579) "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) "\f &" [dired-do-create-files-regexp dired-make-relative-symlink "RelSymLink" nil regexp newname whole-path dired-keep-marker-relsymlink] 8 (#$ . 25041) (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) " \n\"" [dired-simultaneous-find-file dired-get-marked-files noselect] 3 (#$ . 25467) "P"]) (defalias 'dired-simultaneous-find-file #[(file-list noselect) "\n\f@!$ \fG X!\f@!\fAK\n7\f@!C \"!\f@!\fA+)" [nil size noselect find-file-noselect file-list window-height window-min-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 "!  !*" [require man dired-get-filename "nroff -man -h" manual-program file Man-getpage-in-background] 2 (#$ . 26478) nil]) #@24 Run info on this file. (defalias 'dired-info #[nil " !" [info dired-get-filename] 2 (#$ . 26764) 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) " \f\n\"5=!\n\"5-\n!5\n\n!?\"! L*" [dired-current-directory dired-get-filename fil dir read-only vm-visit-folder t dired-vm-read-only-folders file-writable-p make-local-variable vm-folder-directory] 4 (#$ . 26877) "P"]) #@25 Run RMAIL on this file. (defalias 'dired-rmail #[nil " !" [rmail dired-get-filename] 2 (#$ . 27324) nil]) #@77 If `dired-bind-vm' is t, then function `dired-vm', otherwise `dired-rmail'. (defalias 'dired-do-run-mail #[nil " " [dired-bind-vm dired-vm dired-rmail] 1 (#$ . 27439) nil]) (byte-code "! KM" [fboundp dired-old-find-buffer-nocreate dired-find-buffer-nocreate] 2) (defalias 'dired-find-buffer-nocreate #[(dirname) "; !;p !! >!  \"\"@99 + !" [dired-find-subdir dirname file-name-directory cur-buf dired-buffers-for-dir expand-file-name buffers dired-directory cur-buf-matches delq sort dired-buffer-more-recently-used-p dired-old-find-buffer-nocreate] 3]) #@57 Return t if BUFFER1 is more recently used than BUFFER2. (defalias 'dired-buffer-more-recently-used-p #[(buffer1 buffer2) " ?) \f'\f@' \f@'\fA *" [buffer1 buffer2 nil buffer-list list more-recent] 3 (#$ . 28057)]) (defalias 'dired-initial-position #[(dirname) " !\f " [nil dired-find-subdir dired-goto-subdir dirname dired-trivial-filenames dired-goto-next-nontrivial-file] 2]) #@924 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 (ususally 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) "\n\" Ă Ɖ \n \f \n\"ƉH\"ebm yu!ӕb{!ߔߕ{!``\\{up! `v`{\f!bu!`)`{!\nb!v`)`{ S{ `!`{!u``{+\n!)g \"`Tg $TyKF! =67 3=BC&)VP." [message "%s" predicate unflag-p 32 dired-marker-char nil sym name time size gid uid nlink mode s inode format "'%s file" 0 buffer-read-only pt count msg "Marking %ss..." dired-move-to-filename 10 "\\s *\\([0-9]*\\)\\s *\\([0-9]*\\) ?" dired-re-inode-size mode-len pos 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 char-equal subst-char-in-region "%s %s%s %s%s." dired-plural-s "un" dired-del-marker "flagged" "marked"] 11 (#$ . 28480) "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 (#$ . -30440)) #@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 !?\n # #, # #!" [y-or-n-p "Bind dired-x-find-file over find-file? " dired-x-hands-off-my-keys 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 (#$ . 30736) nil]) (byte-code " \"" [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) "\n!!" [find-file expand-file-name filename] 3 (#$ . 31387) (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) "\n!!" [find-file-other-window expand-file-name filename] 3 (#$ . 31944) (list (read-filename-at-point "Find file: "))]) (defalias 'dired-filename-at-point #[nil "y`)`)‰m0!0xo0!Qg!\"Xx`h!\"P Sw\\! `{!." [".a-zA-Z0-9---_/:$+" 0 nil filename end start eol bol filename-chars 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) " \f\n!\n\n!%)\f\"" [current-prefix-arg dired-filename-at-point guess read-file-name prompt file-name-directory nil file-name-nondirectory default-directory] 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" (#$ . 33155)) #@60 Address(es) accepting submission of reports on dired-x.el. (defconst dired-x-help-address "dodd@roebling.poly.edu" (#$ . 33408)) #@72 First name(s) of people accepting submission of reports on dired-x.el. (defconst dired-x-maintainer "Larry" (#$ . 33543)) #@42 Name of file containing emacs lisp code. (defconst dired-x-file "dired-x.el" (#$ . 33671)) #@78 List of variables to be appended to reports sent by `dired-x-submit-report.' (defconst dired-x-variable-list (list (quote dired-bind-vm) (quote dired-vm-read-only-folders) (quote dired-bind-jump) (quote dired-bind-info) (quote dired-bind-man) (quote dired-find-subdir) (quote dired-enable-local-variables) (quote dired-local-variables-file) (quote dired-guess-shell-gnutar) (quote dired-guess-shell-gzip-quiet) (quote dired-guess-shell-znew-switches) (quote dired-guess-shell-alist-user) (quote dired-clean-up-buffers-too) (quote dired-omit-files-p) (quote dired-omit-files) (quote dired-omit-extensions)) (#$ . 33768)) #@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 "" [err (byte-code "! \fRɉ\nP&" [require reporter reporter-submit-bug-report dired-x-help-address dired-x-file " (" dired-x-version ")" dired-x-variable-list nil dired-x-maintainer ","] 8) ((error (byte-code " !" [beep message "Sorry, reporter.el not found."] 2)))] 3 (#$ . 34395) nil]) (provide (quote dired-x))