The basic unit of stored data in Unix is the @dfn{file}. To edit a file,
you must tell Emacs to read the file into a buffer. This is called
@dfn{visiting} the file. You can now edit the buffer and to save the
-changes you must write the buffer back to the file.
+changes you must write the buffer back to the file.
In addition to visiting and saving files, Emacs can delete, copy, rename,
and append to files, and operate on file directories.
menu. When Emacs prompts you for the variable name to describe, type
@var{default-directory}. If you wish to open a file in some other
directory, use @key{DEL} or the @key{BackSpace} key to go back and type
-the path name of the new directory.
+the path name of the new directory.
You can create a new directory by typing @kbd{M-x
make-directory}. This command will prompt you for a directory name:
@kbd{remove-directory}. The command @kbd{M-x pwd} will print the current
buffer's default directory. For more information on file names,
@xref{File Names,,,xemacs,XEmacs User's Manual}.
-
+
@node Visiting, Saving Files, File Names, Files
@section Visiting Files
already exists in Emacs, the buffer containing that file will be
selected. You will get an error message if the filename does not
exist. If you still press @key{RET}, a new buffer with the given
-filename will be displayed on the screen.
+filename will be displayed on the screen.
@item C-x C-v
@kindex C-x C-v
@findex find-alternate-file
This command (@code{find-alternate-file}), will visit a different file
instead of the one visited last. It is similar to @kbd{C-c C-f} except
-that it kills the current buffer (after offering to save it).
+that it kills the current buffer (after offering to save it).
@item C-x 5 C-f
@kindex C-x 5 C-f
frame. The @b{Open in New Frame...} from the @b{File} menu will do the
same thing. It will prompt you for a file name in the echo area. After
you type the file name and press @key{RET}, the specified file will be
-read into a new buffer and displayed on a new frame.
+read into a new buffer and displayed on a new frame.
@end table
@node Saving Files, , Visiting, Files
@noindent
Try using this command twice. You will get the above message the first
time you use this command, the second time you will get the following
-message:
+message:
@example
(No changes need to be saved)
@noindent
This message indicates that you haven't made any changes since the last
-time you saved the file.
+time you saved the file.
@item C-x s
@kindex C-x s
@noindent
You will get the above message for all the buffers. Type "y" if you want
-to save the buffer.
+to save the buffer.
@item C-x C-w
@findex write file
@noindent
After you type in a file name, press @key{RET}. The buffer will be saved
in a new file. You can make copies of a particular file using this
-command.
+command.
@end table
You can also undo all the changes made since the file was visited or
saved by reading the text from the file again (called
@dfn{reverting}). For more information on this option,
-@xref{Reverting,,,xemacs,XEmacs User's Manual}.
+@xref{Reverting,,,xemacs,XEmacs User's Manual}.
@vindex make-backup-files
When you save a file in Emacs, it destroys its old contents. However,
-if you set the variable @var{make-backup-files} to non-@var{nil}
+if you set the variable @var{make-backup-files} to non-@code{nil}
i.e. @samp{t}, Emacs will create a @dfn{backup} file. Select the
@b{Describe variable} option from the @b{Help} menu and look at the
documentation for this variable. Its default value should be
to @samp{t} (@pxref{Setting Variables}). The backup file will contain
the contents from the last time you visited the file. Emacs also
provides options for creating numbered backups. For more information on
-backups, @xref{Backup,,,xemacs,XEmacs User's Manual}.
+backups, @xref{Backup,,,xemacs,XEmacs User's Manual}.
@cindex auto saving
Emacs also saves all the files from time to time so that in case of a
character @samp{#} in front and back. For example a file called
"myfile.texinfo" would be named as @file{#myfile.texinfo#}. For
information on controlling auto-saving and recovering data from
-auto-saving, @xref{Auto Save Files,,,xemacs,XEmacs User's Manual}.
+auto-saving, @xref{Auto Save Files,,,xemacs,XEmacs User's Manual}.
@cindex simultaneous editing
Emacs provides protection from simultaneous editing which occurs if
options. For more information on protection against simultaneous
editing, @xref{Interlocking,,,xemacs,XEmacs User's Manual}.
-
-
+
+