From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/29233 Path: main.gmane.org!not-for-mail From: Florian Weimer Newsgroups: gmane.emacs.gnus.general Subject: Re: XEmacs 21.1.9 breaks Gnus v5.8 (get-charset-property) Date: 15 Feb 2000 08:28:28 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: <87n1p2diw3.fsf@deneb.cygnus.argh.org> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035165939 1560 80.91.224.250 (21 Oct 2002 02:05:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:05:39 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id 08057D0520 for ; Tue, 15 Feb 2000 02:45:00 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id BAB01699; Tue, 15 Feb 2000 01:44:55 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 15 Feb 2000 01:44:39 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id BAA25265 for ; Tue, 15 Feb 2000 01:44:28 -0600 (CST) Original-Received: from mail.netic.de (mail.s.netic.de [212.9.160.11]) by mailhost.sclp.com (Postfix) with ESMTP id 6E5A3D0520 for ; Tue, 15 Feb 2000 02:44:25 -0500 (EST) Original-Received: by mail.netic.de (Smail3.2.0.106/mail.s.netic.de) via LF.net GmbH Internet Services via remoteip 212.9.163.12 via remotehost cygnus.argh.org with esmtp for mailhost.sclp.com id m12Kceh-001X2QC; Tue, 15 Feb 2000 08:44:19 +0100 (CET) Original-Received: from deneb.cygnus.argh.org ([192.168.1.2] ident=exim) by cygnus.argh.org with esmtp (Exim 3.12 #1) id 12KcNo-0001Fe-00 for ding@gnus.org; Tue, 15 Feb 2000 08:26:52 +0100 Original-Received: from fw by deneb.cygnus.argh.org with local (Exim 3.12 #1) id 12KcPM-00042Q-00 for ding@gnus.org; Tue, 15 Feb 2000 08:28:28 +0100 Original-To: ding@gnus.org In-Reply-To: Jason R Mastaler's message of "14 Feb 2000 14:00:02 -0700" Original-Lines: 24 User-Agent: Gnus/5.0804 (Gnus v5.8.4) Emacs/20.4 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:29233 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:29233 Jason R Mastaler 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)))