Mercurial > emacs
comparison lispref/nonascii.texi @ 77123:4d7a5d9bbe76
improve breaks in 8.5x11
author | Karl Berry <karl@gnu.org> |
---|---|
date | Wed, 11 Apr 2007 16:27:33 +0000 |
parents | 55c9ef5f1559 |
children | a1e16e813aed db98e7ef9738 e6fdae9180d4 |
comparison
equal
deleted
inserted
replaced
77122:45143a80737a | 77123:4d7a5d9bbe76 |
---|---|
1103 The first element, @var{decoding-system}, is the coding system to use | 1103 The first element, @var{decoding-system}, is the coding system to use |
1104 for decoding (in case @var{operation} does decoding), and | 1104 for decoding (in case @var{operation} does decoding), and |
1105 @var{encoding-system} is the coding system for encoding (in case | 1105 @var{encoding-system} is the coding system for encoding (in case |
1106 @var{operation} does encoding). | 1106 @var{operation} does encoding). |
1107 | 1107 |
1108 The argument @var{operation} should be a symbol, any one of | 1108 The argument @var{operation} is a symbol, one of @code{write-region}, |
1109 @code{insert-file-contents}, @code{write-region}, | |
1110 @code{start-process}, @code{call-process}, @code{call-process-region}, | 1109 @code{start-process}, @code{call-process}, @code{call-process-region}, |
1111 or @code{open-network-stream}. These are the names of the Emacs I/O | 1110 @code{insert-file-contents}, or @code{open-network-stream}. These are |
1112 primitives that can do character code and eol conversion. | 1111 the names of the Emacs I/O primitives that can do character code and |
1112 eol conversion. | |
1113 | 1113 |
1114 The remaining arguments should be the same arguments that might be given | 1114 The remaining arguments should be the same arguments that might be given |
1115 to the corresponding I/O primitive. Depending on the primitive, one | 1115 to the corresponding I/O primitive. Depending on the primitive, one |
1116 of those arguments is selected as the @dfn{target}. For example, if | 1116 of those arguments is selected as the @dfn{target}. For example, if |
1117 @var{operation} does file I/O, whichever argument specifies the file | 1117 @var{operation} does file I/O, whichever argument specifies the file |
1163 ;; @r{Assume @acronym{crlf} represents end-of-line.} | 1163 ;; @r{Assume @acronym{crlf} represents end-of-line.} |
1164 (let ((coding-system-for-read 'emacs-mule-dos)) | 1164 (let ((coding-system-for-read 'emacs-mule-dos)) |
1165 (insert-file-contents filename)) | 1165 (insert-file-contents filename)) |
1166 @end example | 1166 @end example |
1167 | 1167 |
1168 When its value is non-@code{nil}, @code{coding-system-for-read} takes | 1168 When its value is non-@code{nil}, this variable takes precedence over |
1169 precedence over all other methods of specifying a coding system to use for | 1169 all other methods of specifying a coding system to use for input, |
1170 input, including @code{file-coding-system-alist}, | 1170 including @code{file-coding-system-alist}, |
1171 @code{process-coding-system-alist} and | 1171 @code{process-coding-system-alist} and |
1172 @code{network-coding-system-alist}. | 1172 @code{network-coding-system-alist}. |
1173 @end defvar | 1173 @end defvar |
1174 | 1174 |
1175 @defvar coding-system-for-write | 1175 @defvar coding-system-for-write |