aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2005-09-08 07:02:08 +0000
committerKenichi Handa2005-09-08 07:02:08 +0000
commitd87ceee0dddb30629754951e3dfdff671c807c60 (patch)
tree447d4a039a6ea82fa1532a9b3c5e53621b914d48
parentd9eef135dcaf3ac8386cb9c1972960b4f1388e81 (diff)
downloademacs-d87ceee0dddb30629754951e3dfdff671c807c60.tar.gz
emacs-d87ceee0dddb30629754951e3dfdff671c807c60.zip
Show a patch for Mule-UCS to make it byte-compiled
correctly.
-rw-r--r--etc/ChangeLog5
-rw-r--r--etc/PROBLEMS30
2 files changed, 35 insertions, 0 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog
index bf83b688b17..d1ec1d599a9 100644
--- a/etc/ChangeLog
+++ b/etc/ChangeLog
@@ -1,3 +1,8 @@
12005-09-08 Kenichi Handa <handa@m17n.org>
2
3 * PROBLEMS: Show a patch for Mule-UCS to make it byte-compiled
4 correctly.
5
12005-08-31 Michael Albinus <michael.albinus@gmx.de> 62005-08-31 Michael Albinus <michael.albinus@gmx.de>
2 7
3 * NEWS: Add entry for `make-auto-save-file-name'. 8 * NEWS: Add entry for `make-auto-save-file-name'.
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index c5ce84ff1b1..ae9a42bde6d 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -903,6 +903,36 @@ distributions, such as Debian, may already have applied such a patch.)
903Note that Emacs has native support for Unicode, roughly equivalent to 903Note that Emacs has native support for Unicode, roughly equivalent to
904Mule-UCS's, so you may not need it. 904Mule-UCS's, so you may not need it.
905 905
906** Mule-UCS compilation problem.
907
908Emacs of old versions and XEmacs byte-compile the form `(progn progn
909...)' the same way as `(progn ...)', but Emacs of version 21.3 and the
910later process that form just as interpreter does, that is, as `progn'
911variable reference. Apply the following patch to Mule-UCS 0.84 to
912make it compiled by the latest Emacs.
913
914--- mucs-ccl.el 2 Sep 2005 00:42:23 -0000 1.1.1.1
915+++ mucs-ccl.el 2 Sep 2005 01:31:51 -0000 1.3
916@@ -639,10 +639,14 @@
917 (mucs-notify-embedment 'mucs-ccl-required name)
918 (setq ccl-pgm-list (cdr ccl-pgm-list)))
919 ; (message "MCCLREGFIN:%S" result)
920- `(progn
921- (setq mucs-ccl-facility-alist
922- (quote ,mucs-ccl-facility-alist))
923- ,@result)))
924+ ;; The only way the function is used in this package is included
925+ ;; in `mucs-package-definition-end-hook' value, where it must
926+ ;; return (possibly empty) *list* of forms. Do this. Do not rely
927+ ;; on byte compiler to remove extra `progn's in `(progn ...)'
928+ ;; form.
929+ `((setq mucs-ccl-facility-alist
930+ (quote ,mucs-ccl-facility-alist))
931+ ,@result)))
932
933 ;;; Add hook for embedding translation informations to a package.
934 (add-hook 'mucs-package-definition-end-hook
935
906** Accented ISO-8859-1 characters are displayed as | or _. 936** Accented ISO-8859-1 characters are displayed as | or _.
907 937
908Try other font set sizes (S-mouse-1). If the problem persists with 938Try other font set sizes (S-mouse-1). If the problem persists with