Next: Buffers Prev: Fixit Up: Top

File Handling

   The basic unit of stored data in Unix is the "file".  To edit a file,
you must tell Emacs to examine 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, and operate on file directories.

* File Names
How to type and edit file name arguments.
* Visiting
Visiting a file prepares Emacs to edit the file.
* Saving
Saving makes your changes permanent.
* Reverting
Reverting cancels all the changes not saved.
* Auto Save
Auto Save periodically protects against loss of data.
* ListDir
Listing the contents of a file directory.
* Dired
"Editing" a directory to delete, rename, etc. the files in it.
* Misc File Ops
Other things you can do on files.

automatically generated by info2www