aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2002-10-17 07:30:45 +0000
committerKenichi Handa2002-10-17 07:30:45 +0000
commit1d5f8bfc2505a54de2631749cb7feaa4d323dfc8 (patch)
tree26ea8b1e2f03c45d8d7e4347fb2dad1a1555dce6
parent416f1c6f650efa06055f2e293cbae6c178539a25 (diff)
downloademacs-1d5f8bfc2505a54de2631749cb7feaa4d323dfc8.tar.gz
emacs-1d5f8bfc2505a54de2631749cb7feaa4d323dfc8.zip
(cyrillic-alternativnyj-decode-table): Fix
the table. (cyrillic-alternativnyj): Don't give it `mime-charset' property. (cp866): Delete this alias. ("Bulgarian"): Fix the value of `input-method'.
-rw-r--r--lisp/language/cyrillic.el17
1 files changed, 8 insertions, 9 deletions
diff --git a/lisp/language/cyrillic.el b/lisp/language/cyrillic.el
index 21c72f544ce..8b47ca324b5 100644
--- a/lisp/language/cyrillic.el
+++ b/lisp/language/cyrillic.el
@@ -314,7 +314,7 @@ This works whether or not the table is Unicode-based or
314 314
315;; Fixme: It's unclear what's the correct table. I've found 315;; Fixme: It's unclear what's the correct table. I've found
316;; statements both that it's the same as cp866 and somewhat different, 316;; statements both that it's the same as cp866 and somewhat different,
317;; but nothing that looks definitive. 317;; but nothing that looks really definitive.
318(defvar cyrillic-alternativnyj-decode-table 318(defvar cyrillic-alternativnyj-decode-table
319 [ 319 [
320 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 320 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
@@ -332,7 +332,7 @@ This works whether or not the table is Unicode-based or
332;; ?$,2 4(B ?$,2 T(B ?$,2 L(B ?$,2 <(B ?$,2 (B ?$,2 \(B ?$,2 ~(B ?$,2 (B ?$,2 z(B ?$,2 t(B ?$,2!)(B ?$,2!&(B ?$,2! (B ?$,2 p(B ?$,2!,(B ?$,2!'(B 332;; ?$,2 4(B ?$,2 T(B ?$,2 L(B ?$,2 <(B ?$,2 (B ?$,2 \(B ?$,2 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(B ?$,2!@(B
343 ?,L`(B ?,La(B ?,Lb(B ?,Lc(B ?,Ld(B ?,Le(B ?,Lf(B ?,Lg(B ?,Lh(B ?,Li(B ?,Lj(B ?,Lk(B ?,Ll(B ?,Lm(B ?,Ln(B ?,Lo(B 343 ?,L`(B ?,La(B ?,Lb(B ?,Lc(B ?,Ld(B ?,Le(B ?,Lf(B ?,Lg(B ?,Lh(B ?,Li(B ?,Lj(B ?,Lk(B ?,Ll(B ?,Lm(B ?,Ln(B ?,Lo(B
344 ?,L!(B ?,Lq(B ?,L$(B ?,Lt(B ?,L'(B ?,Lw(B ?,L.(B ?,L~(B ?,A0(B ?$,1s"(B ?,A7(B ?$,1x:(B ?,Lp(B ?,A$(B ?$,2!`(B ?,L (B] 344 ;; Taken from http://www.cyrillic.com/ref/cyrillic/koi-8alt.html
345 ;; with guesses for the Unicodes of the glyphs in the absence of a
346 ;; table.
347 ?,L!(B ?,Lq(B ?$,1ry(B ?$,1rx(B ?$,1%A(B ?$,1%@(B ?$,1s:(B ?$,1s9(B ?$,1vq(B ?$,1vs(B ?,A1(B ?,Aw(B ?,Lp(B ?,A$(B ?$,2!`(B ?,L (B]
345 "Cyrillic ALTERNATIVNYJ decoding table.") 348 "Cyrillic ALTERNATIVNYJ decoding table.")
346 349
347(let ((table (make-translation-table-from-vector 350(let ((table (make-translation-table-from-vector
@@ -377,19 +380,15 @@ This works whether or not the table is Unicode-based or
377 380
378(cyrillic-unify-encoding 'cyrillic-alternativnyj-encode-table) 381(cyrillic-unify-encoding 'cyrillic-alternativnyj-encode-table)
379 382
380;; Fixme: Check the cp866 here and in alias below. See comment on the
381;; decode table above.
382(make-coding-system 383(make-coding-system
383 'cyrillic-alternativnyj 4 ?A 384 'cyrillic-alternativnyj 4 ?A
384 "ALTERNATIVNYJ (CP866) 8-bit encoding for Cyrillic." 385 "ALTERNATIVNYJ 8-bit encoding for Cyrillic."
385 '(ccl-decode-alternativnyj . ccl-encode-alternativnyj) 386 '(ccl-decode-alternativnyj . ccl-encode-alternativnyj)
386 `((safe-chars . cyrillic-alternativnyj-encode-table) 387 `((safe-chars . cyrillic-alternativnyj-encode-table)
387 (valid-codes (0 . 255)) 388 (valid-codes (0 . 255))
388 (mime-charset . cp866)
389 (dependency unify-8859-on-encoding-mode unify-8859-on-decoding-mode))) 389 (dependency unify-8859-on-encoding-mode unify-8859-on-decoding-mode)))
390 390
391(define-coding-system-alias 'alternativnyj 'cyrillic-alternativnyj) 391(define-coding-system-alias 'alternativnyj 'cyrillic-alternativnyj)
392(define-coding-system-alias 'cp866 'cyrillic-alternativnyj)
393 392
394(define-ccl-program ccl-encode-alternativnyj-font 393(define-ccl-program ccl-encode-alternativnyj-font
395 `(0 394 `(0
@@ -438,7 +437,7 @@ This works whether or not the table is Unicode-based or
438 (coding-priority windows-1251) 437 (coding-priority windows-1251)
439 (nonascii-translation 438 (nonascii-translation
440 . ,(get 'decode-windows-1251 'translation-table)) 439 . ,(get 'decode-windows-1251 'translation-table))
441 (input-method . "bulgarian-standard") 440 (input-method . "bulgarian-bds")
442 (features code-pages) 441 (features code-pages)
443 (documentation 442 (documentation
444 . "Support for Bulgrian with windows-1251 character set.")) 443 . "Support for Bulgrian with windows-1251 character set."))