Hemlock provides a directory editing mechanism. The user can flag files and directories for deletion, undelete flagged files, and with a keystroke read in files and descend into directories. In some implementations, it also supports copying, renaming, and a simple wildcard feature. [annotate]
This command prompts for a directory and fills a buffer with a verbose listing of that directory. When the prefix argument is supplied, this includes Unix dot files. If a dired buffer already exists for the directory, this switches to the buffer and makes sure it displays dot files if appropriate. [annotate] [← 18.5 File Utilities] [← 17.2 Using View Mode] [← 12.1 File Utility Commands] [← 6.2 View Mode, View Return] [← 6.2 View Mode, View Scroll Down] [← 6.1.6 Renaming Files, Dired Rename File Confirm] [← 6.1.5 Copying Files, Dired Copy with Wildcard] [← 6.1.4 Expunging and Quitting, Dired Quit] [← 6.1.1 Inspecting Directories, Dired Update Buffer] [← 6.1.1 Inspecting Directories, Dired Up Directory] [← 6.1.1 Inspecting Directories, Dired View File] [← 6.1.1 Inspecting Directories, Dired Help] [← 6.1.1 Inspecting Directories, Dired from Buffer Pathname] |
This command prompts for a directory and a pattern that may contain at most one wildcard, an asterisk, and it fills a buffer with a verbose listing of the files in the directory matching the pattern. When the prefix argument is supplied, this includes Unix dot files. If a dired buffer already exists for this directory, this switches to the buffer and makes sure it displays dot files if appropriate. [annotate] |
This command invokes Dired on the directory name of the current buffer's pathname. [annotate] |
This command pops up a help window listing the various Dired commands. [annotate] |
These command read in the file on the current line with the point. If the line describes a directory instead of a file, then this command effectively invokes Dired on the specification. This associates the file's buffer with the Dired buffer. [annotate] Dired View File reads in the file as if by View File, and Dired Edit File as if by Find File. [annotate] Dired View File always reads into a newly created buffer, warning if the file already exists in some buffer. [annotate] |
This command invokes Dired on the directory up one level from the current Dired buffer. This is useful for going backwards after repeatedly invoking Dired View File and descending into a series of subdirectories. Remember, Dired only generates directory listings when no buffer contains a dired for the specified directory. [annotate] |
This command is useful when the user knows the directory in the current Dired buffer has changed. Hemlock cannot know the directory structure has changed, but the user can explicitly update the buffer with this command instead of having to delete it and invoke Dired again. [annotate] |
These commands move to next or previous undeleted file. [annotate] |
This command marks for deletion the file on the current line with the point and moves point down a line. [annotate] |
This command prompts for a name pattern that may contain at most one wildcard, an asterisk, and marks for deletion all the names matching the pattern. [annotate] |
This command marks for deletion the file on the current line with the point without moving the point. [annotate] |
This command unmarks for deletion the file on the current line with the point and moves point down a line. [annotate] |
This command prompts for a name pattern that may contain at most one wildcard, an asterisk, and unmarks for deletion all the names matching the pattern. [annotate] |
This command unmarks for deletion the file on the current line with the point without moving the point. [annotate] |
| Dired Expunge Files | (bound to Dired: !) | [Command] |
| Dired File Expunge Confirm | (initial value t) | [Variable] |
| Dired Directory Expunge Confirm | (initial value t) | [Variable] |
This command deletes files marked for deletion, asking the user for confirmation once for all the files flagged. It recursively deletes any marked directories, asking the user for confirmation once for all those marked. Dired File Expunge Confirm and Dired Directory Expunge Confirm when set to nil individually inhibit the confirmation prompting for the appropriate deleting. [annotate] |
This command expunges any marked files or directories as if by Expunge Dired Files before deleting the Dired buffer. [annotate] |
This command prompts for a destination specification and copies the file on the line with the point. When prompting, the current line's specification is the default, which provides some convenience in supplying the destination. The destination is either a directory specification or a file name, and when it is the former, the source is copied into the directory under its current file name and extension. [annotate] |
This command prompts for a name pattern that may contain at most one wildcard, an asterisk, and copies all the names matching the pattern. When prompting for a destination, this provides the Dired buffer's directory as a default. The destination is either a directory specification or a file name with a wildcard. When it is the former, all the source files are copied into the directory under their current file names and extensions. When it is the later, each sources file's substitution for the wildcard causing it to match the first pattern replaces the wildcard in the destination pattern; for example, you might want to copy "*.txt" to "*.text". [annotate] |
This variable controls interaction with the user when it is not obvious what the copying process should do. This takes one of the following values: [annotate]
|
Rename the file or directory under the point [annotate] |
Rename files that match a pattern containing ONE wildcard. [annotate] |
When non-nil, Dired will query before clobbering an existing file. [annotate] |