Hi,
At Mon, 13 May 2002 15:05:25 +1000,
Steve Youngs wrote:
KY>
ftp://ftp.xemacs.org/packages/apel-1.21-pkg.tar.gz
KY> The file pccl.elc is compiled for XEmacs with MULE and it
KY> requires the feature `ccl'. Non-MULE XEmacs users should never
KY> use this.
Seams to me that changing:
(unless ccl-usable
(require 'ccl)
(require 'advice)
...)
To:
(unless ccl-usable
(if (featurep 'mule)
(progn
(require 'ccl)
(require 'advice)
...)))
In pccl.el would take care of that. Am I wrong?
That's a bright idea!
I've confirmed that APEL package with the modified pccl.elc is
usable for:
XEmacs 21.4.8 with mule, with file-coding
XEmacs 21.4.8 without mule, with file-coding
XEmacs 21.4.8 without mule, without file-coding
;; Though XEmacs 21.5-b6 doesn't have the file-coding feature,
;; maybe it's ok. But I haven't check it with 21.5-b6 because
;; it crashes under Solaris 2.6, as reported by someone in this
;; list. ={
Here's a diff I've used:
--- pccl.el~ 2000-10-06 08:33:45.000000000 +0000
+++ pccl.el 2002-05-14 01:29:43.000000000 +0000
@@ -34,19 +34,19 @@
(>= emacs-major-version 19))))
(unless-broken ccl-usable
- (require 'ccl)
- (require 'advice)
-
(if (featurep 'mule)
- (if (featurep 'xemacs)
- (if (>= emacs-major-version 21)
- ;; for XEmacs 21 with mule
- (require 'pccl-20))
- (if (>= emacs-major-version 20)
- ;; for Emacs 20
- (require 'pccl-20)
- ;; for Mule 2.*
- (require 'pccl-om))))
+ (progn
+ (require 'ccl)
+ (require 'advice)
+ (if (featurep 'xemacs)
+ (if (>= emacs-major-version 21)
+ ;; for XEmacs 21 with mule
+ (require 'pccl-20))
+ (if (>= emacs-major-version 20)
+ ;; for Emacs 20
+ (require 'pccl-20)
+ ;; for Mule 2.*
+ (require 'pccl-om)))))
(defadvice define-ccl-program
(before accept-long-ccl-program activate)
--
Katsumi Yamaoka <yamaoka(a)jpl.org>