(dired.info)Tree Dired Extra Features
Next: Dired Minibuffer History Prev: Tree Dired Extra Up: Tree Dired Extra
Tree Dired Extra Features
The rest of this manual describes the extra features provided by the
file `dired-x.el' and some other files.
To take advantage of these features, you must load the file and set
some variables and hooks. See the accompanying `dired-x.README' file
for details and a template of code to insert in your `.emacs'.
Miscellanous features not fitting anywhere else:
If non-nil, Dired does not make a new buffer for a directory if it
can be found (perhaps as subdirectory) in some existing Dired
If there are several Dired buffers for a directory, the most
recently used is chosen.
Dired avoids switching to the current buffer, so that if you have a
normal and a wildcard buffer for the same directory, `C-x d RET'
will toggle between those two.
(`dired-goto-file') Goto file line of a file (or directory).
(`dired-goto-subdir') Goto headerline of an inserted directory.
This commands reads its argument with completion over the names of
the inserted subdirectories.
(`dired-do-background-shell-command') Run a shell command on the
marked files, in the background. This requires `background.el'
from Olin Shiver's comint package to work. Note that you can type
input to the command in its buffer.
(`dired-copy-filename-as-kill') The `w' command puts the names of
the marked (or next N) files into the kill ring, as if you had
killed them with `C-w'. With a zero prefix argument N=0, use the
complete pathname of each file. With a raw (just `C-u') prefix
argument, use the relative pathname of each marked file. As a
special case, if no prefix argument is given and point is on a
directory headerline, it gives you the name of that directory,
without looking for marked files.
The list of names is also stored onto the variable
`dired-marked-files' for use, e.g., in an `ESC ESC'
As this command also displays what was pushed onto the kill ring
you can use it to display the list of currently marked files in the
echo area (unless you happen to be on a subdirectory headerline).
You can then feed the file name to other Emacs commands with `C-y'.
For example, say you want to rename a long filename to a slightly
different name. First type `w' to push the old name onto the kill
ring. Then type `r' to rename it and use `C-y' inside `r''s
minibuffer prompt to insert the old name at a convenient place.
(`dired-do-toggle') Toggle marks. That is, currently marked files
become unmarked and vice versa. Files marked with other flags
(such as `D') are not affected. The special directories `.' and
`..' are never toggled.
automatically generated by info2www