home *** CD-ROM | disk | FTP | other *** search
-
- (provide (quote dired))
-
- (defconst dired-version (substring "$Revision: 4.53 $" 11 -2) "\
- The revision number of dired (as string). The complete RCS id is:
-
- $Id: dired.el,v 4.53 90/12/21 12:09:56 sk Exp $
-
- Don't forget to mention this when reporting bugs.")
-
- (require (quote emacs-19))
-
- (defvar dired-chmod-program "chmod" "\
- Pathname of chmod command.")
-
- (defvar dired-chgrp-program "chgrp" "\
- Pathname of chgrp command.")
-
- (defvar dired-chown-program (if (memq system-type (quote (hpux usg-unix-v))) "/bin/chown" "/etc/chown") "\
- Pathname of chown command.")
-
- (defvar dired-ls-program "ls" "\
- *Absolute or relative name of the ls program used by dired.")
-
- (defvar dired-ls-F-marks-symlinks nil "\
- *Set this to t if dired-ls-program with -lF marks the symbolic link
- itself with a trailing @ (usually the case under Ultrix).
-
- Example: if `ln -s foo bar; ls -F bar' gives `bar -> foo', set it to
- nil (the default), if it gives `bar@ -> foo', set it to t.
-
- Dired checks if there is really a @ appended. Thus, if you have a
- marking ls program on one host and a non-marking on another host, and
- don't care about symbolic links which really contain a trailing @, you
- can always set this variable to t.")
-
- (defvar dired-directory nil "\
- The directory name or shell wildcard passed as argument to ls.
- Local to each dired buffer.")
-
- (defvar dired-actual-switches nil "\
- The actual (buffer-local) value of dired-listing-switches.")
-
- (defvar dired-re-inode-size "\\s *[0-9]*\\s *[0-9]* ?")
-
- (defconst dired-re-mark "^[^
- ]")
-
- (defconst dired-re-maybe-mark "^. ")
-
- (defconst dired-re-dir (concat dired-re-maybe-mark dired-re-inode-size "d[-r]"))
-
- (defconst dired-re-sym (concat dired-re-maybe-mark dired-re-inode-size "l[-r]"))
-
- (defconst dired-re-exe (mapconcat (function (lambda (x) (concat dired-re-maybe-mark dired-re-inode-size x))) (quote ("-[-r][-w][xs][-r][-w].[-r][-w]." "-[-r][-w].[-r][-w][xs][-r][-w]." "-[-r][-w].[-r][-w].[-r][-w][xst]")) "\\|"))
-
- (defconst dired-re-dot "^.* \\.\\.?$")
-
- (defvar dired-mark-prefix "" "\
- *Prepended to marked files.")
-
- (defvar dired-mark-postfix "" "\
- *Appended to marked files.")
-
- (defvar dired-mark-separator " " "\
- *Separates marked files.")
-
- (defvar dired-background-prompt "Background shell command on %s: " "\
- *Format string for \\[dired-mark-background-shell-command] prompt.")
-
- (defvar dired-shell-prompt "Shell command on %s: " "\
- *Format string for \\[dired-mark-shell-command] prompt.")
-
- (defvar shell-maximum-command-length 10000 "\
- *If non-nil, maximum number of bytes a dired shell command can have
- before the user is asked for confirmation.")
-
- (defvar dired-print-command "print %s" "\
- Format string for shell command to print files in dired.
- Can actually be used for any special purpose shell command to be run
- by \\[dired-mark-print].")
-
- (defvar dired-trivial-filenames "^\\.\\.?$\\|^#" "\
- *Regexp of files to skip when moving point to the first file of a
- new directory listing.
- Nil means move to the subdir line, t means move to first file.")
-
- (defvar dired-basename-regexp "\\(.+\\)\\.\\(.+\\)$")
-
- (or (fboundp (quote dired-yes)) (fset (quote dired-yes) (quote yes-or-no-p)))
-
- (defvar dired-load-hook nil "\
- Run after loading dired.
- You can customize key bindings or load extensions with this.")
-
- (defvar dired-mode-hook nil "\
- Run in each new dired buffer.")
-
- (defvar dired-readin-hook nil "\
- After each listing of a file or directory, this hook is run
- with the buffer narrowed to the listing.")
-
- (defvar dired-mark-count 0 "\
- Count of marked files as determined by the last dired-mark-get-files.")
-
- (defvar dired-mark-files nil "\
- List of marked files as determined by the last dired-mark-get-files.")
-
- (defvar dired-flagging-regexp nil "\
- Last regexp used in flagging files.")
-
- (defmacro dired-count-up nil (byte-code "└ç" [(setq dired-mark-count (1+ dired-mark-count))] 1))
-
- (defun dired-plural-s nil (byte-code "┴Uâ