comparison man/dired.texi @ 36477:957e48a1565e

(Dired Visiting): Fix wording, suggested by Ron Ross <ronross@colba.net>. (Marks vs Flags): Fix wording, suggested by Ron Ross <ronross@colba.net>. (Shell Commands in Dired): Fix wording, suggested by Ron Ross <ronross@colba.net>. (Subdirectories in Dired): Fix wording, suggested by Ron Ross <ronross@colba.net>.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 02 Mar 2001 12:27:41 +0000
parents 11db0318031d
children 7f2e9facb52a
comparison
equal deleted inserted replaced
36476:dbebcdc41417 36477:957e48a1565e
241 241
242 @item a 242 @item a
243 @kindex a @r{(Dired)} 243 @kindex a @r{(Dired)}
244 @findex dired-find-alternate-file 244 @findex dired-find-alternate-file
245 Like @kbd{f}, but replaces the contents of the Dired buffer with 245 Like @kbd{f}, but replaces the contents of the Dired buffer with
246 that of an alternate file or directory. 246 that of an alternate file or directory (@code{dired-find-alternate-file}).
247 247
248 @item o 248 @item o
249 @kindex o @r{(Dired)} 249 @kindex o @r{(Dired)}
250 @findex dired-find-file-other-window 250 @findex dired-find-file-other-window
251 Like @kbd{f}, but uses another window to display the file's buffer 251 Like @kbd{f}, but uses another window to display the file's buffer
353 @item * ? @var{markchar} 353 @item * ? @var{markchar}
354 @kindex * ? @r{(Dired)} 354 @kindex * ? @r{(Dired)}
355 @findex dired-unmark-all-files 355 @findex dired-unmark-all-files
356 Remove all marks that use the character @var{markchar} 356 Remove all marks that use the character @var{markchar}
357 (@code{dired-unmark-all-files}). The argument is a single 357 (@code{dired-unmark-all-files}). The argument is a single
358 character---do not use @key{RET} to terminate it. 358 character---do not use @key{RET} to terminate it. See the description
359 of the @kbd{* c} command below, which lets you change the character that
360 marks files.
359 361
360 With a numeric argument, this command queries about each marked file, 362 With a numeric argument, this command queries about each marked file,
361 asking whether to remove its mark. You can answer @kbd{y} meaning yes, 363 asking whether to remove its mark. You can answer @kbd{y} meaning yes,
362 @kbd{n} meaning no, or @kbd{!} to remove the marks from the remaining 364 @kbd{n} meaning no, or @kbd{!} to remove the marks from the remaining
363 files without asking about them. 365 files without asking about them.
379 @cindex toggling marks (in Dired) 381 @cindex toggling marks (in Dired)
380 Toggle all marks (@code{dired-do-toggle}): files marked with @samp{*} 382 Toggle all marks (@code{dired-do-toggle}): files marked with @samp{*}
381 become unmarked, and unmarked files are marked with @samp{*}. Files 383 become unmarked, and unmarked files are marked with @samp{*}. Files
382 marked in any other way are not affected. 384 marked in any other way are not affected.
383 385
384 @item * c @var{old} @var{new} 386 @item * c @var{old-markchar} @var{new-markchar}
385 @kindex * c @r{(Dired)} 387 @kindex * c @r{(Dired)}
386 @findex dired-change-marks 388 @findex dired-change-marks
387 Replace all marks that use the character @var{old} with marks that use 389 Replace all marks that use the character @var{old-markchar} with marks
388 the character @var{new} (@code{dired-change-marks}). This command is 390 that use the character @var{new-markchar} (@code{dired-change-marks}).
389 the primary way to create or use marks other than @samp{*} or @samp{D}. 391 This command is the primary way to create or use marks other than
390 The arguments are single characters---do not use @key{RET} to terminate 392 @samp{*} or @samp{D}. The arguments are single characters---do not use
391 them. 393 @key{RET} to terminate them.
392 394
393 You can use almost any character as a mark character by means of this 395 You can use almost any character as a mark character by means of this
394 command, to distinguish various classes of files. If @var{old} is a 396 command, to distinguish various classes of files. If @var{old-markchar}
395 space (@samp{ }), then the command operates on all unmarked files; if 397 is a space (@samp{ }), then the command operates on all unmarked files;
396 @var{new} is a space, then the command unmarks the files it acts on. 398 if @var{new-markchar} is a space, then the command unmarks the files it
399 acts on.
397 400
398 To illustrate the power of this command, here is how to put @samp{D} 401 To illustrate the power of this command, here is how to put @samp{D}
399 flags on all the files that have no marks, while unflagging all those 402 flags on all the files that have no marks, while unflagging all those
400 that already have @samp{D} flags: 403 that already have @samp{D} flags:
401 404
613 @section Shell Commands in Dired 616 @section Shell Commands in Dired
614 @cindex shell commands, Dired 617 @cindex shell commands, Dired
615 618
616 @findex dired-do-shell-command 619 @findex dired-do-shell-command
617 @kindex ! @r{(Dired)} 620 @kindex ! @r{(Dired)}
618 The dired command @kbd{!} (@code{dired-do-shell-command}) reads a shell 621 @kindex X @r{(Dired)}
622 The Dired command @kbd{!} (@code{dired-do-shell-command}) reads a shell
619 command string in the minibuffer and runs that shell command on all the 623 command string in the minibuffer and runs that shell command on all the
620 specified files. You can specify the files to operate on in the usual 624 specified files. @kbd{X} is a synonym for @kbd{!}. You can specify the
621 ways for Dired commands (@pxref{Operating on Files}). There are two 625 files to operate on in the usual ways for Dired commands
622 ways of applying a shell command to multiple files: 626 (@pxref{Operating on Files}). There are two ways of applying a shell
627 command to multiple files:
623 628
624 @itemize @bullet 629 @itemize @bullet
625 @item 630 @item
626 If you use @samp{*} in the shell command, then it runs just once, with 631 If you use @samp{*} in the shell command, then it runs just once, with
627 the list of file names substituted for the @samp{*}. The order of file 632 the list of file names substituted for the @samp{*}. The order of file
803 In either case, @kbd{i} sets the Emacs mark before moving, so @kbd{C-u 808 In either case, @kbd{i} sets the Emacs mark before moving, so @kbd{C-u
804 C-@key{SPC}} takes you back to the old position in the buffer (the line 809 C-@key{SPC}} takes you back to the old position in the buffer (the line
805 describing that subdirectory). 810 describing that subdirectory).
806 811
807 Use the @kbd{l} command (@code{dired-do-redisplay}) to update the 812 Use the @kbd{l} command (@code{dired-do-redisplay}) to update the
808 subdirectory's contents. Use @kbd{k} to delete the subdirectory. 813 subdirectory's contents. Use @kbd{C-u k} on the subdirectory header
809 @xref{Dired Updating}. 814 line to delete the subdirectory. @xref{Dired Updating}.
810 815
811 @node Subdirectory Motion 816 @node Subdirectory Motion
812 @section Moving Over Subdirectories 817 @section Moving Over Subdirectories
813 818
814 When a Dired buffer lists subdirectories, you can use the page motion 819 When a Dired buffer lists subdirectories, you can use the page motion