[2 94 2 0 ?O 0 "JISX0213-1" "JISX0213-1" "JISX0213 Plane 1 (Japanese)"])
(define-charset 152 'chinese-big5-1
[2 94 2 0 ?0 0 "Big5 (Level-1)" "Big5 (Level-1) A141-C67F"
- "Frequentry used part (A141-C67F) of Big5 (Chinese traditional)"])
+ "Frequently used part (A141-C67F) of Big5 (Chinese traditional)"])
(define-charset 153 'chinese-big5-2
[2 94 2 0 ?1 0 "Big5 (Level-2)" "Big5 (Level-2) C940-FEFE"
- "Less frequentry used part (C940-FEFE) of Big5 (Chinese traditional)"])
+ "Less frequently used part (C940-FEFE) of Big5 (Chinese traditional)"])
;; Additional (private) character sets. These character sets are
;; treated less space-efficiently in the buffer.
(define-charset 241 'tibetan-1-column
[2 94 1 0 ?8 0 "Tibetan 1-col" "Tibetan 1 column" "Tibetan 1 column glyph"])
-;; CHARSET-IDs 242 and 243 are not used.
+;; Subsets of Unicode.
+
+(define-charset 242 'mule-unicode-2500-33ff
+ [2 96 1 0 ?2 0 "Unicode subset 2" "Unicode subset (U+2500..U+33FF)"
+ "Unicode characters of the range U+2500..U+33FF."])
+
+(define-charset 243 'mule-unicode-e000-ffff
+ [2 96 1 0 ?3 0 "Unicode subset 3" "Unicode subset (U+E000+FFFF)"
+ "Unicode characters of the range U+E000..U+FFFF."])
-;; Subset of Unicode.
(define-charset 244 'mule-unicode-0100-24ff
[2 96 1 0 ?1 0 "Unicode subset" "Unicode subset (U+0100..U+24FF)"
"Unicode characters of the range U+0100..U+24FF."])
;; `make-coding-system'.
(put 'no-conversion 'coding-system
- (vector nil ?= "Do no conversion"
+ (vector nil ?= "Do no conversion.
+
+When you visit a file with this coding, the file is read into a
+unibyte buffer as is, thus each byte of a file is treated as a
+character."
(list 'coding-category 'coding-category-binary
'alias-coding-systems '(no-conversion))
nil))
(put 'coding-category-binary 'coding-systems '(no-conversion))
(setq coding-system-list '(no-conversion))
(setq coding-system-alist '(("no-conversion")))
+(register-char-codings 'no-conversion t)
(define-coding-system-alias 'binary 'no-conversion)
(make-coding-system
'emacs-mule 0 ?=
- "Emacs internal format used in buffer and string"
+ "Emacs internal format used in buffer and string.
+
+Encoding text with this coding system produces the actual byte
+sequence of the text in buffers and strings. An exception is made for
+eight-bit-control characters. Each of them is encoded into a single
+byte."
nil
'((safe-charsets . t)))
(make-coding-system
'raw-text 5 ?t
- "Raw text, which means text contains random 8-bit codes."
+ "Raw text, which means text contains random 8-bit codes.
+Encoding text with this coding system produces the actual byte
+sequence of the text in buffers and strings. An exception is made for
+eight-bit-control characters. Each of them is encoded into a single
+byte.
+
+When you visit a file with this coding, the file is read into a
+unibyte buffer as is (except for EOL format), thus each byte of a file
+is treated as a character."
nil
'((safe-charsets . t)))
(composition . t)))
(make-coding-system
- 'x-ctext 2 ?x
+ 'compound-text 2 ?x
"Compound text based generic encoding for decoding unknown messages."
'((ascii t) (latin-iso8859-1 katakana-jisx0201 t) t t
nil ascii-eol ascii-cntl nil locking-shift single-shift nil nil nil
(mime-charset . x-ctext)
(composition . t)))
+(define-coding-system-alias 'x-ctext 'compound-text)
+(define-coding-system-alias 'ctext 'compound-text)
+
(make-coding-system
'iso-safe 2 ?-
"Convert all characters but ASCII to `?'."
(setq file-coding-system-alist
'(("\\.elc\\'" . (emacs-mule . emacs-mule))
- ("\\(\\`\\|/\\)loaddefs.el\\'" . (no-conversion . no-conversion))
+ ;; We use raw-text for reading loaddefs.el so that if it
+ ;; happens to have DOS or Mac EOLs, they are converted to
+ ;; newlines. This is required to make the special treatment
+ ;; of the "\ newline" combination in loaddefs.el, which marks
+ ;; the beginning of a doc string, work.
+ ("\\(\\`\\|/\\)loaddefs.el\\'" . (raw-text . raw-text-unix))
("\\.tar\\'" . (no-conversion . no-conversion))
("" . (undecided . nil))))
coding-category-iso-7-else 'iso-2022-7bit-lock
coding-category-iso-8-else 'iso-2022-8bit-ss2
coding-category-ccl nil
- coding-category-utf-8 nil
+ coding-category-utf-8 'mule-utf-8
coding-category-utf-16-be nil
coding-category-utf-16-le nil
coding-category-big5 'chinese-big5
coding-category-big5
coding-category-ccl
coding-category-binary
+ coding-category-utf-8
coding-category-utf-16-be
- coding-category-utf-16-le
- coding-category-utf-8))
+ coding-category-utf-16-le))
\f
;;; Miscellaneous settings.
(aset latin-extra-code-table ?\222 t)
+(aset latin-extra-code-table ?\223 t)
+(aset latin-extra-code-table ?\224 t)
(update-coding-systems-internal)