Mercurial > emacs
annotate lisp/=term-nasty.el @ 28022:6c41f3276340
Add comments on coding-category-utf-8,
coding-category-utf-16-be, and coding-category-utf-16-le.
(coding_category_name): Include "coding-category-utf-8",
"coding-category-utf-16-be", and "coding-category-utf-16-le".
(UTF_8_1_OCTET_P) (UTF_8_EXTRA_OCTET_P) (UTF_8_2_OCTET_LEADING_P)
(UTF_8_3_OCTET_LEADING_P) (UTF_8_4_OCTET_LEADING_P)
(UTF_8_5_OCTET_LEADING_P) (UTF_8_6_OCTET_LEADING_P): New macros.
(detect_coding_utf_8): New function.
(UTF_16_INVALID_P) (TF_16_HIGH_SURROGATE_P)
(UTF_16_LOW_SURROGATE_P): New macros.
(detect_coding_utf_16): New function.
(detect_coding_mask): Fix bug of returning wrong mask bits in the
case that detect_coding_XXX returns a mask not set in
priorities[i].
(detect_eol_type_in_2_octet_form): New function.
(detect_eol): If cooding->category_idx is for UTF-16, call
detect_eol_type_in_2_octet_form instead of dectect_eol_type.
(detect_coding_system): Don't include `nil' coding-system in the
result.
(Fupdate_coding_systems_internal): Update all coding-categories.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 07 Mar 2000 06:17:54 +0000 |
parents | 9d4205d1e460 |
children |
rev | line source |
---|---|
657
fec3f9a1e3e5
*** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
83
diff
changeset
|
1 ;;; term-nasty.el --- Damned Things from terminfo.el |
83 | 2 |
14527 | 3 ;;; This text is no longer included in Emacs, because it was censored |
4 ;;; by the Communications Decency Act. The law was promoted as a ban | |
5 ;;; on pornography, but it bans far more than that. This file did not | |
14541 | 6 ;;; contain pornography, but it was prohibited nonetheless. |
83 | 7 |
14527 | 8 ;;; For information on US government censorship of the Internet, and |
9 ;;; what you can do to bring back freedom of the press, see the web | |
10 ;;; site http://www.vtw.org/ | |
657
fec3f9a1e3e5
*** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
83
diff
changeset
|
11 |
fec3f9a1e3e5
*** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
83
diff
changeset
|
12 ;;; term-nasty.el ends here |