37 |
* Quoted File Names:: Quoting special characters in file names. |
* Quoted File Names:: Quoting special characters in file names. |
38 |
* File Name Cache:: Completion against a list of files you often use. |
* File Name Cache:: Completion against a list of files you often use. |
39 |
* File Conveniences:: Convenience Features for Finding Files. |
* File Conveniences:: Convenience Features for Finding Files. |
40 |
|
* Filesets:: Handling sets of files. |
41 |
@end menu |
@end menu |
42 |
|
|
43 |
@node File Names |
@node File Names |
3326 |
@code{find-file}, which can be used with @code{ffap}. |
@code{find-file}, which can be used with @code{ffap}. |
3327 |
@xref{Completion Options}. |
@xref{Completion Options}. |
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 |
|
|
3338 |
@findex thumbs-mode |
@findex thumbs-mode |
3339 |
@findex mode, thumbs |
@findex mode, thumbs |
3340 |
Thumbs mode is a major mode for viewing directories containing many |
Thumbs mode is a major mode for viewing directories containing many |
3345 |
@file{convert} program, which is part of the ImageMagick software |
@file{convert} program, which is part of the ImageMagick software |
3346 |
package. |
package. |
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 |
|
|
3385 |
@ignore |
@ignore |
3386 |
arch-tag: 768d32cb-e15a-4cc1-b7bf-62c00ee12250 |
arch-tag: 768d32cb-e15a-4cc1-b7bf-62c00ee12250 |
3387 |
@end ignore |
@end ignore |