aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2005-09-14 07:35:38 +0000
committerKenichi Handa2005-09-14 07:35:38 +0000
commita95cdb2dad2693068a2a6c88f7dd68e48eb16405 (patch)
tree7f4ff468fe9cf77e8281eebfd9150a8b367c1fbc
parent24f9c146c71aea0d35eb66ff0fcbe1f0a9fa02ba (diff)
downloademacs-old-branches/EMACS_21_1_RC.tar.gz
emacs-old-branches/EMACS_21_1_RC.zip
Show a patch for Mule-UCS to make it byte-compiledold-branches/EMACS_21_1_RC
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 c5233d11815..56ee938002f 100644
--- a/etc/ChangeLog
+++ b/etc/ChangeLog
@@ -1,3 +1,8 @@
12005-09-14 Kenichi Handa <handa@m17n.org>
2
3 * PROBLEMS: Show a patch for Mule-UCS to make it byte-compiled
4 correctly.
5
12005-02-17 Francesco Potort,Al(B <pot@gnu.org> 62005-02-17 Francesco Potort,Al(B <pot@gnu.org>
2 7
3 * PROBLEMS: Document exec-shield Linux problem. Do not mention 8 * PROBLEMS: Document exec-shield Linux problem. Do not mention
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index f09dc2c6cb9..81536e26242 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -62,6 +62,36 @@ are various enhancements at <URL:ftp://dlpx1.dl.ac.uk/fx/emacs/Mule>
62which improve Emacs 21's handling of non-ASCII text, including dealing 62which improve Emacs 21's handling of non-ASCII text, including dealing
63with CJK Unicode. 63with CJK Unicode.
64 64
65** Mule-UCS compilation problem.
66
67Emacs of old versions and XEmacs byte-compile the form `(progn progn
68...)' the same way as `(progn ...)', but Emacs of version 21.3 and the
69later process that form just as interpreter does, that is, as `progn'
70variable reference. Apply the following patch to Mule-UCS 0.84 to
71make it compiled by the latest Emacs.
72
73--- mucs-ccl.el 2 Sep 2005 00:42:23 -0000 1.1.1.1
74+++ mucs-ccl.el 2 Sep 2005 01:31:51 -0000 1.3
75@@ -639,10 +639,14 @@
76 (mucs-notify-embedment 'mucs-ccl-required name)
77 (setq ccl-pgm-list (cdr ccl-pgm-list)))
78 ; (message "MCCLREGFIN:%S" result)
79- `(progn
80- (setq mucs-ccl-facility-alist
81- (quote ,mucs-ccl-facility-alist))
82- ,@result)))
83+ ;; The only way the function is used in this package is included
84+ ;; in `mucs-package-definition-end-hook' value, where it must
85+ ;; return (possibly empty) *list* of forms. Do this. Do not rely
86+ ;; on byte compiler to remove extra `progn's in `(progn ...)'
87+ ;; form.
88+ `((setq mucs-ccl-facility-alist
89+ (quote ,mucs-ccl-facility-alist))
90+ ,@result)))
91
92 ;;; Add hook for embedding translation informations to a package.
93 (add-hook 'mucs-package-definition-end-hook
94
65* Building Emacs with GCC 2.9x fails in the `src' directory. 95* Building Emacs with GCC 2.9x fails in the `src' directory.
66 96
67This may happen if you use a development version of GNU `cpp' from one 97This may happen if you use a development version of GNU `cpp' from one