diff options
| author | Chong Yidong | 2007-04-22 13:56:11 +0000 |
|---|---|---|
| committer | Chong Yidong | 2007-04-22 13:56:11 +0000 |
| commit | 255f0ae936ec4a94b25976d3bf6b94d13d6bb101 (patch) | |
| tree | 64834030db78c8320c0afcdc1950f89eebf22cb6 | |
| parent | 5a4106a064316e56773bd425dee6eea8204cd070 (diff) | |
| download | emacs-255f0ae936ec4a94b25976d3bf6b94d13d6bb101.tar.gz emacs-255f0ae936ec4a94b25976d3bf6b94d13d6bb101.zip | |
(Image-Dired): Move from Thumbnails node.
| -rw-r--r-- | man/dired.texi | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/man/dired.texi b/man/dired.texi index cc2b9a09ce9..922914a123f 100644 --- a/man/dired.texi +++ b/man/dired.texi | |||
| @@ -44,6 +44,7 @@ on all of them with on command. | |||
| 44 | * Updating: Dired Updating. Discarding lines for files of no interest. | 44 | * Updating: Dired Updating. Discarding lines for files of no interest. |
| 45 | * Find: Dired and Find. Using `find' to choose the files for Dired. | 45 | * Find: Dired and Find. Using `find' to choose the files for Dired. |
| 46 | * Wdired:: Operating on files by editing the Dired buffer. | 46 | * Wdired:: Operating on files by editing the Dired buffer. |
| 47 | * Image-Dired:: Viewing image thumbnails in Dired | ||
| 47 | * Misc: Misc Dired Features. Various other features. | 48 | * Misc: Misc Dired Features. Various other features. |
| 48 | @end menu | 49 | @end menu |
| 49 | 50 | ||
| @@ -920,6 +921,9 @@ Use the @kbd{l} command (@code{dired-do-redisplay}) to update the | |||
| 920 | subdirectory's contents. Use @kbd{C-u k} on the subdirectory header | 921 | subdirectory's contents. Use @kbd{C-u k} on the subdirectory header |
| 921 | line to delete the subdirectory. @xref{Dired Updating}. | 922 | line to delete the subdirectory. @xref{Dired Updating}. |
| 922 | 923 | ||
| 924 | |||
| 925 | |||
| 926 | |||
| 923 | @ifnottex | 927 | @ifnottex |
| 924 | @include dired-xtra.texi | 928 | @include dired-xtra.texi |
| 925 | @end ifnottex | 929 | @end ifnottex |
| @@ -1174,6 +1178,78 @@ change @samp{-rw-r--r--} to @samp{-rw-rw-rw-} to make a file | |||
| 1174 | world-writable. These changes also take effect when you type @kbd{C-c | 1178 | world-writable. These changes also take effect when you type @kbd{C-c |
| 1175 | C-c}. | 1179 | C-c}. |
| 1176 | 1180 | ||
| 1181 | @node Image-Dired | ||
| 1182 | @section Viewing Image Thumbnails in Dired | ||
| 1183 | @cindex image-dired mode | ||
| 1184 | @cindex image-dired | ||
| 1185 | |||
| 1186 | Image-Dired is a facility for browsing image files. It provides viewing | ||
| 1187 | the images either as thumbnails or in full size, either inside Emacs | ||
| 1188 | or through an external viewer. | ||
| 1189 | |||
| 1190 | @kindex C-t d @r{(Image-Dired)} | ||
| 1191 | @findex image-dired-display-thumbs | ||
| 1192 | To enter Image-Dired, mark the image files you want to look at in | ||
| 1193 | the Dired buffer, using @kbd{m} as usual. Then type @kbd{C-t d} | ||
| 1194 | (@code{image-dired-display-thumbs}). This creates and switches to a | ||
| 1195 | buffer containing image-dired, corresponding to the marked files. | ||
| 1196 | |||
| 1197 | You can also enter Image-Dired directly by typing @kbd{M-x | ||
| 1198 | image-dired}. This prompts for a directory; specify one that has | ||
| 1199 | images files. This creates thumbnails for all the images in that | ||
| 1200 | directory, and displays them all in the ``thumbnail buffer.'' This | ||
| 1201 | takes a long time if the directory contains many image files, and it | ||
| 1202 | asks for confirmation if the number of image files exceeds | ||
| 1203 | @code{image-dired-show-all-from-dir-max-files}. | ||
| 1204 | |||
| 1205 | With point in the thumbnail buffer, type @kbd{RET} | ||
| 1206 | (@code{image-dired-display-thumbnail-original-image}) to display a | ||
| 1207 | sized version of it in another window. This sizes the image to fit | ||
| 1208 | the window. Use the arrow keys to move around in the buffer. For | ||
| 1209 | easy browsing, type @kbd{SPC} | ||
| 1210 | (@code{image-dired-display-next-thumbnail-original}) to advance and | ||
| 1211 | display the next image. Typing @kbd{DEL} | ||
| 1212 | (@code{image-dired-display-previous-thumbnail-original}) backs up to | ||
| 1213 | the previous thumbnail and displays that instead. | ||
| 1214 | |||
| 1215 | @vindex image-dired-external-viewer | ||
| 1216 | To view and the image in its original size, either provide a prefix | ||
| 1217 | argument (@kbd{C-u}) before pressing @kbd{RET}, or type | ||
| 1218 | @kbd{C-@key{RET}} (@code{image-dired-thumbnail-display-external}) to | ||
| 1219 | display the image in an external viewer. You must first configure | ||
| 1220 | @code{image-dired-external-viewer}. | ||
| 1221 | |||
| 1222 | You can delete images through Image-Dired also. Type @kbd{d} | ||
| 1223 | (@code{image-dired-flag-thumb-original-file}) to flag the image file | ||
| 1224 | for deletion in the Dired buffer. You can also delete the thumbnail | ||
| 1225 | image from the thumbnail buffer with @kbd{C-d} | ||
| 1226 | (@code{image-dired-delete-char}). | ||
| 1227 | |||
| 1228 | More advanced features include @dfn{image tags}, which are metadata | ||
| 1229 | used to categorize image files. The tags are stored in a plain text | ||
| 1230 | file configured by @code{image-dired-db-file}. | ||
| 1231 | |||
| 1232 | To tag image files, mark them in the dired buffer (you can also mark | ||
| 1233 | files in Dired from the thumbnail buffer by typing @kbd{m}) and type | ||
| 1234 | @kbd{C-t t} (@code{image-dired-tag-files}). You will be prompted for | ||
| 1235 | a tag. To mark files having a certain tag, type @kbd{C-t f} | ||
| 1236 | (@code{image-dired-mark-tagged-files}). After marking image files | ||
| 1237 | with a certain tag, you can use @kbd{C-t d} to view them. | ||
| 1238 | |||
| 1239 | You can also tag a file directly from the thumbnail buffer by typing | ||
| 1240 | @kbd{t t} and you can remove a tag by typing @kbd{t r}. There is also | ||
| 1241 | a special ``tag'' called ``comment'' for each file (it is not a tag in | ||
| 1242 | the exact same sense as the other tags, it is handled slightly | ||
| 1243 | different). That is used to enter a comment or description about the | ||
| 1244 | image. You comment a file from the thumbnail buffer by typing | ||
| 1245 | @kbd{c}. You will be prompted for a comment. Type @kbd{C-t c} to add | ||
| 1246 | a comment from Dired (@code{image-dired-dired-comment-files}). | ||
| 1247 | |||
| 1248 | Image-Dired also provides simple image manipulation. In the | ||
| 1249 | thumbnail buffer, type @kbd{L} to rotate the original image 90 degrees | ||
| 1250 | anti clockwise, and @kbd{R} to rotate it 90 degrees clockwise. This | ||
| 1251 | rotation is lossless, and uses an external utility called JpegTRAN. | ||
| 1252 | |||
| 1177 | @node Misc Dired Features | 1253 | @node Misc Dired Features |
| 1178 | @section Other Dired Features | 1254 | @section Other Dired Features |
| 1179 | 1255 | ||