From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59373 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: XEmacs, Gnus and mm-coding-system priorities. Date: Tue, 07 Dec 2004 00:19:19 +0900 Message-ID: References: <16816.39575.977351.530618.dm0@vm.parhasard.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: message/rfc822 X-Trace: sea.gmane.org 1102434033 5582 80.91.229.6 (7 Dec 2004 15:40:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Dec 2004 15:40:33 +0000 (UTC) Original-X-From: ding-owner+M7916@lists.math.uh.edu Tue Dec 07 16:40:26 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CbhRy-0007rw-00 for ; Tue, 07 Dec 2004 16:40:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1CbhPq-0003TX-00; Tue, 07 Dec 2004 09:38:15 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CbKe4-0007gl-00 for ding@lists.math.uh.edu; Mon, 06 Dec 2004 09:19:24 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CbKe1-00015y-Er for ding@lists.math.uh.edu; Mon, 06 Dec 2004 09:19:21 -0600 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by justine.libertine.org (Postfix) with ESMTP id D76373A0038 for ; Mon, 6 Dec 2004 09:19:20 -0600 (CST) Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1CbKe0-0005E3-00 for ; Mon, 06 Dec 2004 16:19:20 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 57 Original-NNTP-Posting-Host: yahoobb218118002075.bbtec.net Original-X-Trace: quimby.gnus.org 1102346360 19315 218.118.2.75 (6 Dec 2004 15:19:20 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Mon, 6 Dec 2004 15:19:20 +0000 (UTC) User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:h6H/9EHPbK3AG3vkFl24SGsjMp4= Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: main.gmane.org gmane.emacs.gnus.general:59373 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59373 Date: Mon, 6 Dec 2004 13:35:46 +0000 From: Aidan Kehoe To: Katsumi Yamaoka Cc: ding@gnus.org Subject: Re: XEmacs, Gnus and mm-coding-system priorities. Message-ID: <16820.24626.23607.206081.dm0@vm.parhasard.net> References: <16816.39575.977351.530618.dm0@vm.parhasard.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ar an s=C3=A9i=C3=BA l=C3=A1 de m=C3=AD na Nollaig, scr=C3=ADobh Katsumi Y= amaoka:=20 > [...] I tried your patch with the old mm-util.el and confirmed it works. > However, it doesn't work with non-Latin characters: >=20 > (let ((mm-coding-system-priorities '(shift_jis))) > (rfc2047-encode-string (string (make-char 'japanese-jisx0208 38 66)))) >=20 > It returns "=3D?shift_jis?Q?=3D83=3DC0?=3D" for Emacs, but > "=3D?iso-2022-jp?B?GyRCJkIbKEI=3D?=3D" for XEmacs. Yes, that does make sense, because Latin Unity doesn=E2=80=99t yet work with non-ISO, non-Unicode character sets. (If it ever will.) Right, given that, the patch can=E2=80=99t solve the general case. You shou= ld probably leave it out of the trunk until Latin Unity gets support for the East Asian character sets, if it ever does. (And it might need a name change at that point :-) Shame, because it did eliminate the most annoying thing I find about Gnus on Mule; I _never_ want to send messages as iso-2022-jp, nor as multipart messages split by character set.=20=20 > Although the default order of `mm-mime-mule-charset-alist' is just > suitable for Japanese messages and we don't need to modify > `mm-coding-system-priorities' in Japan, we will need to much improve it. > I will study your patch and look for the way to incorporate the > latin-unity feature in the latest mm-util.el. Okay. Note that in Western Europe, the right thing to do is probably to send a message in iso-8859-1 if its contents fit into that character set, iso-8859-15 if it has the Euro sign, and UTF-8 if it has anything more obscure than that. The current behaviour doesn=E2=80=99t really allow us to= tell Gnus that in XEmacs.=20 --=20 =E2=80=9CAs democracy is perfected, the office of president represents, mor= e and more closely, the inner soul of the people. On some great and glorious day the plain folks of the land will reach their heart=E2=80=99s desire at last= and the White House will be adorned by a downright moron.=E2=80=9D =E2=80=93 H.L. M= encken=20