* XEmacs 21.1.9 breaks Gnus v5.8 (get-charset-property)
@ 2000-02-14 21:00 Jason R Mastaler
2000-02-15 7:28 ` Florian Weimer
0 siblings, 1 reply; 3+ messages in thread
From: Jason R Mastaler @ 2000-02-14 21:00 UTC (permalink / raw)
When trying to send mail from XEmacs 21.1.9 and Gnus v5.8.x (latest
CVS), I get the following error and backtrace:
Signaling: (void-function get-charset-property)
get-charset-property(ascii prefered-coding-system)
mm-preferred-coding-system(ascii)
mm-mime-charset(ascii)
mapcar(mm-mime-charset (ascii))
rfc2047-encodable-p()
mail-encode-encoded-word-buffer()
message-send-mail(nil)
message-send-via-mail(nil)
message-send(nil)
message-send-and-exit(nil)
call-interactively(message-send-and-exit)
It looks like Andreas Jaeger reported this problem to xemacs-beta back
in early December, but nothing was done about it. See:
<URL:http://www.xemacs.org/list-archives/xemacs-beta/199912/msg00123.html>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: XEmacs 21.1.9 breaks Gnus v5.8 (get-charset-property)
2000-02-14 21:00 XEmacs 21.1.9 breaks Gnus v5.8 (get-charset-property) Jason R Mastaler
@ 2000-02-15 7:28 ` Florian Weimer
2000-02-17 8:31 ` Jason R Mastaler
0 siblings, 1 reply; 3+ messages in thread
From: Florian Weimer @ 2000-02-15 7:28 UTC (permalink / raw)
Jason R Mastaler <jason@mastaler.com> writes:
> When trying to send mail from XEmacs 21.1.9 and Gnus v5.8.x (latest
> CVS), I get the following error and backtrace:
>
> Signaling: (void-function get-charset-property)
> get-charset-property(ascii prefered-coding-system)
Could you try the following definition of `mm-mime-charset'?
(defun mm-mime-charset (charset)
"Return the MIME charset corresponding to the MULE CHARSET."
(if (and (fboundp 'coding-system-get) (fboundp 'get-charset-property))
;; 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)))
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: XEmacs 21.1.9 breaks Gnus v5.8 (get-charset-property)
2000-02-15 7:28 ` Florian Weimer
@ 2000-02-17 8:31 ` Jason R Mastaler
0 siblings, 0 replies; 3+ messages in thread
From: Jason R Mastaler @ 2000-02-17 8:31 UTC (permalink / raw)
Florian Weimer <fw@deneb.cygnus.argh.org> writes:
> > Signaling: (void-function get-charset-property)
> > get-charset-property(ascii prefered-coding-system)
>
> Could you try the following definition of `mm-mime-charset'?
>
> (defun mm-mime-charset (charset)
> "Return the MIME charset corresponding to the MULE CHARSET."
> (if (and (fboundp 'coding-system-get) (fboundp 'get-charset-property))
> ;; 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)))
This fixes the problem.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-02-17 8:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-14 21:00 XEmacs 21.1.9 breaks Gnus v5.8 (get-charset-property) Jason R Mastaler
2000-02-15 7:28 ` Florian Weimer
2000-02-17 8:31 ` Jason R Mastaler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).