Miscellaneous features not fitting anywhere else:
dired-find-subdir
nil
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 buffer.
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-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 (eval-expression
) command.
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.
dired-smart-shell-command
shell-command
, but in the current Dired directory.
Bound to M-! in Dired buffers.
dired-jump
dired-jump-other-window
dired-jump
, but to other window.
These functions can be autoloaded so they work even though `dired-x.el'
has not been loaded yet (See section Optional Installation Dired Jump).
If the variable dired-bind-jump
is nil
, dired-jump
will not be
bound to C-x C-j and dired-jump-other-window
will not be bound to
C-x 4 C-j.
dired-vm
dired-bind-vm
is t. Run VM on this file (assumed
to be a UNIX mail folder).
If you give this command a prefix argument, it will visit the folder
read-only. This only works in VM~5, not VM~4.
If the variable dired-vm-read-only-folders
is t, dired-vm
will
visit all folders read-only. If it is neither nil
nor t
, e.g.,
the symbol 'if-file-read-only
, only files not writable by you are
visited read-only. This is the recommended value if you run VM 5.
If the variable dired-bind-vm
is t, dired-vm
will be bound to
V. Otherwise, dired-bind-rmail
will be bound.
dired-rmail
dired-bind-vm
is nil
. Run Rmail on this
file (assumed to be mail folder in Rmail/BABYL format).
dired-info
dired-bind-info
is nil
, dired-info
will
not be bound to I.
dired-man
dired-bind-man
is nil
, dired-man
will not
be bound to N.
dired-do-relative-symlink
dired-do-relative-symlink-regexp
Go to the first, previous, next, last section, table of contents.