diff options
| author | Chong Yidong | 2009-09-13 20:48:09 +0000 |
|---|---|---|
| committer | Chong Yidong | 2009-09-13 20:48:09 +0000 |
| commit | adcdf8bc815ffcd32cd434f14f011855dffa2c1e (patch) | |
| tree | 26bf6c5ef0c7a46b752d254d854dc1dece3ae558 | |
| parent | b2d98113d5804a910571f8720f7c8c894b8b7d92 (diff) | |
| download | emacs-adcdf8bc815ffcd32cd434f14f011855dffa2c1e.tar.gz emacs-adcdf8bc815ffcd32cd434f14f011855dffa2c1e.zip | |
Remove obsolete Mule-UCS information (the package is not redundant).
| -rw-r--r-- | etc/PROBLEMS | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/etc/PROBLEMS b/etc/PROBLEMS index 0a95abfb3e0..eb1e362cc71 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS | |||
| @@ -956,79 +956,6 @@ 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 |