[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
23. File Handling
The operating system stores data permanently in named files, so most of the text you edit with Emacs comes from a file and is ultimately stored in a file.
To edit a file, you must tell Emacs to read the file and prepare a buffer containing a copy of the file's text. This is called visiting the file. Editing commands apply directly to text in the buffer; that is, to the copy inside Emacs. Your changes appear in the file itself only when you save the buffer back into the file.
In addition to visiting and saving files, Emacs can delete, copy, rename, and append to files, keep multiple versions of them, and operate on file directories.
23.1 File Names | How to type and edit file-name arguments. | |
23.2 Visiting Files | Visiting a file prepares Emacs to edit the file. | |
23.3 Saving Files | Saving makes your changes permanent. | |
23.4 Reverting a Buffer | Reverting cancels all the changes not saved. | |
23.5 Auto Reverting non-file Buffers | Auto Reverting non-file buffers. | |
23.6 Auto-Saving: Protection Against Disasters | Auto Save periodically protects against loss of data. | |
23.7 File Name Aliases | Handling multiple names for one file. | |
23.8 Version Control | Version control systems (RCS, CVS and SCCS). | |
23.9 File Directories | Creating, deleting, and listing file directories. | |
23.10 Comparing Files | Finding where two files differ. | |
23.11 Diff Mode | Mode for editing file differences. | |
23.12 Miscellaneous File Operations | Other things you can do on files. | |
23.13 Accessing Compressed Files | Accessing compressed files. | |
23.14 File Archives | Operating on tar, zip, jar etc. archive files. | |
23.15 Remote Files | Accessing files on other sites. | |
23.16 Quoted File Names | Quoting special characters in file names. | |
23.17 File Name Cache | Completion against a list of files you often use. | |
23.18 Convenience Features for Finding Files | ||
23.19 Filesets | Handling sets of files. |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |