Working with files

Of course, all these GNU Emacs instructions are useless unless you can save your work and get it back later. To save the file displayed in the current window, type C-x C-s. The buffer will be saved with the same name it had when you first used it. If there is no name (as for a new file), you'll be prompted for the file name. To visit (i.e., read) a file, use C-x C-f and enter the file name when prompted. You can visit a file in another window (splitting the screen if necessary) with C-x 4 C-f. Input completion works on file names as it did on function names.

Click here to go to the next section.

Or click here to go to the top of the chapter.