48 |
@findex dired |
@findex dired |
49 |
@kindex C-x d |
@kindex C-x d |
50 |
@vindex dired-listing-switches |
@vindex dired-listing-switches |
51 |
To invoke Dired, do @kbd{C-x d} or @kbd{M-x dired}. The command reads |
To invoke Dired, do @kbd{C-x d} or @kbd{M-x dired}. The command |
52 |
a directory name or wildcard file name pattern as a minibuffer argument |
reads a directory name or wildcard file name pattern as a minibuffer |
53 |
to specify which files to list. Where @code{dired} differs from |
argument to specify which files to list. @kbd{C-x C-f} given a |
54 |
@code{list-directory} is in putting the buffer into Dired mode so that |
directory name also invokes Dired. Where @code{dired} differs from |
55 |
the special commands of Dired are available. |
@code{list-directory} is that it puts the buffer into Dired mode, so |
56 |
|
that the special commands of Dired are available. |
57 |
|
|
58 |
The variable @code{dired-listing-switches} specifies the options to |
The variable @code{dired-listing-switches} specifies the options to |
59 |
give to @code{ls} for listing directory; this string @emph{must} contain |
give to @code{ls} for listing the directory; this string @emph{must} contain |
60 |
@samp{-l}. If you use a numeric prefix argument with the @code{dired} |
@samp{-l}. If you use a numeric prefix argument with the @code{dired} |
61 |
command, you can specify the @code{ls} switches with the minibuffer |
command, you can specify the @code{ls} switches with the minibuffer |
62 |
before you enter the directory specification. No matter how they are |
before you enter the directory specification. No matter how they are |
256 |
@kindex e @r{(Dired)} |
@kindex e @r{(Dired)} |
257 |
Equivalent to @kbd{f}. |
Equivalent to @kbd{f}. |
258 |
|
|
259 |
|
@ignore @c This command seems too risky to document at all. |
260 |
@item a |
@item a |
261 |
@kindex a @r{(Dired)} |
@kindex a @r{(Dired)} |
262 |
@findex dired-find-alternate-file |
@findex dired-find-alternate-file |
263 |
Like @kbd{f}, but replaces the contents of the Dired buffer with |
Like @kbd{f}, but replaces the contents of the Dired buffer with |
264 |
that of an alternate file or directory (@code{dired-find-alternate-file}). |
that of an alternate file or directory (@code{dired-find-alternate-file}). |
265 |
|
@end ignore |
266 |
|
|
267 |
@item o |
@item o |
268 |
@kindex o @r{(Dired)} |
@kindex o @r{(Dired)} |
278 |
Visit the file described on the current line, and display the buffer in |
Visit the file described on the current line, and display the buffer in |
279 |
another window, but do not select that window (@code{dired-display-file}). |
another window, but do not select that window (@code{dired-display-file}). |
280 |
|
|
281 |
@item Mouse-2 |
@item Mouse-1 |
282 |
|
@itemx Mouse-2 |
283 |
@findex dired-mouse-find-file-other-window |
@findex dired-mouse-find-file-other-window |
284 |
Visit the file named by the line you click on |
Visit the file named by the line you click on |
285 |
(@code{dired-mouse-find-file-other-window}). This uses another window |
(@code{dired-mouse-find-file-other-window}). This uses another window |
701 |
file. |
file. |
702 |
|
|
703 |
@item |
@item |
704 |
If the command string contains @samp{?} surrounded by whitespace, the |
However, if the command string contains @samp{?} surrounded by |
705 |
current file name is substituted for @samp{?}. You can use @samp{?} |
whitespace, the current file name is substituted for @samp{?} (rather |
706 |
this way more than once in the command, and each occurrence is |
than added at the end). You can use @samp{?} this way more than once |
707 |
replaced. |
in the command, and the same file name replaces each occurrence. |
708 |
@end itemize |
@end itemize |
709 |
|
|
710 |
To iterate over the file names in a more complicated fashion, use an |
To iterate over the file names in a more complicated fashion, use an |