Mercurial > emacs
comparison lisp/dired-x.el @ 13975:29c3e270ba53
(dired-mark-sexp): Doc fix.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Thu, 04 Jan 1996 23:32:11 +0000 |
parents | d9bf85b9c19e |
children | 83f275dcd93a |
comparison
equal
deleted
inserted
replaced
13974:37cfc82fe02d | 13975:29c3e270ba53 |
---|---|
888 ;;; * If the REGEXP matches all the entries of the file list then evaluate | 888 ;;; * If the REGEXP matches all the entries of the file list then evaluate |
889 ;;; COMMAND, which is either a string or a Lisp expression returning a | 889 ;;; COMMAND, which is either a string or a Lisp expression returning a |
890 ;;; string. COMMAND may be a list of commands. | 890 ;;; string. COMMAND may be a list of commands. |
891 ;;; | 891 ;;; |
892 ;;; * Return this command to `dired-guess-shell-command' which prompts user | 892 ;;; * Return this command to `dired-guess-shell-command' which prompts user |
893 ;;; with it. The list of commands are temporaily put into the history list. | 893 ;;; with it. The list of commands is temporarily put into the history list. |
894 ;;; If a command is used successfully then it is stored permanently in | 894 ;;; If a command is used successfully then it is stored permanently in |
895 ;;; `dired-shell-command-history'. | 895 ;;; `dired-shell-command-history'. |
896 | 896 |
897 ;;; Guess what shell command to apply to a file. | 897 ;;; Guess what shell command to apply to a file. |
898 (defvar dired-shell-command-history nil | 898 (defvar dired-shell-command-history nil |
1142 (< next (min len1 len2)) | 1142 (< next (min len1 len2)) |
1143 ;; For the comparison, both substrings must end in | 1143 ;; For the comparison, both substrings must end in |
1144 ;; `/', so NEXT is *one plus* the result of the | 1144 ;; `/', so NEXT is *one plus* the result of the |
1145 ;; string-match. | 1145 ;; string-match. |
1146 ;; E.g., consider the case of linking "/tmp/a/abc" | 1146 ;; E.g., consider the case of linking "/tmp/a/abc" |
1147 ;; to "/tmp/abc" erronously giving "/tmp/a" instead | 1147 ;; to "/tmp/abc" erroneously giving "/tmp/a" instead |
1148 ;; of "/tmp/" as common initial component | 1148 ;; of "/tmp/" as common initial component |
1149 (string-equal (substring file1 0 next) | 1149 (string-equal (substring file1 0 next) |
1150 (substring file2 0 next))) | 1150 (substring file2 0 next))) |
1151 (setq index next)) | 1151 (setq index next)) |
1152 (setq name2 file2 | 1152 (setq name2 file2 |
1412 | 1412 |
1413 PREDICATE is a lisp expression that can refer to the following symbols: | 1413 PREDICATE is a lisp expression that can refer to the following symbols: |
1414 | 1414 |
1415 inode [integer] the inode of the file (only for ls -i output) | 1415 inode [integer] the inode of the file (only for ls -i output) |
1416 s [integer] the size of the file for ls -s output | 1416 s [integer] the size of the file for ls -s output |
1417 (ususally in blocks or, with -k, in KByte) | 1417 (usually in blocks or, with -k, in KByte) |
1418 mode [string] file permission bits, e.g. \"-rw-r--r--\" | 1418 mode [string] file permission bits, e.g. \"-rw-r--r--\" |
1419 nlink [integer] number of links to file | 1419 nlink [integer] number of links to file |
1420 uid [string] owner | 1420 uid [string] owner |
1421 gid [string] group (If the gid is not displayed by ls, | 1421 gid [string] group (If the gid is not displayed by ls, |
1422 this will still be set (to the same as uid)) | 1422 this will still be set (to the same as uid)) |