Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
1d83df13
Commit
1d83df13
authored
May 21, 2002
by
Colin Walters
Browse files
(Recognize Coding): Note addition of `auto-coding-functions'.
parent
d9f6dfe6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
man/mule.texi
man/mule.texi
+10
-8
No files found.
man/mule.texi
View file @
1d83df13
...
...
@@ -793,17 +793,19 @@ explicitly in the file, that overrides
@vindex auto-coding-alist
@vindex auto-coding-regexp-alist
The variables @code{auto-coding-alist} and
@code{auto-coding-regexp-alist} are the strongest way to specify the
coding system for certain patterns of file names, or for files
containing certain patterns; these variables even override
@samp{-*-coding:-*-} tags in the file itself. Emacs uses
@code{auto-coding-alist} for tar and archive files, to prevent it
@vindex auto-coding-functions
The variables @code{auto-coding-alist},
@code{auto-coding-regexp-alist} and @code{auto-coding-functions} are
the strongest way to specify the coding system for certain patterns of
file names, or for files containing certain patterns; these variables
even override @samp{-*-coding:-*-} tags in the file itself. Emacs
uses @code{auto-coding-alist} for tar and archive files, to prevent it
from being confused by a @samp{-*-coding:-*-} tag in a member of the
archive and thinking it applies to the archive file as a whole.
Likewise, Emacs uses @code{auto-coding-regexp-alist} to ensure that
RMAIL files, whose names in general don't match any particular pattern,
are decoded correctly.
RMAIL files, whose names in general don't match any particular
pattern, are decoded correctly. One of the builtin
@code{auto-coding-functions} detects the encoding for XML files.
If Emacs recognizes the encoding of a file incorrectly, you can
reread the file using the correct coding system by typing @kbd{C-x
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment