Mercurial > emacs
comparison src/coding.c @ 30384:d81bc1a374d6
(syms_of_coding): Doc fix for inhibit-iso-escape-detection.
| author | Eli Zaretskii <eliz@gnu.org> |
|---|---|
| date | Sun, 23 Jul 2000 14:53:26 +0000 |
| parents | 8067ad173141 |
| children | 6165da9c89c6 |
comparison
equal
deleted
inserted
replaced
| 30383:2bec5f82f5d0 | 30384:d81bc1a374d6 |
|---|---|
| 6421 &inhibit_iso_escape_detection, | 6421 &inhibit_iso_escape_detection, |
| 6422 "If non-nil, Emacs ignores ISO2022's escape sequence on code detection.\n\ | 6422 "If non-nil, Emacs ignores ISO2022's escape sequence on code detection.\n\ |
| 6423 \n\ | 6423 \n\ |
| 6424 By default, on reading a file, Emacs tries to detect how the text is\n\ | 6424 By default, on reading a file, Emacs tries to detect how the text is\n\ |
| 6425 encoded. This code detection is sensitive to escape sequences. If\n\ | 6425 encoded. This code detection is sensitive to escape sequences. If\n\ |
| 6426 the sequence is valid as ISO2022, the code is detemined as one of\n\ | 6426 the sequence is valid as ISO2022, the code is determined as one of\n\ |
| 6427 ISO2022 encoding, and the file is decoded by the corresponding coding\n\ | 6427 the ISO2022 encodings, and the file is decoded by the corresponding\n\ |
| 6428 system (e.g. `iso-2022-7bit').\n\ | 6428 coding system (e.g. `iso-2022-7bit').\n\ |
| 6429 \n\ | 6429 \n\ |
| 6430 However, there may be a case that you want to read escape sequences in\n\ | 6430 However, there may be a case that you want to read escape sequences in\n\ |
| 6431 a file as is. In such a case, you can set this variable to non-nil.\n\ | 6431 a file as is. In such a case, you can set this variable to non-nil.\n\ |
| 6432 Then, as the code detection ignores any escape sequences, no file is\n\ | 6432 Then, as the code detection ignores any escape sequences, no file is\n\ |
| 6433 detected as some of ISO2022 encoding. The result is that all escape\n\ | 6433 detected as encoded in some ISO2022 encoding. The result is that all\n\ |
| 6434 sequences become visible in a buffer.\n\ | 6434 escape sequences become visible in a buffer.\n\ |
| 6435 \n\ | 6435 \n\ |
| 6436 The default value is nil, and it is strongly recommended not to change\n\ | 6436 The default value is nil, and it is strongly recommended not to change\n\ |
| 6437 it. That is because many Emacs Lisp source files that contain\n\ | 6437 it. That is because many Emacs Lisp source files that contain\n\ |
| 6438 non-ASCII characters are encoded by the coding system `iso-2022-7bit'\n\ | 6438 non-ASCII characters are encoded by the coding system `iso-2022-7bit'\n\ |
| 6439 in Emacs's distribution, and they won't be decoded correctly on\n\ | 6439 in Emacs's distribution, and they won't be decoded correctly on\n\ |
| 6440 reading if you suppress escapse sequence detection.\n\ | 6440 reading if you suppress escape sequence detection.\n\ |
| 6441 \n\ | 6441 \n\ |
| 6442 The other way to read escape sequences in a file without decoding is\n\ | 6442 The other way to read escape sequences in a file without decoding is\n\ |
| 6443 to explicitely specify some coding system that doesn't use ISO2022's\n\ | 6443 to explicitly specify some coding system that doesn't use ISO2022's\n\ |
| 6444 escape sequence (e.g `latin-1') on reading by \\[universal-coding-system-argument]."); | 6444 escape sequence (e.g `latin-1') on reading by \\[universal-coding-system-argument]."); |
| 6445 inhibit_iso_escape_detection = 0; | 6445 inhibit_iso_escape_detection = 0; |
| 6446 } | 6446 } |
| 6447 | 6447 |
| 6448 char * | 6448 char * |
