Mercurial > emacs
comparison man/files.texi @ 61847:fee88679cf47
(Filesets): New node.
(File Conveniences): Document Image mode.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 26 Apr 2005 10:48:17 +0000 |
parents | 188e0bfcbc42 |
children | 7f9d1d01d274 |
comparison
equal
deleted
inserted
replaced
61846:56236a372355 | 61847:fee88679cf47 |
---|---|
35 * File Archives:: Operating on tar, zip, jar etc. archive files. | 35 * File Archives:: Operating on tar, zip, jar etc. archive files. |
36 * Remote Files:: Accessing files on other sites. | 36 * Remote Files:: Accessing files on other sites. |
37 * Quoted File Names:: Quoting special characters in file names. | 37 * Quoted File Names:: Quoting special characters in file names. |
38 * File Name Cache:: Completion against a list of files you often use. | 38 * File Name Cache:: Completion against a list of files you often use. |
39 * File Conveniences:: Convenience Features for Finding Files. | 39 * File Conveniences:: Convenience Features for Finding Files. |
40 * Filesets:: Handling sets of files. | |
40 @end menu | 41 @end menu |
41 | 42 |
42 @node File Names | 43 @node File Names |
43 @section File Names | 44 @section File Names |
44 @cindex file names | 45 @cindex file names |
3323 powerful heuristic defaults (@pxref{FFAP}), often based on the text at | 3324 powerful heuristic defaults (@pxref{FFAP}), often based on the text at |
3324 point. Partial Completion mode offers other features extending | 3325 point. Partial Completion mode offers other features extending |
3325 @code{find-file}, which can be used with @code{ffap}. | 3326 @code{find-file}, which can be used with @code{ffap}. |
3326 @xref{Completion Options}. | 3327 @xref{Completion Options}. |
3327 | 3328 |
3329 @findex image-mode | |
3330 @findex image-toggle-display | |
3331 @cindex images, viewing | |
3332 Visiting image files automatically selects Image mode. This major | |
3333 mode allows you to toggle between displaying the file as an image in | |
3334 the Emacs buffer, and displaying its underlying text representation, | |
3335 using the command @kbd{C-c C-c} (@code{image-toggle-display}). This | |
3336 works only when Emacs can display the specific image type. | |
3337 | |
3328 @findex thumbs-mode | 3338 @findex thumbs-mode |
3329 @findex mode, thumbs | 3339 @findex mode, thumbs |
3330 Thumbs mode is a major mode for viewing directories containing many | 3340 Thumbs mode is a major mode for viewing directories containing many |
3331 image files. To use it, type @kbd{M-x thumbs} and specify the | 3341 image files. To use it, type @kbd{M-x thumbs} and specify the |
3332 directory to view. The images in that directory will be displayed in | 3342 directory to view. The images in that directory will be displayed in |
3333 a @samp{Thumbs} buffer as @dfn{thumbnails}; type @kbd{RET} on a | 3343 a @samp{Thumbs} buffer as @dfn{thumbnails}; type @kbd{RET} on a |
3334 thumbnail to view the full-size image. Thumbs mode requires the | 3344 thumbnail to view the full-size image. Thumbs mode requires the |
3335 @file{convert} program, which is part of the ImageMagick software | 3345 @file{convert} program, which is part of the ImageMagick software |
3336 package. | 3346 package. |
3337 | 3347 |
3348 @node Filesets | |
3349 @section Filesets | |
3350 @cindex filesets | |
3351 | |
3352 @findex filesets-init | |
3353 If you regularly edit a certain group of files, you can define them | |
3354 as a @dfn{fileset}. This lets you perform certain operations, such as | |
3355 visiting, @code{query-replace}, and shell commands on all the files | |
3356 at once. To make use of filesets, you must first add the expression | |
3357 @code{(filesets-init)} to your @file{.emacs} file (@pxref{Init File}). | |
3358 This adds a @samp{Filesets} menu to the menu bar. | |
3359 | |
3360 @findex filesets-add-buffer | |
3361 @findex filesets-remove-buffer | |
3362 The simplest way to define filesets is by adding files to them one | |
3363 at a time. To add a file to fileset @var{name}, visit the file and | |
3364 type @kbd{M-x filesets-add-buffer @kbd{RET} @var{name} @kbd{RET}}. If | |
3365 there is no fileset @var{name}, this creates a new one, which | |
3366 initially creates only the current file. The command @kbd{M-x | |
3367 filesets-remove-buffer} removes the current file from a fileset. | |
3368 | |
3369 You can also edit the list of filesets directly, with @kbd{M-x | |
3370 filesets-edit} (or by choosing @samp{Edit Filesets} from the | |
3371 @samp{Filesets} menu). The editing is performed in a Customize buffer | |
3372 (@pxref{Easy Customization}). Filesets need not be a simple list of | |
3373 files---you can also define filesets using regular expression matching | |
3374 file names. Some examples of these more complicated filesets are | |
3375 shown in the Customize buffer. Remember to select @samp{Save for | |
3376 future sessions} if you want to use the same filesets in future Emacs | |
3377 sessions. | |
3378 | |
3379 You can use the command @kbd{M-x filesets-open} to visit all the | |
3380 files in a fileset, and @kbd{M-x filesets-close} to close them. Use | |
3381 @kbd{M-x filesets-run-cmd} to run a shell command on all the files in | |
3382 a fileset. These commands are also available from the @samp{Filesets} | |
3383 menu, where each existing fileset is represented by a submenu. | |
3384 | |
3338 @ignore | 3385 @ignore |
3339 arch-tag: 768d32cb-e15a-4cc1-b7bf-62c00ee12250 | 3386 arch-tag: 768d32cb-e15a-4cc1-b7bf-62c00ee12250 |
3340 @end ignore | 3387 @end ignore |