Mercurial > emacs
comparison man/dired.texi @ 52576:a90f7b4afc00
(Misc Dired Commands): New node.
(Dired Navigation): Add dired-goto-file.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 22 Sep 2003 15:50:15 +0000 |
parents | 695cf19ef79e |
children | 54a65c8588e4 |
comparison
equal
deleted
inserted
replaced
52575:3a79db508c6c | 52576:a90f7b4afc00 |
---|---|
37 * Subdirectories in Dired:: Adding subdirectories to the Dired buffer. | 37 * Subdirectories in Dired:: Adding subdirectories to the Dired buffer. |
38 * Subdirectory Motion:: Moving across subdirectories, and up and down. | 38 * Subdirectory Motion:: Moving across subdirectories, and up and down. |
39 * Hiding Subdirectories:: Making subdirectories visible or invisible. | 39 * Hiding Subdirectories:: Making subdirectories visible or invisible. |
40 * Updating: Dired Updating. Discarding lines for files of no interest. | 40 * Updating: Dired Updating. Discarding lines for files of no interest. |
41 * Find: Dired and Find. Using `find' to choose the files for Dired. | 41 * Find: Dired and Find. Using `find' to choose the files for Dired. |
42 * Misc: Misc Dired Commands. Various other features. | |
42 @end menu | 43 @end menu |
43 | 44 |
44 @node Dired Enter | 45 @node Dired Enter |
45 @section Entering Dired | 46 @section Entering Dired |
46 | 47 |
82 @kindex SPC @r{(Dired)} | 83 @kindex SPC @r{(Dired)} |
83 For extra convenience, @key{SPC} and @kbd{n} in Dired are equivalent | 84 For extra convenience, @key{SPC} and @kbd{n} in Dired are equivalent |
84 to @kbd{C-n}. @kbd{p} is equivalent to @kbd{C-p}. (Moving by lines is | 85 to @kbd{C-n}. @kbd{p} is equivalent to @kbd{C-p}. (Moving by lines is |
85 so common in Dired that it deserves to be easy to type.) @key{DEL} | 86 so common in Dired that it deserves to be easy to type.) @key{DEL} |
86 (move up and unflag) is often useful simply for moving up. | 87 (move up and unflag) is often useful simply for moving up. |
88 | |
89 @findex dired-goto-file | |
90 @kindex M-g | |
91 @kbd{M-g} (@code{dired-goto-file}) moves point to the line that | |
92 describes a specified file or directory. | |
87 | 93 |
88 Some additional navigation commands are available when the Dired | 94 Some additional navigation commands are available when the Dired |
89 buffer includes several directories. @xref{Subdirectory Motion}. | 95 buffer includes several directories. @xref{Subdirectory Motion}. |
90 | 96 |
91 @node Dired Deletion | 97 @node Dired Deletion |
327 those files. | 333 those files. |
328 | 334 |
329 @item * @@ | 335 @item * @@ |
330 @kindex * @@ @r{(Dired)} | 336 @kindex * @@ @r{(Dired)} |
331 @findex dired-mark-symlinks | 337 @findex dired-mark-symlinks |
332 @cindex marking symlinks (in Dired) | 338 @cindex marking symbolic links (in Dired) |
333 Mark all symbolic links with @samp{*} (@code{dired-mark-symlinks}). | 339 Mark all symbolic links with @samp{*} (@code{dired-mark-symlinks}). |
334 With a numeric argument, unmark all those files. | 340 With a numeric argument, unmark all those files. |
335 | 341 |
336 @item * / | 342 @item * / |
337 @kindex * / @r{(Dired)} | 343 @kindex * / @r{(Dired)} |
547 argument @var{new} is the directory to make the links in, or (if making | 553 argument @var{new} is the directory to make the links in, or (if making |
548 just one link) the name to give the link. | 554 just one link) the name to give the link. |
549 | 555 |
550 @findex dired-do-symlink | 556 @findex dired-do-symlink |
551 @kindex S @r{(Dired)} | 557 @kindex S @r{(Dired)} |
552 @cindex symlinks (in Dired) | 558 @cindex symbolic links (creation in Dired) |
553 @item S @var{new} @key{RET} | 559 @item S @var{new} @key{RET} |
554 Make symbolic links to the specified files (@code{dired-do-symlink}). | 560 Make symbolic links to the specified files (@code{dired-do-symlink}). |
555 The argument @var{new} is the directory to make the links in, or (if | 561 The argument @var{new} is the directory to make the links in, or (if |
556 making just one link) the name to give the link. | 562 making just one link) the name to give the link. |
557 | 563 |
1085 The format of listing produced by these commands is controlled by the | 1091 The format of listing produced by these commands is controlled by the |
1086 variable @code{find-ls-option}, whose default value specifies using | 1092 variable @code{find-ls-option}, whose default value specifies using |
1087 options @samp{-ld} for @code{ls}. If your listings are corrupted, you | 1093 options @samp{-ld} for @code{ls}. If your listings are corrupted, you |
1088 may need to change the value of this variable. | 1094 may need to change the value of this variable. |
1089 | 1095 |
1096 @node Misc Dired Commands | |
1097 @section Other Dired Commands | |
1098 | |
1099 @table @kbd | |
1100 @item w | |
1101 @cindex Adding to the kill ring in Dired. | |
1102 @kindex w | |
1103 @findex dired-copy-filename-as-kill | |
1104 The @kbd{w} command (@code{dired-copy-filename-as-kill}) puts the | |
1105 names of the marked (or next @var{n}) files into the kill ring, as if | |
1106 you had killed them with @kbd{C-w}. With a zero prefix argument | |
1107 @var{n}=0, use the absolute file name of each marked file. With just | |
1108 @kbd{C-u} as the prefix argument, use the relative file name of each | |
1109 marked file. As a special case, if no prefix argument is given and | |
1110 point is on a directory headerline, @kbd{w} gives you the name of that | |
1111 directory without looking for marked files. | |
1112 | |
1113 @vindex dired-marked-files | |
1114 The main purpose of the @kbd{w} command is so that you can yank the | |
1115 file names into arguments for other Emacs commands. It also displays | |
1116 what was pushed onto the kill ring, so you can use it to display the | |
1117 list of currently marked files in the echo area. It also stores the | |
1118 list of names in the variable @code{dired-marked-files}, for use in | |
1119 Lisp expressions. | |
1120 @end table | |
1121 | |
1090 @ignore | 1122 @ignore |
1091 arch-tag: d105f9b9-fc1b-4c5f-a949-9b2cf3ca2fc1 | 1123 arch-tag: d105f9b9-fc1b-4c5f-a949-9b2cf3ca2fc1 |
1092 @end ignore | 1124 @end ignore |