Boston University
Mathematics and Statistics
Mathematics and Statistics
Overview People Courses Programs of Study Seminars Special Programs Events Research Jobs
Mathematics and Statistics
 
next up previous contents
Next: Getting Started Up: Text Editing - Previous: Text Editing -
 

How Emacs Treats Files

Emacs is a full screen editor which edits files in a buffer. This means that the original file is copied into a temporary area, called a buffer, and any changes you make during an Emacs session do not overwrite the original file until you explicitly save your changes. When you save a file in Emacs, the previous version of the file is saved as a backup with a tilde (~ ) appended to its original name. For example, say you are editing a file called foo.tex and you save your changes. Your changes will be in a file called foo.tex, but the original version of foo.tex will be saved into a file called foo.tex~.



Tim Kohl
 
September 2004
Mathematics and Statistics
Boston University