comparison lisp/language/cyrillic.el @ 42152:e3ae5ef41293

Improving doc strings.
author Werner LEMBERG <wl@gnu.org>
date Tue, 18 Dec 2001 17:51:50 +0000
parents 67b464da13ec
children 86424df72c8b fad0f879877f
comparison
equal deleted inserted replaced
42151:e9a441eabced 42152:e3ae5ef41293
34 34
35 ;; ISO-8859-5 staff 35 ;; ISO-8859-5 staff
36 36
37 (make-coding-system 37 (make-coding-system
38 'cyrillic-iso-8bit 2 ?5 38 'cyrillic-iso-8bit 2 ?5
39 "ISO 2022 based 8-bit encoding for Cyrillic script (MIME:ISO-8859-5)" 39 "ISO 2022 based 8-bit encoding for Cyrillic script (MIME:ISO-8859-5)."
40 '(ascii cyrillic-iso8859-5 nil nil 40 '(ascii cyrillic-iso8859-5 nil nil
41 nil nil nil nil nil nil nil) 41 nil nil nil nil nil nil nil)
42 '((safe-charsets ascii cyrillic-iso8859-5) 42 '((safe-charsets ascii cyrillic-iso8859-5)
43 (mime-charset . iso-8859-5))) 43 (mime-charset . iso-8859-5)))
44 44
109 'cyrillic-koi8 4 109 'cyrillic-koi8 4
110 ;; We used to use ?K. It is true that ?K is more strictly correct, 110 ;; We used to use ?K. It is true that ?K is more strictly correct,
111 ;; but it is also used for Korean. 111 ;; but it is also used for Korean.
112 ;; So people who use koi8 for languages other than Russian 112 ;; So people who use koi8 for languages other than Russian
113 ;; will have to forgive us. 113 ;; will have to forgive us.
114 ?R "KOI8 8-bit encoding for Cyrillic (MIME: KOI8-R)" 114 ?R
115 "KOI8 8-bit encoding for Cyrillic (MIME: KOI8-R)."
115 '(ccl-decode-koi8 . ccl-encode-koi8) 116 '(ccl-decode-koi8 . ccl-encode-koi8)
116 `((safe-chars . ,(let ((table (make-char-table 'safe-chars)) 117 `((safe-chars . ,(let ((table (make-char-table 'safe-chars))
117 (i 0)) 118 (i 0))
118 (while (< i 256) 119 (while (< i 256)
119 (aset table (aref cyrillic-koi8-r-decode-table i) t) 120 (aset table (aref cyrillic-koi8-r-decode-table i) t)
200 (write-repeat r1)))) 201 (write-repeat r1))))
201 "CCL program to encode Alternativnyj.") 202 "CCL program to encode Alternativnyj.")
202 203
203 (make-coding-system 204 (make-coding-system
204 'cyrillic-alternativnyj 4 ?A 205 'cyrillic-alternativnyj 4 ?A
205 "ALTERNATIVNYJ 8-bit encoding for Cyrillic" 206 "ALTERNATIVNYJ 8-bit encoding for Cyrillic."
206 '(ccl-decode-alternativnyj . ccl-encode-alternativnyj) 207 '(ccl-decode-alternativnyj . ccl-encode-alternativnyj)
207 `((safe-chars . ,(let ((table (make-char-table 'safe-chars)) 208 `((safe-chars . ,(let ((table (make-char-table 'safe-chars))
208 (i 0)) 209 (i 0))
209 (while (< i 256) 210 (while (< i 256)
210 (aset table (aref cyrillic-alternativnyj-decode-table i) 211 (aset table (aref cyrillic-alternativnyj-decode-table i)