This change in the 21.1.9 CVS version breaks Gnus:
1999-12-03 Yoshiki Hayashi <t90553(a)mail.ecc.u-tokyo.ac.jp>
* lisp/mule-misc.el (coding-system-get): Imported from 21.2.
(coding-system-put): Ditto.
(coding-category): Imported from 21.2 and modified for 21.2.
The problem is the following test in Gnus 5.8.3 (file
lisp/mm-util.el):
(defun mm-preferred-coding-system (charset)
;; A typo in some Emacs versions.
(or (get-charset-property charset 'prefered-coding-system)
(get-charset-property charset 'preferred-coding-system)))
(defun mm-mime-charset (charset)
"Return the MIME charset corresponding to the MULE CHARSET."
(if (fboundp 'coding-system-get)
;; This exists in Emacs 20.
(or
(and (mm-preferred-coding-system charset)
(coding-system-get
(mm-preferred-coding-system charset) 'mime-charset))
(and (eq charset 'ascii)
'us-ascii)
(mm-preferred-coding-system charset)
(mm-mule-charset-to-mime-charset charset))
;; This is for XEmacs.
(mm-mule-charset-to-mime-charset charset)))
Two problems with the code:
The first one is XEmacs:
XEmacs now has coding-system-get - but it doesn't have
get-charset-property. If we have coding-system-get should we also
have get-charset-property?
The other one is Gnus: Lars, can you change this to check properly
XEmacs (sorry, I don't have a patch)?
Thanks,
Andreas
--
Andreas Jaeger
SuSE Labs aj(a)suse.de
private aj(a)arthur.rhein-neckar.de