diff options
| author | Eli Zaretskii | 2001-04-30 13:35:05 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2001-04-30 13:35:05 +0000 |
| commit | 4691d21ee4eec5292193f870f936bb65481ea40d (patch) | |
| tree | bda08c2db1891737d5ed4b223affa0279de22402 | |
| parent | 50df7214b3defc0705f2c776d5659c97925673ce (diff) | |
| download | emacs-4691d21ee4eec5292193f870f936bb65481ea40d.tar.gz emacs-4691d21ee4eec5292193f870f936bb65481ea40d.zip | |
(Marks vs Flags): Explain that dired-undo doesn't undo the file
operations.
(Transforming File Names): Document that these commands operate on ARG or
marked files, and that they ask for confirmation on each file.
| -rw-r--r-- | man/dired.texi | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/man/dired.texi b/man/dired.texi index 92316f98642..761c52215fd 100644 --- a/man/dired.texi +++ b/man/dired.texi | |||
| @@ -437,7 +437,12 @@ name. | |||
| 437 | @kindex C-_ @r{(Dired)} | 437 | @kindex C-_ @r{(Dired)} |
| 438 | @findex dired-undo | 438 | @findex dired-undo |
| 439 | Undo changes in the Dired buffer, such as adding or removing | 439 | Undo changes in the Dired buffer, such as adding or removing |
| 440 | marks (@code{dired-undo}). | 440 | marks (@code{dired-undo}). @emph{This command does not revert the |
| 441 | actual file operations, nor recovers lost files!} It just undoes | ||
| 442 | changes in the buffer itself. For example, if used after renaming one | ||
| 443 | or more files, @code{dired-undo} restores the original names, which | ||
| 444 | will get the Dired buffer out of sync with the actual contents of the | ||
| 445 | directory. | ||
| 441 | @end table | 446 | @end table |
| 442 | 447 | ||
| 443 | @node Operating on Files | 448 | @node Operating on Files |
| @@ -684,7 +689,21 @@ Updating}). | |||
| 684 | @node Transforming File Names | 689 | @node Transforming File Names |
| 685 | @section Transforming File Names in Dired | 690 | @section Transforming File Names in Dired |
| 686 | 691 | ||
| 687 | Here are commands that alter file names in a systematic way: | 692 | This section describes Dired commands which alter file names in a |
| 693 | systematic way. | ||
| 694 | |||
| 695 | Like the basic Dired file-manipulation commands (@pxref{Operating on | ||
| 696 | Files}), the commands described here operate either on the next | ||
| 697 | @var{n} files, or on all files marked with @samp{*}, or on the current | ||
| 698 | file. (To mark files, use the commands described in @ref{Marks vs | ||
| 699 | Flags}.) | ||
| 700 | |||
| 701 | All of the commands described in this section work | ||
| 702 | @emph{interactively}: they ask you to confirm the operation for each | ||
| 703 | candidate file. Thus, you can select more files than you actually | ||
| 704 | need to operate on (e.g., with a regexp that matches many files), and | ||
| 705 | then refine the selection by typing @kbd{y} or @kbd{n} when the | ||
| 706 | command prompts for confirmation. | ||
| 688 | 707 | ||
| 689 | @table @kbd | 708 | @table @kbd |
| 690 | @findex dired-upcase | 709 | @findex dired-upcase |
| @@ -742,7 +761,8 @@ matches that should span the whole filename.) | |||
| 742 | Normally, the replacement process does not consider the files' | 761 | Normally, the replacement process does not consider the files' |
| 743 | directory names; it operates on the file name within the directory. If | 762 | directory names; it operates on the file name within the directory. If |
| 744 | you specify a numeric argument of zero, then replacement affects the | 763 | you specify a numeric argument of zero, then replacement affects the |
| 745 | entire absolute file name including directory name. | 764 | entire absolute file name including directory name. (Non-zero |
| 765 | argument specifies the number of files to operate on.) | ||
| 746 | 766 | ||
| 747 | Often you will want to select the set of files to operate on using the | 767 | Often you will want to select the set of files to operate on using the |
| 748 | same @var{regexp} that you will use to operate on them. To do this, | 768 | same @var{regexp} that you will use to operate on them. To do this, |