comparison etc/PROBLEMS @ 105001:f665043359a7

Remove obsolete Mule-UCS information (the package is not redundant).
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 13 Sep 2009 20:48:09 +0000
parents c4fa6fe77406
children 143bc3eab4f0
comparison
equal deleted inserted replaced
105000:c4fa6fe77406 105001:f665043359a7
954 correctly as UTF-8, assuming you don't break the composed sequences. 954 correctly as UTF-8, assuming you don't break the composed sequences.
955 If you read such characters from UTF-16 or UTF-7 data, they are 955 If you read such characters from UTF-16 or UTF-7 data, they are
956 substituted with the Unicode `replacement character', and you lose 956 substituted with the Unicode `replacement character', and you lose
957 information. 957 information.
958 958
959 ** Mule-UCS loads very slowly.
960
961 Changes to Emacs internals interact badly with Mule-UCS's `un-define'
962 library, which is the usual interface to Mule-UCS. Apply the
963 following patch to Mule-UCS 0.84 and rebuild it. That will help,
964 though loading will still be slower than in Emacs 20. (Some
965 distributions, such as Debian, may already have applied such a patch.)
966
967 --- lisp/un-define.el 6 Mar 2001 22:41:38 -0000 1.30
968 +++ lisp/un-define.el 19 Apr 2002 18:34:26 -0000
969 @@ -610,13 +624,21 @@ by calling post-read-conversion and pre-
970
971 (mapcar
972 (lambda (x)
973 - (mapcar
974 - (lambda (y)
975 - (mucs-define-coding-system
976 - (nth 0 y) (nth 1 y) (nth 2 y)
977 - (nth 3 y) (nth 4 y) (nth 5 y) (nth 6 y))
978 - (coding-system-put (car y) 'alias-coding-systems (list (car x))))
979 - (cdr x)))
980 + (if (fboundp 'register-char-codings)
981 + ;; Mule 5, where we don't need the eol-type specified and
982 + ;; register-char-codings may be very slow for these coding
983 + ;; system definitions.
984 + (let ((y (cadr x)))
985 + (mucs-define-coding-system
986 + (car x) (nth 1 y) (nth 2 y)
987 + (nth 3 y) (nth 4 y) (nth 5 y)))
988 + (mapcar
989 + (lambda (y)
990 + (mucs-define-coding-system
991 + (nth 0 y) (nth 1 y) (nth 2 y)
992 + (nth 3 y) (nth 4 y) (nth 5 y) (nth 6 y))
993 + (coding-system-put (car y) 'alias-coding-systems (list (car x)))))
994 + (cdr x)))
995 `((utf-8
996 (utf-8-unix
997 ?u "UTF-8 coding system"
998
999 Note that Emacs has native support for Unicode, roughly equivalent to
1000 Mule-UCS's, so you may not need it.
1001
1002 ** Mule-UCS compilation problem.
1003
1004 Emacs of old versions and XEmacs byte-compile the form `(progn progn
1005 ...)' the same way as `(progn ...)', but Emacs of version 21.3 and the
1006 later process that form just as interpreter does, that is, as `progn'
1007 variable reference. Apply the following patch to Mule-UCS 0.84 to
1008 make it compiled by the latest Emacs.
1009
1010 --- mucs-ccl.el 2 Sep 2005 00:42:23 -0000 1.1.1.1
1011 +++ mucs-ccl.el 2 Sep 2005 01:31:51 -0000 1.3
1012 @@ -639,10 +639,14 @@
1013 (mucs-notify-embedment 'mucs-ccl-required name)
1014 (setq ccl-pgm-list (cdr ccl-pgm-list)))
1015 ; (message "MCCLREGFIN:%S" result)
1016 - `(progn
1017 - (setq mucs-ccl-facility-alist
1018 - (quote ,mucs-ccl-facility-alist))
1019 - ,@result)))
1020 + ;; The only way the function is used in this package is included
1021 + ;; in `mucs-package-definition-end-hook' value, where it must
1022 + ;; return (possibly empty) *list* of forms. Do this. Do not rely
1023 + ;; on byte compiler to remove extra `progn's in `(progn ...)'
1024 + ;; form.
1025 + `((setq mucs-ccl-facility-alist
1026 + (quote ,mucs-ccl-facility-alist))
1027 + ,@result)))
1028
1029 ;;; Add hook for embedding translation informations to a package.
1030 (add-hook 'mucs-package-definition-end-hook
1031
1032 ** Accented ISO-8859-1 characters are displayed as | or _. 959 ** Accented ISO-8859-1 characters are displayed as | or _.
1033 960
1034 Try other font set sizes (S-mouse-1). If the problem persists with 961 Try other font set sizes (S-mouse-1). If the problem persists with
1035 other sizes as well, your text is corrupted, probably through software 962 other sizes as well, your text is corrupted, probably through software
1036 that is not 8-bit clean. If the problem goes away with another font 963 that is not 8-bit clean. If the problem goes away with another font