comparison man/dired.texi @ 60791:fa4296e0e363

(Misc Dired Features): Rename node from Misc Dired Commands. Mention effect of X drag and drop on Dired buffers.
author Richard M. Stallman <rms@gnu.org>
date Mon, 21 Mar 2005 18:12:14 +0000
parents d7a513160c01
children bcda0fe75703 13796b0653c7
comparison
equal deleted inserted replaced
60790:61b4f45aa6b8 60791:fa4296e0e363
37 * Subdirectories in Dired:: Adding subdirectories to the Dired buffer. 37 * Subdirectories in Dired:: Adding subdirectories to the Dired buffer.
38 * Subdirectory Motion:: Moving across subdirectories, and up and down. 38 * Subdirectory Motion:: Moving across subdirectories, and up and down.
39 * Hiding Subdirectories:: Making subdirectories visible or invisible. 39 * Hiding Subdirectories:: Making subdirectories visible or invisible.
40 * Updating: Dired Updating. Discarding lines for files of no interest. 40 * Updating: Dired Updating. Discarding lines for files of no interest.
41 * Find: Dired and Find. Using `find' to choose the files for Dired. 41 * Find: Dired and Find. Using `find' to choose the files for Dired.
42 * Misc: Misc Dired Commands. Various other features. 42 * Misc: Misc Dired Features. Various other features.
43 @end menu 43 @end menu
44 44
45 @node Dired Enter 45 @node Dired Enter
46 @section Entering Dired 46 @section Entering Dired
47 47
1096 @vindex locate-command 1096 @vindex locate-command
1097 @kbd{M-x locate} provides a similar interface to the @code{locate} 1097 @kbd{M-x locate} provides a similar interface to the @code{locate}
1098 program. @kbd{M-x locate-with-filter} is similar, but keeps only lines 1098 program. @kbd{M-x locate-with-filter} is similar, but keeps only lines
1099 matching a given regular expression. 1099 matching a given regular expression.
1100 1100
1101 These buffers don't work entirely like ordinary Dired buffers. File 1101 These buffers don't work entirely like ordinary Dired buffers. File
1102 operations work, but do not always automatically update the buffer. 1102 operations work, but do not always automatically update the buffer.
1103 Reverting the buffer with @kbd{g} deletes all inserted subdirectories, 1103 Reverting the buffer with @kbd{g} deletes all inserted subdirectories,
1104 and erases all flags and marks. 1104 and erases all flags and marks.
1105 1105
1106 @node Misc Dired Commands 1106 @node Misc Dired Features
1107 @section Other Dired Commands 1107 @section Other Dired Features
1108 1108
1109 @table @kbd
1110 @item w
1111 @cindex Adding to the kill ring in Dired. 1109 @cindex Adding to the kill ring in Dired.
1112 @kindex w @r{(Dired)} 1110 @kindex w @r{(Dired)}
1113 @findex dired-copy-filename-as-kill 1111 @findex dired-copy-filename-as-kill
1114 The @kbd{w} command (@code{dired-copy-filename-as-kill}) puts the 1112 The @kbd{w} command (@code{dired-copy-filename-as-kill}) puts the
1115 names of the marked (or next @var{n}) files into the kill ring, as if 1113 names of the marked (or next @var{n}) files into the kill ring, as if
1116 you had killed them with @kbd{C-w}. With a zero prefix argument 1114 you had killed them with @kbd{C-w}.
1117 @var{n}=0, use the absolute file name of each marked file. With just 1115
1118 @kbd{C-u} as the prefix argument, use the relative file name of each 1116 The main purpose of this command is so that you can yank the file
1119 marked file. As a special case, if no prefix argument is given and 1117 names into arguments for other Emacs commands. It also displays what
1120 point is on a directory headerline, @kbd{w} gives you the name of that 1118 was pushed onto the kill ring, so you can use it to display the list
1121 directory without looking for marked files. 1119 of currently marked files in the echo area. With a zero prefix
1122 1120 argument @var{n}=0, this uses the absolute file name of each marked
1123 The main purpose of the @kbd{w} command is so that you can yank the 1121 file. With just @kbd{C-u} as the prefix argument, it uses the
1124 file names into arguments for other Emacs commands. It also displays 1122 relative file name of each marked file. As a special case, if no
1125 what was pushed onto the kill ring, so you can use it to display the 1123 prefix argument is given and point is on a directory headerline,
1126 list of currently marked files in the echo area. 1124 @kbd{w} gives you the name of that directory without looking for
1127 @end table 1125 marked files.
1126
1127 On the X window system, Emacs supports the ``drag and drop''
1128 protocol. You can drag a file object from another program, and drop
1129 it onto a Dired buffer; this either moves, copies, or creates a link
1130 to the file in that directory. Precisely which action is taken is
1131 determined by the originating program. Dragging files out of a Dired
1132 buffer is currently not supported.
1128 1133
1129 @ignore 1134 @ignore
1130 arch-tag: d105f9b9-fc1b-4c5f-a949-9b2cf3ca2fc1 1135 arch-tag: d105f9b9-fc1b-4c5f-a949-9b2cf3ca2fc1
1131 @end ignore 1136 @end ignore