;ELC ;;; compiled by jwz@thalidomide on Fri Dec 31 01:47:51 1993 ;;; from file /th/jwz/emacs19/lisp/dired/find-dired.el ;;; emacs version 19.9 Lucid (beta9). ;;; bytecomp version 2.22; 22-dec-93. ;;; 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 "This file was compiled for Emacs 19.")) (defconst find-dired-version (substring "!Revision: 1.14 !" 11 -2) "\ Id: find-dired.el,v 1.14 1992/04/16 14:22:07 sk RelBeta ") (byte-code "!!" [require dired provide find-dired] 2) (defvar find-ls-option (byte-code " =ê!" [purecopy system-type berkeley-unix "-ls" "-exec ls -ldi {} \\;"] 3) "\ *Option to `find' to produce an `ls -l'-type listing.") (defvar find-grep-options (byte-code " =ê!" [purecopy system-type berkeley-unix "-s" "-l"] 3) "\ *Option to grep to be as silent as possible. On Berkeley systems, this is `-s', for others it seems impossible to suppress all output, so `-l' is used to print nothing more than the file name.") (defvar find-args nil "\ Last arguments given to `find' by \\[find-dired].") (fset 'find-dired #[(dir args) "\n!!\n!\n\"!!~  \n јѪQQ\n\"! ! BCL \nݱޱp#\"p!\"'" [file-name-as-directory expand-file-name dir file-directory-p error "find-dired needs a directory: %s" switch-to-buffer get-buffer-create "*Find*" kill-all-local-variables nil buffer-read-only erase-buffer default-directory args find-args "find . " "" "\\( " " \\) " find-ls-option dired-mode "-gilsb" fboundp dired-simple-subdir-alist make-local-variable dired-subdir-alist point-min-marker " " ":\n" "\n" set-process-filter start-process-shell-command "find" find-dired-filter set-process-sentinel get-buffer-process find-dired-sentinel (": %s") mode-line-process] 5 "\ Run `find' and go into dired-mode on a buffer of the output. The command run (after changing into DIR) is find . \\( ARGS \\) -ls" (byte-code "$!\" \"D" [read-file-name "Run find in directory: " nil "" t featurep gmhist read-with-history-in find-args-history "Run find (with args): " read-string find-args] 5)]) (fset 'find-name-dired #[(dir pattern) " Q\"" [find-dired dir "-name '" pattern "'"] 5 "\ Search DIR recursively for files matching the globbing pattern PATTERN, and run dired on those files. PATTERN is a shell wildcard (not an Emacs regexp) and need not be quoted. The command run (after changing into DIR) is find . -name 'PATTERN' -ls" "DFind-name (directory): \nsFind-name (filename wildcard): "]) (fset 'lookfor-dired 'find-grep-dired) (fset 'find-grep-dired #[(dir args) " ư\"" [find-dired dir "-exec grep " find-grep-options " " args " {} \\; "] 7 "\ Find files in DIR containing a regexp ARG and start Dired on output. The command run (after changing into DIR) is find . -exec grep -s ARG {} \\; -ls Thus ARG can also contain additional grep options." "DFind-grep (directory): \nsFind-grep (grep args): "]) (byte-code "MM!M" [find-dired-filter #[(proc string) " !\n!Ê\nq~d bc b!y!cys Zb#``Z|q- !)" [process-buffer proc buf buffer-name nil end buffer-read-only string looking-at "^" 1 " " 3 search-forward " ./" t 2 delete-process] 4] find-dired-sentinel #[(proc state) " !\n!\nqp\"))" [process-buffer proc buf buffer-name nil mode-line-process message "find-dired %s finished."] 3] fboundp start-process-shell-command #[(name buffer &rest args) "= $ #P%" [system-type vax-vms apply start-process name buffer args shell-file-name "-c" "exec " mapconcat identity " "] 10 "Start a program in a subprocess. Return the process object for it.\nArgs are NAME BUFFER COMMAND &rest COMMAND-ARGS.\nNAME is name for process. It is modified if necessary to make it unique.\nBUFFER is the buffer or (buffer-name) to associate with the process.\n Process output goes at end of that buffer, unless you specify\n an output stream or filter function to handle the output.\n BUFFER may be also nil, meaning that this process is not associated\n with any buffer\nThird arg is command name, the name of a shell command.\nRemaining arguments are the arguments for the command.\nWildcards and redirection are handle as usual in the shell."]] 2)