comparison man/mule.texi @ 72348:abf2841bcbd7

(Recognize Coding, Text Coding): Fix typos.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Thu, 10 Aug 2006 18:42:49 +0000
parents e2891f905379
children affcf7c0ac19 7f3f771c85fa
comparison
equal deleted inserted replaced
72347:494f2c627b5b 72348:abf2841bcbd7
783 Sometimes a file name indicates which coding system to use for the 783 Sometimes a file name indicates which coding system to use for the
784 file. The variable @code{file-coding-system-alist} specifies this 784 file. The variable @code{file-coding-system-alist} specifies this
785 correspondence. There is a special function 785 correspondence. There is a special function
786 @code{modify-coding-system-alist} for adding elements to this list. For 786 @code{modify-coding-system-alist} for adding elements to this list. For
787 example, to read and write all @samp{.txt} files using the coding system 787 example, to read and write all @samp{.txt} files using the coding system
788 @code{china-iso-8bit}, you can execute this Lisp expression: 788 @code{chinese-iso-8bit}, you can execute this Lisp expression:
789 789
790 @smallexample 790 @smallexample
791 (modify-coding-system-alist 'file "\\.txt\\'" 'chinese-iso-8bit) 791 (modify-coding-system-alist 'file "\\.txt\\'" 'chinese-iso-8bit)
792 @end smallexample 792 @end smallexample
793 793
1001 When you specify the coding system for saving in this way, instead 1001 When you specify the coding system for saving in this way, instead
1002 of with @kbd{C-x @key{RET} f}, there is no warning if the buffer 1002 of with @kbd{C-x @key{RET} f}, there is no warning if the buffer
1003 contains characters that the coding system cannot handle. 1003 contains characters that the coding system cannot handle.
1004 1004
1005 Other file commands affected by a specified coding system include 1005 Other file commands affected by a specified coding system include
1006 @kbd{C-x C-i} and @kbd{C-x C-v}, as well as the other-window variants 1006 @kbd{C-x i} and @kbd{C-x C-v}, as well as the other-window variants
1007 of @kbd{C-x C-f}. @kbd{C-x @key{RET} c} also affects commands that 1007 of @kbd{C-x C-f}. @kbd{C-x @key{RET} c} also affects commands that
1008 start subprocesses, including @kbd{M-x shell} (@pxref{Shell}). If the 1008 start subprocesses, including @kbd{M-x shell} (@pxref{Shell}). If the
1009 immediately following command does not use the coding system, then 1009 immediately following command does not use the coding system, then
1010 @kbd{C-x @key{RET} c} ultimately has no effect. 1010 @kbd{C-x @key{RET} c} ultimately has no effect.
1011 1011