File: dired.el.html
This is a major mode for directory browsing and editing.
It is documented in the Emacs manual.
Rewritten in 1990/1991 to add tree features, file marking and sorting by Sebastian Kremer <sk@thp.uni-koeln.de>. Finished up by rms in 1992.
Defined variables (94)
dired-actual-switches | The value of ‘dired-listing-switches’ used to make this buffer’s text. |
dired-after-readin-hook | Hook run after each time a file or directory is read by Dired. |
dired-always-read-filesystem | Non-nil means revert buffers visiting files before searching them. |
dired-auto-revert-buffer | Automatically revert Dired buffers on revisiting their directory. |
dired-auto-toggle-b-switch | Whether to automatically add or remove the ‘b’ switch. |
dired-before-readin-hook | This hook is run before a Dired buffer is read in (created or reverted). |
dired-buffers | Alist of expanded directories and their associated Dired buffers. |
dired-check-symlinks | Whether symlinks are checked for validity. |
dired-chmod-program | Name of chmod command (usually ‘chmod’). |
dired-chown-program | Name of chown command (usually ‘chown’). |
dired-clean-confirm-killing-deleted-buffers | If nil, don’t ask whether to kill buffers visiting deleted files. |
dired-clean-up-buffers-too | Non-nil means offer to kill buffers visiting files and dirs deleted in Dired. |
dired-click-to-select-map | Keymap placed on files under ‘dired-click-to-select’ mode. |
dired-click-to-select-mode | Non-nil if Dired-Click-To-Select mode is enabled. |
dired-click-to-select-mode-hook | Hook run after entering or leaving ‘dired-click-to-select-mode’. |
dired-copy-dereference | If non-nil, Dired dereferences symlinks when copying them. |
dired-copy-preserve-time | If non-nil, Dired preserves the last-modified time in a file copy. |
dired-del-marker | Character used to flag files for deletion. |
dired-directory | The directory name or wildcard spec that this Dired directory lists. |
dired-directory-face | Face name used for subdirectories. |
dired-dnd-protocol-alist | The functions to call when a drop in ‘dired-mode’ is made. |
dired-dwim-target | If non-nil, Dired tries to guess a default target directory. |
dired-enable-globstar-in-shell | Alist of (SHELL . COMMAND), where COMMAND enables globstar in SHELL. |
dired-filename-display-length | If non-nil, restrict the display length of filenames. |
dired-flagged-face | Face name used for files flagged for deletion. |
dired-font-lock-keywords | Additional expressions to highlight in Dired mode. |
dired-free-space | Whether and how to display the disk space usage info in Dired buffers. |
dired-free-space-args | Options to use when running ‘directory-free-space-program’. |
dired-free-space-program | Program to get the amount of free space on a file system. |
dired-garbage-files-regexp | Regular expression to match "garbage" files for ‘dired-flag-garbage-files’. |
dired-guess-shell-alist-user | User-defined alist of rules for suggested commands. |
dired-guess-shell-case-fold-search | If non-nil, ‘dired-guess-shell-alist-default’ and |
dired-guess-shell-gnutar | If non-nil, name of GNU tar executable. |
dired-guess-shell-gzip-quiet | Non-nil says pass -q to gzip overriding verbose GZIP environment. |
dired-guess-shell-znew-switches | If non-nil, then string of switches passed to ‘znew’, example: "-K". |
dired-header-face | Face name used for directory headers. |
dired-hide-details-hide-absolute-location | Non-nil means ‘dired-hide-details-mode’ hides directory absolute location. |
dired-hide-details-hide-information-lines | Non-nil means ‘dired-hide-details-mode’ hides all but header and file lines. |
dired-hide-details-hide-symlink-targets | Non-nil means ‘dired-hide-details-mode’ hides symbolic link targets. |
dired-hide-details-mode | Non-nil if Dired-Hide-Details mode is enabled. |
dired-hide-details-mode-hook | Hook run after entering or leaving ‘dired-hide-details-mode’. |
dired-hide-details-preserved-columns | List of columns which are not hidden in ‘dired-hide-details-mode’. |
dired-ignored-face | Face name used for files suffixed with ‘completion-ignored-extensions’. |
dired-initial-position-hook | Hook used to position point in a new Dired listing display. |
dired-jump-map | Keymap to repeat ‘dired-jump’. Used in ‘repeat-mode’. |
dired-keep-marker-copy | Controls marking of copied files. |
dired-keep-marker-hardlink | Controls marking of newly made hard links. |
dired-keep-marker-relsymlink | Controls marking of newly made relative symbolic links. |
dired-keep-marker-rename | Controls marking of renamed files. |
dired-keep-marker-symlink | Controls marking of newly made symbolic links. |
dired-kill-when-opening-new-dired-buffer | If non-nil, kill the current buffer when selecting a new directory. |
dired-listing-switches | Switches passed to ‘ls’ for Dired. MUST contain the ‘l’ option. |
dired-load-hook | Run after loading Dired. |
dired-ls-F-marks-symlinks | Informs Dired about how ‘ls -lF’ marks symbolic links. |
dired-ls-sorting-switches | String of ‘ls’ switches (single letters) except "t" that influence sorting. |
dired-make-directory-clickable | When non-nil, make the directory at the start of the Dired buffer clickable. |
dired-mark-face | Face name used for Dired marks. |
dired-mark-region | Defines what commands that mark files do with the active region. |
dired-marked-face | Face name used for marked files. |
dired-marker-char | In Dired, the current mark character. |
dired-maybe-use-globstar | If non-nil, enable globstar if the shell supports it. |
dired-mode-hook | Run at the very end of ‘dired-mode’. |
dired-mode-immediate-menu | Immediate menu for Dired mode. |
dired-mode-map | Local keymap for Dired mode buffers. |
dired-mode-mark-menu | Mark menu for Dired mode. |
dired-mode-operate-menu | Operate menu for Dired mode. |
dired-mode-regexp-menu | Regexp menu for Dired mode. |
dired-mode-subdir-menu | Subdir menu for Dired mode. |
dired-mouse-drag-files | If non-nil, allow the mouse to drag files from inside a Dired buffer. |
dired-mouse-drag-files-map | Keymap applied to file names when ‘dired-mouse-drag-files’ is enabled. |
dired-move-to-filename-regexp | Regular expression to match up to the file name in a directory listing. |
dired-movement-style | Non-nil means point skips empty lines when moving in Dired buffers. |
dired-no-confirm | Dired commands for which Dired should not popup list of affected files, or t. |
dired-perm-write-face | Face name used for permissions of group- and world-writable files. |
dired-permission-flags-regexp | Regular expression to match the permission flags in ‘ls -l’. |
dired-re-inode-size | Regexp for optional initial inode and file size as made by ‘ls -i -s’. |
dired-re-no-dot | Regexp matching any file name except "." and "..". |
dired-recursive-copies | Whether Dired copies directories recursively. |
dired-recursive-deletes | Whether Dired deletes directories recursively. |
dired-regexp-history | History list of regular expressions used in Dired commands. |
dired-sort-by-date-regexp | Regexp recognized by Dired to set ‘by date’ mode. |
dired-sort-by-name-regexp | Regexp recognized by Dired to set ‘by name’ mode. |
dired-sort-inhibit | Non-nil means the Dired sort command is disabled. |
dired-subdir-alist | Alist of listed directories and their buffer positions. |
dired-subdir-alist-pre-R | Value of ‘dired-subdir-alist’ before -R switch added. |
dired-subdir-regexp | Regexp matching a maybe hidden subdirectory line in ‘ls -lR’ output. |
dired-subdir-switches | If non-nil, switches passed to ‘ls’ for inserting subdirectories. |
dired-switches-alist | Keeps track of which switches to use for inserted subdirectories. |
dired-switches-in-mode-line | How to indicate ‘dired-actual-switches’ in mode-line. |
dired-symlink-face | Face name used for symbolic links. |
dired-touch-program | Name of touch command (usually ‘touch’). |
dired-trivial-filenames | Regexp of files to skip when finding first file of a directory. |
dired-use-ls-dired | Non-nil means Dired should pass the "--dired" option to "ls". |
dired-warning-face | Face name used for a part of a buffer that needs user attention. |
Defined functions (165)
Defined faces (12)
dired-broken-symlink | Face used for broken symbolic links. |
dired-directory | Face used for subdirectories. |
dired-flagged | Face used for files flagged for deletion. |
dired-header | Face used for directory headers. |
dired-ignored | Face used for files suffixed with ‘completion-ignored-extensions’. |
dired-mark | Face used for Dired marks. |
dired-marked | Face used for marked files. |
dired-perm-write | Face used to highlight permissions of group- and world-writable files. |
dired-set-id | Face used to highlight permissions of suid and guid files. |
dired-special | Face used for sockets, pipes, block devices and char devices. |
dired-symlink | Face used for symbolic links. |
dired-warning | Face used to highlight a part of a buffer that needs user attention. |