From: Colin Walters Date: Tue, 21 May 2002 21:15:43 +0000 (+0000) Subject: (Recognize Coding): Note addition of `auto-coding-functions'. X-Git-Tag: ttn-vms-21-2-B4~14927 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1d83df136ee7413f061139d613009df871f3a638;p=emacs.git (Recognize Coding): Note addition of `auto-coding-functions'. --- diff --git a/man/mule.texi b/man/mule.texi index 32b7807ccb1..64461a4e6be 100644 --- a/man/mule.texi +++ b/man/mule.texi @@ -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