@node Visiting
@section Visiting Files
@cindex visiting files
+@cindex open file
@table @kbd
@item C-x C-f
The file name is read using the minibuffer (@pxref{Minibuffer}), with
defaulting and completion in the standard manner (@pxref{File Names}).
While in the minibuffer, you can abort @kbd{C-x C-f} by typing
-@kbd{C-g}. File-name completion ignores certain filenames; for more
+@kbd{C-g}. File-name completion ignores certain file names; for more
about this, see @ref{Completion Options}.
Your confirmation that @kbd{C-x C-f} has completed successfully is
@cindex wildcard characters in file names
@vindex find-file-wildcards
If the file name you specify contains shell-style wildcard
-characters, Emacs visits all the files that match it. Wildcards
-include @samp{?}, @samp{*}, and @samp{[@dots{}]} sequences. To enter
-the wild card @samp{?} in a file name in the minibuffer, you need to
-type @kbd{C-q ?}. @xref{Quoted File Names}, for information on how to
-visit a file whose name actually contains wildcard characters. You
-can disable the wildcard feature by customizing
-@code{find-file-wildcards}.
+characters, Emacs visits all the files that match it. (On
+case-insensitive filesystems, Emacs matches the wildcards disregarding
+the letter case.) Wildcards include @samp{?}, @samp{*}, and
+@samp{[@dots{}]} sequences. To enter the wild card @samp{?} in a file
+name in the minibuffer, you need to type @kbd{C-q ?}. @xref{Quoted
+File Names}, for information on how to visit a file whose name
+actually contains wildcard characters. You can disable the wildcard
+feature by customizing @code{find-file-wildcards}.
If you visit a file that the operating system won't let you modify,
or that is marked read-only, Emacs makes the buffer read-only too, so
One general feature of Diff mode is that manual edits to the patch
automatically correct line numbers, including those in the hunk
header, so that you can actually apply the edited patch. Diff mode
-treats each hunk location as an ``error message'', so that you can use
+treats each hunk location as an ``error message,'' so that you can use
commands such as @kbd{C-x '} to visit the corresponding source
locations. It also provides the following commands to navigate,
manipulate and apply parts of patches:
contents of the specified file into the current buffer at point,
leaving point unchanged before the contents and the mark after them.
+@findex insert-file-literally
+ @kbd{M-x insert-file-literally} is like @kbd{C-x i}, except it
+inserts the specified file with no conversion of the contents: no
+format conversion (@pxref{Formatted Text}), no character code
+conversion (@pxref{Coding Systems}), and no automatic uncompression
+(@pxref{Compressed Files}).
+
@findex write-region
@kbd{M-x write-region} is the inverse of @kbd{M-x insert-file}; it
copies the contents of the region into the specified file. @kbd{M-x