diff options
| author | Lars Magne Ingebrigtsen | 2011-07-06 19:10:36 +0200 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2011-07-06 19:10:36 +0200 |
| commit | a48868a7d83a1f0ec2297cc254abaae176233d79 (patch) | |
| tree | 918ba26b7c78445a60fa447cef3b0ff29e16f580 | |
| parent | 84e04a29b9fddf5c5ede9873aa0356cd13af6f41 (diff) | |
| download | emacs-a48868a7d83a1f0ec2297cc254abaae176233d79.tar.gz emacs-a48868a7d83a1f0ec2297cc254abaae176233d79.zip | |
* dired.el (dired-mode): Clarify "unmark or unflag".
(dired-unmark-backward): Ditto.
(dired-flag-backup-files): Ditto.
* dired-x.el (dired-mark-sexp): Ditto.
Fixes: debbugs:8770
| -rw-r--r-- | lisp/ChangeLog | 8 | ||||
| -rw-r--r-- | lisp/dired-x.el | 2 | ||||
| -rw-r--r-- | lisp/dired.el | 17 |
3 files changed, 18 insertions, 9 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6625790370e..5dcdbad05b5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770). | ||
| 4 | (dired-unmark-backward): Ditto. | ||
| 5 | (dired-flag-backup-files): Ditto. | ||
| 6 | |||
| 7 | * dired-x.el (dired-mark-sexp): Ditto. | ||
| 8 | |||
| 1 | 2011-07-06 Richard Stallman <rms@gnu.org> | 9 | 2011-07-06 Richard Stallman <rms@gnu.org> |
| 2 | 10 | ||
| 3 | * mail/rmailmm.el: Give entity a new slot, TRUNCATED. | 11 | * mail/rmailmm.el: Give entity a new slot, TRUNCATED. |
diff --git a/lisp/dired-x.el b/lisp/dired-x.el index ca89d07ea7f..8395a8b905f 100644 --- a/lisp/dired-x.el +++ b/lisp/dired-x.el | |||
| @@ -1406,7 +1406,7 @@ Considers buffers closer to the car of `buffer-list' to be more recent." | |||
| 1406 | 1406 | ||
| 1407 | (defun dired-mark-sexp (predicate &optional unflag-p) | 1407 | (defun dired-mark-sexp (predicate &optional unflag-p) |
| 1408 | "Mark files for which PREDICATE returns non-nil. | 1408 | "Mark files for which PREDICATE returns non-nil. |
| 1409 | With a prefix arg, unflag those files instead. | 1409 | With a prefix arg, unmark or unflag those files instead. |
| 1410 | 1410 | ||
| 1411 | PREDICATE is a lisp expression that can refer to the following symbols: | 1411 | PREDICATE is a lisp expression that can refer to the following symbols: |
| 1412 | 1412 | ||
diff --git a/lisp/dired.el b/lisp/dired.el index 477baa24da1..62bab489fbc 100644 --- a/lisp/dired.el +++ b/lisp/dired.el | |||
| @@ -1812,7 +1812,7 @@ Type \\[dired-mark] to Mark a file or subdirectory for later commands. | |||
| 1812 | Mark-using commands display a list of failures afterwards. Type \\[dired-summary] | 1812 | Mark-using commands display a list of failures afterwards. Type \\[dired-summary] |
| 1813 | to see why something went wrong. | 1813 | to see why something went wrong. |
| 1814 | Type \\[dired-unmark] to Unmark a file or all files of an inserted subdirectory. | 1814 | Type \\[dired-unmark] to Unmark a file or all files of an inserted subdirectory. |
| 1815 | Type \\[dired-unmark-backward] to back up one line and unflag. | 1815 | Type \\[dired-unmark-backward] to back up one line and unmark or unflag. |
| 1816 | Type \\[dired-do-flagged-delete] to delete (eXecute) the files flagged `D'. | 1816 | Type \\[dired-do-flagged-delete] to delete (eXecute) the files flagged `D'. |
| 1817 | Type \\[dired-find-file] to Find the current line's file | 1817 | Type \\[dired-find-file] to Find the current line's file |
| 1818 | (or dired it in another buffer, if it is a directory). | 1818 | (or dired it in another buffer, if it is a directory). |
| @@ -3028,8 +3028,9 @@ If on a subdir headerline, mark all its files except `.' and `..'." | |||
| 3028 | (dired-mark arg))) | 3028 | (dired-mark arg))) |
| 3029 | 3029 | ||
| 3030 | (defun dired-unmark-backward (arg) | 3030 | (defun dired-unmark-backward (arg) |
| 3031 | "In Dired, move up lines and remove deletion flag there. | 3031 | "In Dired, move up lines and remove marks or deletion flags there. |
| 3032 | Optional prefix ARG says how many lines to unflag; default is one line." | 3032 | Optional prefix ARG says how many lines to unmark/unflag; default |
| 3033 | is one line." | ||
| 3033 | (interactive "p") | 3034 | (interactive "p") |
| 3034 | (dired-unmark (- arg))) | 3035 | (dired-unmark (- arg))) |
| 3035 | 3036 | ||
| @@ -3123,14 +3124,14 @@ The match is against the non-directory part of the filename. Use `^' | |||
| 3123 | 3124 | ||
| 3124 | (defun dired-mark-symlinks (unflag-p) | 3125 | (defun dired-mark-symlinks (unflag-p) |
| 3125 | "Mark all symbolic links. | 3126 | "Mark all symbolic links. |
| 3126 | With prefix argument, unflag all those files." | 3127 | With prefix argument, unmark or unflag all those files." |
| 3127 | (interactive "P") | 3128 | (interactive "P") |
| 3128 | (let ((dired-marker-char (if unflag-p ?\040 dired-marker-char))) | 3129 | (let ((dired-marker-char (if unflag-p ?\040 dired-marker-char))) |
| 3129 | (dired-mark-if (looking-at dired-re-sym) "symbolic link"))) | 3130 | (dired-mark-if (looking-at dired-re-sym) "symbolic link"))) |
| 3130 | 3131 | ||
| 3131 | (defun dired-mark-directories (unflag-p) | 3132 | (defun dired-mark-directories (unflag-p) |
| 3132 | "Mark all directory file lines except `.' and `..'. | 3133 | "Mark all directory file lines except `.' and `..'. |
| 3133 | With prefix argument, unflag all those files." | 3134 | With prefix argument, unmark or unflag all those files." |
| 3134 | (interactive "P") | 3135 | (interactive "P") |
| 3135 | (let ((dired-marker-char (if unflag-p ?\040 dired-marker-char))) | 3136 | (let ((dired-marker-char (if unflag-p ?\040 dired-marker-char))) |
| 3136 | (dired-mark-if (and (looking-at dired-re-dir) | 3137 | (dired-mark-if (and (looking-at dired-re-dir) |
| @@ -3139,7 +3140,7 @@ With prefix argument, unflag all those files." | |||
| 3139 | 3140 | ||
| 3140 | (defun dired-mark-executables (unflag-p) | 3141 | (defun dired-mark-executables (unflag-p) |
| 3141 | "Mark all executable files. | 3142 | "Mark all executable files. |
| 3142 | With prefix argument, unflag all those files." | 3143 | With prefix argument, unmark or unflag all those files." |
| 3143 | (interactive "P") | 3144 | (interactive "P") |
| 3144 | (let ((dired-marker-char (if unflag-p ?\040 dired-marker-char))) | 3145 | (let ((dired-marker-char (if unflag-p ?\040 dired-marker-char))) |
| 3145 | (dired-mark-if (looking-at dired-re-exe) "executable file"))) | 3146 | (dired-mark-if (looking-at dired-re-exe) "executable file"))) |
| @@ -3149,7 +3150,7 @@ With prefix argument, unflag all those files." | |||
| 3149 | 3150 | ||
| 3150 | (defun dired-flag-auto-save-files (&optional unflag-p) | 3151 | (defun dired-flag-auto-save-files (&optional unflag-p) |
| 3151 | "Flag for deletion files whose names suggest they are auto save files. | 3152 | "Flag for deletion files whose names suggest they are auto save files. |
| 3152 | A prefix argument says to unflag those files instead." | 3153 | A prefix argument says to unmark or unflag those files instead." |
| 3153 | (interactive "P") | 3154 | (interactive "P") |
| 3154 | (let ((dired-marker-char (if unflag-p ?\040 dired-del-marker))) | 3155 | (let ((dired-marker-char (if unflag-p ?\040 dired-del-marker))) |
| 3155 | (dired-mark-if | 3156 | (dired-mark-if |
| @@ -3189,7 +3190,7 @@ A prefix argument says to unflag those files instead." | |||
| 3189 | 3190 | ||
| 3190 | (defun dired-flag-backup-files (&optional unflag-p) | 3191 | (defun dired-flag-backup-files (&optional unflag-p) |
| 3191 | "Flag all backup files (names ending with `~') for deletion. | 3192 | "Flag all backup files (names ending with `~') for deletion. |
| 3192 | With prefix argument, unflag these files." | 3193 | With prefix argument, unmark or unflag these files." |
| 3193 | (interactive "P") | 3194 | (interactive "P") |
| 3194 | (let ((dired-marker-char (if unflag-p ?\s dired-del-marker))) | 3195 | (let ((dired-marker-char (if unflag-p ?\s dired-del-marker))) |
| 3195 | (dired-mark-if | 3196 | (dired-mark-if |