Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e215fa58
Commit
e215fa58
authored
Jul 23, 2000
by
Eli Zaretskii
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(syms_of_coding): Doc fix for inhibit-iso-escape-detection.
parent
3a258507
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
src/coding.c
src/coding.c
+7
-7
No files found.
src/coding.c
View file @
e215fa58
...
...
@@ -6423,24 +6423,24 @@ The default value is `select-safe-coding-system' (which see).");
\n
\
By default, on reading a file, Emacs tries to detect how the text is
\n
\
encoded. This code detection is sensitive to escape sequences. If
\n
\
the sequence is valid as ISO2022, the code is detemined as one of
\n
\
ISO2022 encoding, and the file is decoded by the corresponding
coding
\n
\
system (e.g. `iso-2022-7bit').
\n
\
the sequence is valid as ISO2022, the code is dete
r
mined as one of
\n
\
the
ISO2022 encoding
s
, and the file is decoded by the corresponding
\n
\
coding
system (e.g. `iso-2022-7bit').
\n
\
\n
\
However, there may be a case that you want to read escape sequences in
\n
\
a file as is. In such a case, you can set this variable to non-nil.
\n
\
Then, as the code detection ignores any escape sequences, no file is
\n
\
detected as some
of
ISO2022 encoding. The result is that all
escape
\n
\
sequences become visible in a buffer.
\n
\
detected as
encoded in
some ISO2022 encoding. The result is that all
\n
\
escape
sequences become visible in a buffer.
\n
\
\n
\
The default value is nil, and it is strongly recommended not to change
\n
\
it. That is because many Emacs Lisp source files that contain
\n
\
non-ASCII characters are encoded by the coding system `iso-2022-7bit'
\n
\
in Emacs's distribution, and they won't be decoded correctly on
\n
\
reading if you suppress escap
s
e sequence detection.
\n
\
reading if you suppress escape sequence detection.
\n
\
\n
\
The other way to read escape sequences in a file without decoding is
\n
\
to explicit
e
ly specify some coding system that doesn't use ISO2022's
\n
\
to explicitly specify some coding system that doesn't use ISO2022's
\n
\
escape sequence (e.g `latin-1') on reading by
\\
[universal-coding-system-argument]."
);
inhibit_iso_escape_detection
=
0
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment