diff options
| author | Gerd Moellmann | 2001-05-17 09:11:21 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-05-17 09:11:21 +0000 |
| commit | 9952f1f86e7f14181914f34afb5cb7efcf836c80 (patch) | |
| tree | fb65a29b51b3c65ab38b2f74ea95dd2eeef357d8 | |
| parent | 41cd7d672b5c15768eb162722ec2aa273b93e177 (diff) | |
| download | emacs-9952f1f86e7f14181914f34afb5cb7efcf836c80.tar.gz emacs-9952f1f86e7f14181914f34afb5cb7efcf836c80.zip | |
Add something for auto-coding-regexp-alist.
| -rw-r--r-- | man/mule.texi | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/man/mule.texi b/man/mule.texi index 40bf368f1d4..fb94ef986d2 100644 --- a/man/mule.texi +++ b/man/mule.texi | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | @c This is part of the Emacs manual. | 1 | @c This is part of the Emacs manual. |
| 2 | @c Copyright (C) 1997, 1999, 2000 Free Software Foundation, Inc. | 2 | @c Copyright (C) 1997, 1999, 2000, 2001 Free Software Foundation, Inc. |
| 3 | @c See file emacs.texi for copying conditions. | 3 | @c See file emacs.texi for copying conditions. |
| 4 | @node International, Major Modes, Frames, Top | 4 | @node International, Major Modes, Frames, Top |
| 5 | @chapter International Character Set Support | 5 | @chapter International Character Set Support |
| @@ -786,12 +786,18 @@ coding system, as well as C mode. If you specify the coding explicitly | |||
| 786 | in the file, that overrides @code{file-coding-system-alist}. | 786 | in the file, that overrides @code{file-coding-system-alist}. |
| 787 | 787 | ||
| 788 | @vindex auto-coding-alist | 788 | @vindex auto-coding-alist |
| 789 | The variable @code{auto-coding-alist} is the strongest way to specify | 789 | @vindex auto-coding-regexp-alist |
| 790 | the coding system for certain patterns of file names; this variable even | 790 | The variables @code{auto-coding-alist} and |
| 791 | overrides @samp{-*-coding:-*-} tags in the file itself. Emacs uses this | 791 | @code{auto-coding-regexp-alist} are the strongest way to specify the |
| 792 | feature for tar and archive files, to prevent Emacs from being confused | 792 | coding system for certain patterns of file names, or for files |
| 793 | by a @samp{-*-coding:-*-} tag in a member of the archive and thinking it | 793 | containing certain patterns; these variables even override |
| 794 | applies to the archive file as a whole. | 794 | @samp{-*-coding:-*-} tags in the file itself. Emacs uses |
| 795 | @code{auto-coding-alist} for tar and archive files, to prevent Emacs | ||
| 796 | from being confused by a @samp{-*-coding:-*-} tag in a member of the | ||
| 797 | archive and thinking it applies to the archive file as a whole. | ||
| 798 | Likewise, Emacs uses @code{auto-coding-regexp-alist} to ensure that | ||
| 799 | RMAIL files, whose names in general don't match any particular pattern, | ||
| 800 | are decoded correctly. | ||
| 795 | 801 | ||
| 796 | If Emacs recognizes the encoding of a file incorrectly, you can | 802 | If Emacs recognizes the encoding of a file incorrectly, you can |
| 797 | reread the file using the correct coding system by typing @kbd{C-x | 803 | reread the file using the correct coding system by typing @kbd{C-x |