aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2002-05-26 17:17:32 +0000
committerDave Love2002-05-26 17:17:32 +0000
commitcb269bb1045d6d4fdd12b7f88352297673dd8b30 (patch)
treea113ab188210034a23b3bf008168e8f5f99c0a6e
parent1965cb73a0d858a1cc5169a3005a80d7b96e3214 (diff)
downloademacs-cb269bb1045d6d4fdd12b7f88352297673dd8b30.tar.gz
emacs-cb269bb1045d6d4fdd12b7f88352297673dd8b30.zip
Doc fixes. Remove redundant
:long-name properties. Re-order charset priorities. (binary): New alias. (iso-8859-16): Fix nickname. (define-iso-single-byte-charset): Un-define after use.
-rw-r--r--lisp/international/mule-conf.el82
1 files changed, 21 insertions, 61 deletions
diff --git a/lisp/international/mule-conf.el b/lisp/international/mule-conf.el
index 98c02fdc04d..d82f3dc0b66 100644
--- a/lisp/international/mule-conf.el
+++ b/lisp/international/mule-conf.el
@@ -77,7 +77,7 @@
77(define-charset-alias 'ucs 'unicode) 77(define-charset-alias 'ucs 'unicode)
78 78
79(define-charset 'emacs 79(define-charset 'emacs
80 "Full Emacs characters." 80 "Full Emacs characters"
81 :ascii-compatible-p t 81 :ascii-compatible-p t
82 :code-space [ 0 255 0 255 0 63 ] 82 :code-space [ 0 255 0 255 0 63 ]
83 :code-offset 0 83 :code-offset 0
@@ -114,7 +114,6 @@
114(defmacro define-iso-single-byte-charset (symbol iso-symbol name nickname 114(defmacro define-iso-single-byte-charset (symbol iso-symbol name nickname
115 iso-ir iso-final 115 iso-ir iso-final
116 emacs-mule-id map) 116 emacs-mule-id map)
117 "For internal use only."
118 `(progn 117 `(progn
119 (define-charset ,symbol 118 (define-charset ,symbol
120 ,name 119 ,name
@@ -177,6 +176,9 @@
177(define-iso-single-byte-charset 'iso-8859-16 'latin-iso8859-16 176(define-iso-single-byte-charset 'iso-8859-16 'latin-iso8859-16
178 "ISO/IEC 8859/16" "Latin-10" 226 ?f nil "8859-16") 177 "ISO/IEC 8859/16" "Latin-10" 226 ?f nil "8859-16")
179 178
179;; No point in keeping it around.
180(fmakunbound 'define-iso-single-byte-charset)
181
180(define-charset 'thai-tis620 182(define-charset 'thai-tis620
181 "TIS620.2533" 183 "TIS620.2533"
182 :short-name "TIS620.2533" 184 :short-name "TIS620.2533"
@@ -195,7 +197,6 @@
195(define-charset 'jisx0201 197(define-charset 'jisx0201
196 "JISX0201" 198 "JISX0201"
197 :short-name "JISX0201" 199 :short-name "JISX0201"
198 :long-name "JISX0201"
199 :code-space [33 254] 200 :code-space [33 254]
200 :map "jisx0201") 201 :map "jisx0201")
201 202
@@ -230,7 +231,6 @@
230(define-charset 'chinese-gbk 231(define-charset 'chinese-gbk
231 "GBK Chinese simplified." 232 "GBK Chinese simplified."
232 :short-name "GBK" 233 :short-name "GBK"
233 :long-name "GBK"
234 :code-space [#x40 #xFE #x81 #xFE] 234 :code-space [#x40 #xFE #x81 #xFE]
235 :code-offset #x150000 235 :code-offset #x150000
236 :unify-map "gbk") 236 :unify-map "gbk")
@@ -303,7 +303,6 @@
303(define-charset 'big5 303(define-charset 'big5
304 "Big5 (Chinese traditional)" 304 "Big5 (Chinese traditional)"
305 :short-name "Big5" 305 :short-name "Big5"
306 :long-name "Big5"
307 :code-space [#x40 #xFE #xA1 #xFE] 306 :code-space [#x40 #xFE #xA1 #xFE]
308 :code-offset #x130000 307 :code-offset #x130000
309 :unify-map "big5") 308 :unify-map "big5")
@@ -361,7 +360,6 @@
361(define-charset 'japanese-jisx0213-1 360(define-charset 'japanese-jisx0213-1
362 "JISX0213 Plane 1 (Japanese)" 361 "JISX0213 Plane 1 (Japanese)"
363 :short-name "JISX0213-1" 362 :short-name "JISX0213-1"
364 :long-name "JISX0213-1"
365 :iso-final-char ?O 363 :iso-final-char ?O
366 :emacs-mule-id 151 364 :emacs-mule-id 151
367 :code-space [33 126 33 126] 365 :code-space [33 126 33 126]
@@ -370,7 +368,6 @@
370(define-charset 'japanese-jisx0213-2 368(define-charset 'japanese-jisx0213-2
371 "JISX0213 Plane 2 (Japanese)" 369 "JISX0213 Plane 2 (Japanese)"
372 :short-name "JISX0213-2" 370 :short-name "JISX0213-2"
373 :long-name "JISX0213-2"
374 :iso-final-char ?P 371 :iso-final-char ?P
375 :emacs-mule-id 254 372 :emacs-mule-id 254
376 :code-space [33 126 33 126] 373 :code-space [33 126 33 126]
@@ -397,7 +394,6 @@
397(define-charset 'ipa 394(define-charset 'ipa
398 "IPA (International Phonetic Association)" 395 "IPA (International Phonetic Association)"
399 :short-name "IPA" 396 :short-name "IPA"
400 :long-name "IPA"
401 :iso-final-char ?0 397 :iso-final-char ?0
402 :emacs-mule-id 161 398 :emacs-mule-id 161
403 :code-space [32 127] 399 :code-space [32 127]
@@ -433,14 +429,12 @@
433(define-charset 'vscii 429(define-charset 'vscii
434 "VSCII1.1" 430 "VSCII1.1"
435 :short-name "VSCII" 431 :short-name "VSCII"
436 :long-name "VSCII"
437 :code-space [0 255] 432 :code-space [0 255]
438 :map "vscii") 433 :map "vscii")
439 434
440(define-charset 'koi8-r 435(define-charset 'koi8-r
441 "KOI8-R" 436 "KOI8-R"
442 :short-name "KOI8-R" 437 :short-name "KOI8-R"
443 :long-name "KOI8-R"
444 :ascii-compatible-p t 438 :ascii-compatible-p t
445 :code-space [0 255] 439 :code-space [0 255]
446 :map "koi8-r") 440 :map "koi8-r")
@@ -450,7 +444,6 @@
450(define-charset 'alternativnyj 444(define-charset 'alternativnyj
451 "ALTERNATIVNYJ" 445 "ALTERNATIVNYJ"
452 :short-name "alternativnyj" 446 :short-name "alternativnyj"
453 :long-name "alternativnyj"
454 :ascii-compatible-p t 447 :ascii-compatible-p t
455 :code-space [0 255] 448 :code-space [0 255]
456 :map "ibm866") 449 :map "ibm866")
@@ -460,7 +453,6 @@
460(define-charset 'koi8-u 453(define-charset 'koi8-u
461 "KOI8-U" 454 "KOI8-U"
462 :short-name "KOI8-U" 455 :short-name "KOI8-U"
463 :long-name "KOI8-U"
464 :ascii-compatible-p t 456 :ascii-compatible-p t
465 :code-space [0 255] 457 :code-space [0 255]
466 :map "koi8-u") 458 :map "koi8-u")
@@ -468,7 +460,6 @@
468(define-charset 'koi8-t 460(define-charset 'koi8-t
469 "KOI8-T" 461 "KOI8-T"
470 :short-name "KOI8-T" 462 :short-name "KOI8-T"
471 :long-name "KOI8-T"
472 :ascii-compatible-p t 463 :ascii-compatible-p t
473 :code-space [0 255] 464 :code-space [0 255]
474 :map "koi8-t") 465 :map "koi8-t")
@@ -476,7 +467,6 @@
476(define-charset 'georgian-ps 467(define-charset 'georgian-ps
477 "GEORGIAN-PS" 468 "GEORGIAN-PS"
478 :short-name "GEORGIAN-PS" 469 :short-name "GEORGIAN-PS"
479 :long-name "GEORGIAN-PS"
480 :ascii-compatible-p t 470 :ascii-compatible-p t
481 :code-space [0 255] 471 :code-space [0 255]
482 :map "georgian-ps") 472 :map "georgian-ps")
@@ -484,7 +474,6 @@
484(define-charset 'windows-1250 474(define-charset 'windows-1250
485 "WINDOWS-1250 (Central Europe)" 475 "WINDOWS-1250 (Central Europe)"
486 :short-name "WINDOWS-1250" 476 :short-name "WINDOWS-1250"
487 :long-name "WINDOWS-1250"
488 :ascii-compatible-p t 477 :ascii-compatible-p t
489 :code-space [0 255] 478 :code-space [0 255]
490 :map "windows-1250") 479 :map "windows-1250")
@@ -493,7 +482,6 @@
493(define-charset 'windows-1251 482(define-charset 'windows-1251
494 "WINDOWS-1251" 483 "WINDOWS-1251"
495 :short-name "WINDOWS-1251" 484 :short-name "WINDOWS-1251"
496 :long-name "WINDOWS-1251"
497 :ascii-compatible-p t 485 :ascii-compatible-p t
498 :code-space [0 255] 486 :code-space [0 255]
499 :map "windows-1251") 487 :map "windows-1251")
@@ -502,7 +490,6 @@
502(define-charset 'windows-1252 490(define-charset 'windows-1252
503 "WINDOWS-1252 (Greek)" 491 "WINDOWS-1252 (Greek)"
504 :short-name "WINDOWS-1252" 492 :short-name "WINDOWS-1252"
505 :long-name "WINDOWS-1252"
506 :ascii-compatible-p t 493 :ascii-compatible-p t
507 :code-space [0 255] 494 :code-space [0 255]
508 :map "windows-1252") 495 :map "windows-1252")
@@ -511,7 +498,6 @@
511(define-charset 'windows-1253 498(define-charset 'windows-1253
512 "WINDOWS-1253" 499 "WINDOWS-1253"
513 :short-name "WINDOWS-1253" 500 :short-name "WINDOWS-1253"
514 :long-name "WINDOWS-1253"
515 :ascii-compatible-p t 501 :ascii-compatible-p t
516 :code-space [0 255] 502 :code-space [0 255]
517 :map "windows-1253") 503 :map "windows-1253")
@@ -520,7 +506,6 @@
520(define-charset 'windows-1254 506(define-charset 'windows-1254
521 "WINDOWS-1254" 507 "WINDOWS-1254"
522 :short-name "WINDOWS-1254" 508 :short-name "WINDOWS-1254"
523 :long-name "WINDOWS-1254"
524 :ascii-compatible-p t 509 :ascii-compatible-p t
525 :code-space [0 255] 510 :code-space [0 255]
526 :map "windows-1254") 511 :map "windows-1254")
@@ -529,7 +514,6 @@
529(define-charset 'windows-1255 514(define-charset 'windows-1255
530 "WINDOWS-1255 (Hebrew)" 515 "WINDOWS-1255 (Hebrew)"
531 :short-name "WINDOWS-1255" 516 :short-name "WINDOWS-1255"
532 :long-name "WINDOWS-1255"
533 :ascii-compatible-p t 517 :ascii-compatible-p t
534 :code-space [0 255] 518 :code-space [0 255]
535 :map "windows-1255") 519 :map "windows-1255")
@@ -538,7 +522,6 @@
538(define-charset 'windows-1256 522(define-charset 'windows-1256
539 "WINDOWS-1256 (Arabic)" 523 "WINDOWS-1256 (Arabic)"
540 :short-name "WINDOWS-1256" 524 :short-name "WINDOWS-1256"
541 :long-name "WINDOWS-1256"
542 :ascii-compatible-p t 525 :ascii-compatible-p t
543 :code-space [0 255] 526 :code-space [0 255]
544 :map "windows-1256") 527 :map "windows-1256")
@@ -547,7 +530,6 @@
547(define-charset 'windows-1257 530(define-charset 'windows-1257
548 "WINDOWS-1257 (Baltic)" 531 "WINDOWS-1257 (Baltic)"
549 :short-name "WINDOWS-1257" 532 :short-name "WINDOWS-1257"
550 :long-name "WINDOWS-1257"
551 :ascii-compatible-p t 533 :ascii-compatible-p t
552 :code-space [0 255] 534 :code-space [0 255]
553 :map "windows-1257") 535 :map "windows-1257")
@@ -556,7 +538,6 @@
556(define-charset 'windows-1258 538(define-charset 'windows-1258
557 "WINDOWS-1258" 539 "WINDOWS-1258"
558 :short-name "WINDOWS-1258" 540 :short-name "WINDOWS-1258"
559 :long-name "WINDOWS-1258"
560 :ascii-compatible-p t 541 :ascii-compatible-p t
561 :code-space [0 255] 542 :code-space [0 255]
562 :map "windows-1258") 543 :map "windows-1258")
@@ -565,7 +546,6 @@
565(define-charset 'next 546(define-charset 'next
566 "NEXT" 547 "NEXT"
567 :short-name "NEXT" 548 :short-name "NEXT"
568 :long-name "NEXT"
569 :ascii-compatible-p t 549 :ascii-compatible-p t
570 :code-space [0 255] 550 :code-space [0 255]
571 :map "next") 551 :map "next")
@@ -573,7 +553,6 @@
573(define-charset 'cp1125 553(define-charset 'cp1125
574 "CP1125" 554 "CP1125"
575 :short-name "CP1125" 555 :short-name "CP1125"
576 :long-name "CP1125"
577 :code-space [0 255] 556 :code-space [0 255]
578 :map "cp1125") 557 :map "cp1125")
579(define-charset-alias 'ruscii 'cp1125) 558(define-charset-alias 'ruscii 'cp1125)
@@ -583,7 +562,6 @@
583(define-charset 'cp437 562(define-charset 'cp437
584 "CP437" 563 "CP437"
585 :short-name "CP437" 564 :short-name "CP437"
586 :long-name "CP437"
587 :code-space [0 255] 565 :code-space [0 255]
588 :ascii-compatible-p t 566 :ascii-compatible-p t
589 :map "cp437") 567 :map "cp437")
@@ -591,7 +569,6 @@
591(define-charset 'cp737 569(define-charset 'cp737
592 "CP737" 570 "CP737"
593 :short-name "CP737" 571 :short-name "CP737"
594 :long-name "CP737"
595 :code-space [0 255] 572 :code-space [0 255]
596 :ascii-compatible-p t 573 :ascii-compatible-p t
597 :map "cp737") 574 :map "cp737")
@@ -599,7 +576,6 @@
599(define-charset 'cp775 576(define-charset 'cp775
600 "CP775" 577 "CP775"
601 :short-name "CP775" 578 :short-name "CP775"
602 :long-name "CP775"
603 :code-space [0 255] 579 :code-space [0 255]
604 :ascii-compatible-p t 580 :ascii-compatible-p t
605 :map "cp775") 581 :map "cp775")
@@ -607,7 +583,6 @@
607(define-charset 'cp851 583(define-charset 'cp851
608 "CP851" 584 "CP851"
609 :short-name "CP851" 585 :short-name "CP851"
610 :long-name "CP851"
611 :code-space [0 255] 586 :code-space [0 255]
612 :ascii-compatible-p t 587 :ascii-compatible-p t
613 :map "cp851") 588 :map "cp851")
@@ -615,7 +590,6 @@
615(define-charset 'cp852 590(define-charset 'cp852
616 "CP852" 591 "CP852"
617 :short-name "CP852" 592 :short-name "CP852"
618 :long-name "CP852"
619 :code-space [0 255] 593 :code-space [0 255]
620 :ascii-compatible-p t 594 :ascii-compatible-p t
621 :map "cp852") 595 :map "cp852")
@@ -623,7 +597,6 @@
623(define-charset 'cp855 597(define-charset 'cp855
624 "CP855" 598 "CP855"
625 :short-name "CP855" 599 :short-name "CP855"
626 :long-name "CP855"
627 :code-space [0 255] 600 :code-space [0 255]
628 :ascii-compatible-p t 601 :ascii-compatible-p t
629 :map "cp855") 602 :map "cp855")
@@ -631,7 +604,6 @@
631(define-charset 'cp857 604(define-charset 'cp857
632 "CP857" 605 "CP857"
633 :short-name "CP857" 606 :short-name "CP857"
634 :long-name "CP857"
635 :code-space [0 255] 607 :code-space [0 255]
636 :ascii-compatible-p t 608 :ascii-compatible-p t
637 :map "cp857") 609 :map "cp857")
@@ -639,7 +611,6 @@
639(define-charset 'cp860 611(define-charset 'cp860
640 "CP860" 612 "CP860"
641 :short-name "CP860" 613 :short-name "CP860"
642 :long-name "CP860"
643 :code-space [0 255] 614 :code-space [0 255]
644 :ascii-compatible-p t 615 :ascii-compatible-p t
645 :map "cp860") 616 :map "cp860")
@@ -647,7 +618,6 @@
647(define-charset 'cp861 618(define-charset 'cp861
648 "CP861" 619 "CP861"
649 :short-name "CP861" 620 :short-name "CP861"
650 :long-name "CP861"
651 :code-space [0 255] 621 :code-space [0 255]
652 :ascii-compatible-p t 622 :ascii-compatible-p t
653 :map "cp861") 623 :map "cp861")
@@ -655,7 +625,6 @@
655(define-charset 'cp862 625(define-charset 'cp862
656 "CP862" 626 "CP862"
657 :short-name "CP862" 627 :short-name "CP862"
658 :long-name "CP862"
659 :code-space [0 255] 628 :code-space [0 255]
660 :ascii-compatible-p t 629 :ascii-compatible-p t
661 :map "cp862") 630 :map "cp862")
@@ -663,7 +632,6 @@
663(define-charset 'cp863 632(define-charset 'cp863
664 "CP863" 633 "CP863"
665 :short-name "CP863" 634 :short-name "CP863"
666 :long-name "CP863"
667 :code-space [0 255] 635 :code-space [0 255]
668 :ascii-compatible-p t 636 :ascii-compatible-p t
669 :map "cp863") 637 :map "cp863")
@@ -671,7 +639,6 @@
671(define-charset 'cp864 639(define-charset 'cp864
672 "CP864" 640 "CP864"
673 :short-name "CP864" 641 :short-name "CP864"
674 :long-name "CP864"
675 :code-space [0 255] 642 :code-space [0 255]
676 :ascii-compatible-p t 643 :ascii-compatible-p t
677 :map "cp864") 644 :map "cp864")
@@ -679,7 +646,6 @@
679(define-charset 'cp865 646(define-charset 'cp865
680 "CP865" 647 "CP865"
681 :short-name "CP865" 648 :short-name "CP865"
682 :long-name "CP865"
683 :code-space [0 255] 649 :code-space [0 255]
684 :ascii-compatible-p t 650 :ascii-compatible-p t
685 :map "cp865") 651 :map "cp865")
@@ -687,7 +653,6 @@
687(define-charset 'cp869 653(define-charset 'cp869
688 "CP869" 654 "CP869"
689 :short-name "CP869" 655 :short-name "CP869"
690 :long-name "CP869"
691 :code-space [0 255] 656 :code-space [0 255]
692 :ascii-compatible-p t 657 :ascii-compatible-p t
693 :map "cp869") 658 :map "cp869")
@@ -695,7 +660,6 @@
695(define-charset 'cp874 660(define-charset 'cp874
696 "CP874" 661 "CP874"
697 :short-name "CP874" 662 :short-name "CP874"
698 :long-name "CP874"
699 :code-space [0 255] 663 :code-space [0 255]
700 :ascii-compatible-p t 664 :ascii-compatible-p t
701 :map "cp874") 665 :map "cp874")
@@ -707,7 +671,6 @@
707(define-charset 'arabic-digit 671(define-charset 'arabic-digit
708 "Arabic digit" 672 "Arabic digit"
709 :short-name "Arabic digit" 673 :short-name "Arabic digit"
710 :long-name "Arabic digit"
711 :iso-final-char ?2 674 :iso-final-char ?2
712 :emacs-mule-id 164 675 :emacs-mule-id 164
713 :code-space [34 42] 676 :code-space [34 42]
@@ -736,7 +699,6 @@
736(define-charset 'lao 699(define-charset 'lao
737 "Lao characters (ISO10646 0E81..0EDF)" 700 "Lao characters (ISO10646 0E81..0EDF)"
738 :short-name "Lao" 701 :short-name "Lao"
739 :long-name "Lao"
740 :iso-final-char ?1 702 :iso-final-char ?1
741 :emacs-mule-id 167 703 :emacs-mule-id 167
742 :code-space [33 126] 704 :code-space [33 126]
@@ -745,7 +707,6 @@
745(define-charset 'mule-lao 707(define-charset 'mule-lao
746 "Lao characters (ISO10646 0E81..0EDF)" 708 "Lao characters (ISO10646 0E81..0EDF)"
747 :short-name "Lao" 709 :short-name "Lao"
748 :long-name "Lao"
749 :code-space [0 255] 710 :code-space [0 255]
750 :parents '(ascii eight-bit-control (lao . -128))) 711 :parents '(ascii eight-bit-control (lao . -128)))
751 712
@@ -766,7 +727,6 @@
766(define-charset 'indian-glyph 727(define-charset 'indian-glyph
767 "Glyphs for Indian characters." 728 "Glyphs for Indian characters."
768 :short-name "Indian glyph" 729 :short-name "Indian glyph"
769 :long-name "Indian glyph"
770 :iso-final-char ?4 730 :iso-final-char ?4
771 :emacs-mule-id 240 731 :emacs-mule-id 240
772 :code-space [32 127 32 127] 732 :code-space [32 127 32 127]
@@ -851,7 +811,6 @@
851(define-charset 'mac-roman 811(define-charset 'mac-roman
852 "Mac Roman charset" 812 "Mac Roman charset"
853 :short-name "Mac Roman" 813 :short-name "Mac Roman"
854 :long-name "Mac Roman"
855 :ascii-compatible-p t 814 :ascii-compatible-p t
856 :code-space [0 255] 815 :code-space [0 255]
857 :map "mac-roman") 816 :map "mac-roman")
@@ -860,7 +819,6 @@
860(define-charset 'ebcdic-us 819(define-charset 'ebcdic-us
861 "US version of EBCDIC" 820 "US version of EBCDIC"
862 :short-name "EBCDIC-US" 821 :short-name "EBCDIC-US"
863 :long-name "EBCDIC-US"
864 :code-space [0 255] 822 :code-space [0 255]
865 :mime-charset 'ebcdic-us 823 :mime-charset 'ebcdic-us
866 :map "ebcdic-us") 824 :map "ebcdic-us")
@@ -868,7 +826,6 @@
868(define-charset 'ebcdic-uk 826(define-charset 'ebcdic-uk
869 "UK version of EBCDIC" 827 "UK version of EBCDIC"
870 :short-name "EBCDIC-UK" 828 :short-name "EBCDIC-UK"
871 :long-name "EBCDIC-UK"
872 :code-space [0 255] 829 :code-space [0 255]
873 :mime-charset 'ebcdic-uk 830 :mime-charset 'ebcdic-uk
874 :map "ebcdic-uk") 831 :map "ebcdic-uk")
@@ -876,7 +833,6 @@
876(define-charset 'hp-roman8 833(define-charset 'hp-roman8
877 "Encoding used by Hewlet-Packard printer software" 834 "Encoding used by Hewlet-Packard printer software"
878 :short-name "HP-ROMAN8" 835 :short-name "HP-ROMAN8"
879 :long-name "HP-ROMAN8"
880 :ascii-compatible-p t 836 :ascii-compatible-p t
881 :code-space [0 255] 837 :code-space [0 255]
882 :map "hp-roman8") 838 :map "hp-roman8")
@@ -884,21 +840,18 @@
884(define-charset 'adobe-standard-encoding 840(define-charset 'adobe-standard-encoding
885 "Adobe `standard encoding' used in PostScript" 841 "Adobe `standard encoding' used in PostScript"
886 :short-name "ADOBE-STANDARD-ENCODING" 842 :short-name "ADOBE-STANDARD-ENCODING"
887 :long-name "ADOBE-STANDARD-ENCODING"
888 :code-space [#x20 255] 843 :code-space [#x20 255]
889 :map "stdenc") 844 :map "stdenc")
890 845
891(define-charset 'symbol 846(define-charset 'symbol
892 "Adobe symbol encoding used in PostScript" 847 "Adobe symbol encoding used in PostScript"
893 :short-name "ADOBE-SYMBOL" 848 :short-name "ADOBE-SYMBOL"
894 :long-name "ADOBE-SYMBOL"
895 :code-space [#x20 255] 849 :code-space [#x20 255]
896 :map "symbol") 850 :map "symbol")
897 851
898(define-charset 'ibm850 852(define-charset 'ibm850
899 "DOS codepage 850" 853 "DOS codepage 850"
900 :short-name "IBM850" 854 :short-name "IBM850"
901 :long-name "IBM850"
902 :ascii-compatible-p t 855 :ascii-compatible-p t
903 :code-space [0 255] 856 :code-space [0 255]
904 :map "ibm850") 857 :map "ibm850")
@@ -935,6 +888,8 @@
935;; :coding-type 'raw-text 888;; :coding-type 'raw-text
936;; :mnemonic ?=) 889;; :mnemonic ?=)
937 890
891(define-coding-system-alias 'binary 'no-conversion)
892
938(define-coding-system 'raw-text 893(define-coding-system 'raw-text
939 "Raw text, which means text contains random 8-bit codes. 894 "Raw text, which means text contains random 8-bit codes.
940Encoding text with this coding system produces the actual byte 895Encoding text with this coding system produces the actual byte
@@ -949,7 +904,7 @@ is treated as a character."
949 :mnemonic ?t) 904 :mnemonic ?t)
950 905
951(define-coding-system 'undecided 906(define-coding-system 'undecided
952 "No conversion on encoding, automatic conversion on decoding" 907 "No conversion on encoding, automatic conversion on decoding."
953 :coding-type 'undecided 908 :coding-type 'undecided
954 :mnemonic ?- 909 :mnemonic ?-
955 :charset-list '(ascii)) 910 :charset-list '(ascii))
@@ -1000,21 +955,21 @@ is treated as a character."
1000 :mime-charset 'utf-16) 955 :mime-charset 'utf-16)
1001 956
1002(define-coding-system 'utf-16-le-nosig 957(define-coding-system 'utf-16-le-nosig
1003 "UTF-16, little endian, no signature" 958 "UTF-16, little endian, no signature."
1004 :coding-type 'utf-16 959 :coding-type 'utf-16
1005 :mnemonic ?U 960 :mnemonic ?U
1006 :charset-list '(unicode) 961 :charset-list '(unicode)
1007 :endian 'little) 962 :endian 'little)
1008 963
1009(define-coding-system 'utf-16-be-nosig 964(define-coding-system 'utf-16-be-nosig
1010 "UTF-16, big endian, no signature" 965 "UTF-16, big endian, no signature."
1011 :coding-type 'utf-16 966 :coding-type 'utf-16
1012 :mnemonic ?U 967 :mnemonic ?U
1013 :charset-list '(unicode) 968 :charset-list '(unicode)
1014 :endian 'big) 969 :endian 'big)
1015 970
1016(define-coding-system 'utf-16-le 971(define-coding-system 'utf-16-le
1017 "UTF-16, little endian, with signature" 972 "UTF-16, little endian, with signature."
1018 :coding-type 'utf-16 973 :coding-type 'utf-16
1019 :mnemonic ?U 974 :mnemonic ?U
1020 :charset-list '(unicode) 975 :charset-list '(unicode)
@@ -1023,7 +978,7 @@ is treated as a character."
1023 :mime-charset 'utf-16-le) 978 :mime-charset 'utf-16-le)
1024 979
1025(define-coding-system 'utf-16-be 980(define-coding-system 'utf-16-be
1026 "UTF-16, big endian, with signature" 981 "UTF-16, big endian, with signature."
1027 :coding-type 'utf-16 982 :coding-type 'utf-16
1028 :mnemonic ?U 983 :mnemonic ?U
1029 :charset-list '(unicode) 984 :charset-list '(unicode)
@@ -1032,7 +987,7 @@ is treated as a character."
1032 :mime-charset 'utf-16-be) 987 :mime-charset 'utf-16-be)
1033 988
1034(define-coding-system 'iso-2022-7bit 989(define-coding-system 'iso-2022-7bit
1035 "ISO 2022 based 7-bit encoding using only G0" 990 "ISO 2022 based 7-bit encoding using only G0."
1036 :coding-type 'iso-2022 991 :coding-type 'iso-2022
1037 :mnemonic ?J 992 :mnemonic ?J
1038 :charset-list 'iso-2022 993 :charset-list 'iso-2022
@@ -1040,7 +995,7 @@ is treated as a character."
1040 :flags '(short ascii-at-eol ascii-at-cntl 7-bit designation composition)) 995 :flags '(short ascii-at-eol ascii-at-cntl 7-bit designation composition))
1041 996
1042(define-coding-system 'iso-2022-7bit-ss2 997(define-coding-system 'iso-2022-7bit-ss2
1043 "ISO 2022 based 7-bit encoding using SS2 for 96-charset" 998 "ISO 2022 based 7-bit encoding using SS2 for 96-charset."
1044 :coding-type 'iso-2022 999 :coding-type 'iso-2022
1045 :mnemonic ?$ 1000 :mnemonic ?$
1046 :charset-list 'iso-2022 1001 :charset-list 'iso-2022
@@ -1049,7 +1004,7 @@ is treated as a character."
1049 designation single-shift composition)) 1004 designation single-shift composition))
1050 1005
1051(define-coding-system 'iso-2022-7bit-lock 1006(define-coding-system 'iso-2022-7bit-lock
1052 "ISO-2022 coding system using Locking-Shift for 96-charset" 1007 "ISO-2022 coding system using Locking-Shift for 96-charset."
1053 :coding-type 'iso-2022 1008 :coding-type 'iso-2022
1054 :mnemonic ?& 1009 :mnemonic ?&
1055 :charset-list 'iso-2022 1010 :charset-list 'iso-2022
@@ -1060,7 +1015,7 @@ is treated as a character."
1060(define-coding-system-alias 'iso-2022-int-1 'iso-2022-7bit-lock) 1015(define-coding-system-alias 'iso-2022-int-1 'iso-2022-7bit-lock)
1061 1016
1062(define-coding-system 'iso-2022-7bit-lock-ss2 1017(define-coding-system 'iso-2022-7bit-lock-ss2
1063 "Mixture of ISO-2022-JP, ISO-2022-KR, and ISO-2022-CN" 1018 "Mixture of ISO-2022-JP, ISO-2022-KR, and ISO-2022-CN."
1064 :coding-type 'iso-2022 1019 :coding-type 'iso-2022
1065 :mnemonic ?i 1020 :mnemonic ?i
1066 :charset-list '(ascii 1021 :charset-list '(ascii
@@ -1081,7 +1036,7 @@ is treated as a character."
1081(define-coding-system-alias 'iso-2022-cjk 'iso-2022-7bit-lock-ss2) 1036(define-coding-system-alias 'iso-2022-cjk 'iso-2022-7bit-lock-ss2)
1082 1037
1083(define-coding-system 'iso-2022-8bit-ss2 1038(define-coding-system 'iso-2022-8bit-ss2
1084 "ISO 2022 based 8-bit encoding using SS2 for 96-charset" 1039 "ISO 2022 based 8-bit encoding using SS2 for 96-charset."
1085 :coding-type 'iso-2022 1040 :coding-type 'iso-2022
1086 :mnemonic ?@ 1041 :mnemonic ?@
1087 :charset-list 'iso-2022 1042 :charset-list 'iso-2022
@@ -1199,6 +1154,11 @@ for decoding and encoding files, process I/O, etc."
1199 1154
1200(aset latin-extra-code-table ?\222 t) 1155(aset latin-extra-code-table ?\222 t)
1201 1156
1157;; Move least specific charsets to end of priority list
1158
1159(apply #'set-charset-priority
1160 (delq 'unicode (delq 'emacs (charset-priority-list))))
1161
1202;; The old code-pages library is obsoleted by coding systems based on 1162;; The old code-pages library is obsoleted by coding systems based on
1203;; the charsets defined in this file but might be required by user 1163;; the charsets defined in this file but might be required by user
1204;; code. 1164;; code.