diff options
Diffstat (limited to 'doc/emacs/dired.texi')
-rw-r--r-- | doc/emacs/dired.texi | 43 |
1 files changed, 33 insertions, 10 deletions
diff --git a/doc/emacs/dired.texi b/doc/emacs/dired.texi index 34d12acc349..680b20c5938 100644 --- a/doc/emacs/dired.texi +++ b/doc/emacs/dired.texi @@ -129,6 +129,12 @@ options (that is, single characters) requiring no arguments, and long options (starting with @samp{--}) whose arguments are specified with @samp{=}. + Dired does not handle files that have names with embedded newline +characters well. If you have many such files, you may consider adding +@samp{-b} to @code{dired-listing-switches}. This will quote all +special characters and allow Dired to handle them better. (You can +also use the @kbd{C-u C-x d} command to add @samp{-b} temporarily.) + @vindex dired-switches-in-mode-line Dired displays in the mode line an indication of what were the switches used to invoke @command{ls}. By default, Dired will try to @@ -451,6 +457,15 @@ Visit the parent directory of the current directory for @file{..} and typing @kbd{f} there. @end table +@defopt dired-kill-when-opening-new-dired-buffer + When visiting a new sub-directory in Dired, Emacs will (by default) +open a new buffer to display this new directory, and leave the old +Dired buffer as is. If this user option is non-@code{nil}, the old +Dired buffer will be killed after selecting the new directory. This +means that if you're traversing a directory structure in Dired, you +won't end up with more than a single Dired buffer. +@end defopt + @node Marks vs Flags @section Dired Marks vs.@: Flags @@ -856,21 +871,24 @@ Compress the specified files (@code{dired-do-compress}). If the file appears to be a compressed file already, uncompress it instead. Each marked file is compressed into its own archive; this uses the @command{gzip} program if it is available, otherwise it uses -@command{compress}. On a directory name, this command produces a -compressed @file{.tar.gz} archive containing all of the directory's -files, by running the @command{tar} command with output piped to -@command{gzip}. To allow decompression of compressed directories, -typing @kbd{Z} on a @file{.tar.gz} or @file{.tgz} archive file unpacks -all the files in the archive into a directory whose name is the -archive name with the extension removed. +@command{compress}. + +On a directory name, this command produces a compressed archive +depending on the @code{dired-compress-directory-default-suffix} user +option. The default is a @file{.tar.gz} archive containing all of the +directory's files, by running the @command{tar} command with output +piped to @command{gzip}. To allow decompression of compressed +directories, typing @kbd{Z} on a @file{.tar.gz} or @file{.tgz} archive +file unpacks all the files in the archive into a directory whose name +is the archive name with the extension removed. @findex dired-do-compress-to @kindex c @r{(Dired)} @item c Compress the specified files (@code{dired-do-compress-to}) into a -single archive anywhere on the file system. The compression algorithm -is determined by the extension of the archive, see -@code{dired-compress-files-alist}. +single archive anywhere on the file system. The default archive is +controlled by the @code{dired-compress-directory-default-suffix} user +option. Also see @code{dired-compress-files-alist}. @findex epa-dired-do-decrypt @kindex :d @r{(Dired)} @@ -1535,6 +1553,11 @@ image. You comment a file from the thumbnail buffer by typing @kbd{c}. You will be prompted for a comment. Type @kbd{C-t c} to add a comment from Dired (@code{image-dired-dired-comment-files}). +@vindex image-dired-thumb-visible-marks + Files that are marked in Dired will also be marked in Image-Dired if +@code{image-dired-thumb-visible-marks} is non-@code{nil} (which is the +default). + Image-Dired also provides simple image manipulation. In the thumbnail buffer, type @kbd{L} to rotate the original image 90 degrees anti clockwise, and @kbd{R} to rotate it 90 degrees clockwise. This |