From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59374 Path: main.gmane.org!not-for-mail From: Aidan Kehoe Newsgroups: gmane.emacs.gnus.general Subject: XEmacs, Gnus and mm-coding-system priorities. Date: Fri, 3 Dec 2004 16:55:51 +0000 Message-ID: <16816.39575.977351.530618.dm0@vm.parhasard.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="kYyBzUIDdA" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1102434928 8839 80.91.229.6 (7 Dec 2004 15:55:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Dec 2004 15:55:28 +0000 (UTC) Cc: Katsumi Yamaoka Original-X-From: ding-owner+M7913@lists.math.uh.edu Tue Dec 07 16:55:21 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-0007s4-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 1CbhMp-0003NF-00; Tue, 07 Dec 2004 09:35:07 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Caa5l-0002dt-00 for ding@lists.math.uh.edu; Sat, 04 Dec 2004 07:36:53 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1Caa5i-0001r6-DT for ding@lists.math.uh.edu; Sat, 04 Dec 2004 07:36:50 -0600 Original-Received: from washington.hostforweb.net (washington.hostforweb.net [69.61.11.2]) by justine.libertine.org (Postfix) with ESMTP id A399C3A0044 for ; Sat, 4 Dec 2004 07:36:47 -0600 (CST) Original-Received: from yahoobb218118002075.bbtec.net ([218.118.2.75] helo=) by washington.hostforweb.net with esmtpsa (TLSv1:DES-CBC3-SHA:168) (Exim 4.42) id 1Caa5d-0003HP-0r for ding@gnus.org; Sat, 04 Dec 2004 08:36:46 -0500 Resent-To: ding@gnus.org Resent-From: yamaoka@jpl.org Resent-Date: Sat, 04 Dec 2004 22:36:40 +0900 Resent-Message-ID: <283bymb2xj.fsf@yamaoka.cc> X-From-Line: imap Sat Dec 4 12:35:06 2004 Original-Received: from washington.hostforweb.net ([69.61.11.2]) by minsk.hostforweb.net with esmtps (TLSv1:DES-CBC3-SHA:168) (Exim 4.43) id 1CaGiw-00052y-1w for lists.katsumi@yamaoka.cc; Fri, 03 Dec 2004 11:56:02 -0500 Original-Received: from [69.93.162.170] (helo=ns5.nestdesign.com) by washington.hostforweb.net with esmtp (Exim 4.42) id 1CaGit-0007QI-Nm for yamaoka@jpl.org; Fri, 03 Dec 2004 11:56:01 -0500 Original-Received: by ns5.nestdesign.com (Postfix, from userid 508) id 3B4B1328002; Fri, 3 Dec 2004 16:55:53 +0000 (GMT) Original-To: Gnus Mailing List X-Mailer: VM 7.18 under 21.4 (patch 13) "Rational FORTRAN" XEmacs Lucid X-Echelon-distraction: Hillal Nazi IRA Enemy of the State Magdeyev Medco X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - jpl.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - parhasard.net X-Source: X-Source-Args: X-Source-Dir: X-Antivirus-Scanner: Clean mail though you should still use an Antivirus Original-Lines: 150 Cancel-Lock: sha1:m5SoJThUGt//bq9JvGTE2sTAFxw= X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: main.gmane.org gmane.emacs.gnus.general:59374 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59374 --kYyBzUIDdA Content-Type: text/plain; charset=utf-8 Content-Description: message body and .signature Content-Transfer-Encoding: quoted-printable Hi! I=E2=80=99ve written a patch for Gnus that handles MIME character set selec= tion more intelligently under XEmacs. With this change, and with Stephen Turnbull=E2= =80=99s latin-unity available=E2=80=94as is usual under XEmacs with Mule=E2=80=94yo= u can set mm-coding-system-priorities to an ordered list, and Gnus will choose the first coding system that can encode the message, as the MIME character set to send. This is the case even with multiple character sets in a message, a case that=E2=80=99s badly handled at the moment. Katsumi Yamaoka; In b9yeki8faw8.fsf@jpl.org on gnu.emacs.gnus, you say that mm-coding-system-priorities should be honoured by the latest Gnus even in XEmacs. I=E2=80=99m unclear as to how this is possible, given that mm-use-find-coding-systems-region must always be nil under XEmacs (find-coding-systems-region doesn=E2=80=99t exist in it) and the only place= the variable is referenced is after checking if it=E2=80=99s =E2=80=9Ct=E2=80= =9D. Cf. line 594 of mm-util.el.=20 Reiner Steib, in message v9oehcoozg.fsf%40marauder.physik.uni-ulm.de , suggests that I separate out the bulk of my changes into a separate function, which I=E2=80=99ve done in the attached patch. I=E2=80=99ve teste= d the patch on=20 GNU Emacs 21.3.1 with the CVS trunk version of Gnus, and no change was observed, as expected. I=E2=80=99ve also tested the patch with the CVS trun= k version of Gnus, and XEmacs 21.4.13, but CVS Gnus is unable to connect to a NNTP server for me with that combination. 21.5.18 crashes for me when I try to do the same thing.=20 With the stable Gnus that Debian installed with 21.4, 5.10.2, the patch works fine for me. Ditto for the version a recent XEmacs sumo tarball had, 5.10.6. As well as the patch, I=E2=80=99ve attached a file that tests what it does.= Since it only does anything on XEmacs, you=E2=80=99ll need a copy of XEmacs to run i= t. Both files are available uncompressed over the web at http://parhasard.net/mm-xemacs-coding-systems.diff and http://parhasard.net/mm-xemacs-coding-test.el , respectively.=20=20 Reiner also tells me that I need to send a copyright assignment to the FSF to get this added to mainline Gnus; where do I get the forms for this? Can I download PDFs and print them out? Best regards,=20=20 - Aidan --=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 --kYyBzUIDdA Content-Type: application/octet-stream Content-Description: Diff to have XEmacs pay attention to mm-coding-system-priorities Content-Disposition: attachment; filename="mm-xemacs-coding-systems.diff.bz2" Content-Transfer-Encoding: base64 QlpoOTFBWSZTWQCrWqQAAG9fgHwwUe//+v//3sB/7//gYAgc32e6lWPXavS4 c2umqRZGTk7gkk0jTQqe1T8qeo009RtRsSek9A1AxNPUZGQ9QAaaEAhqU3pq TJ6IAaZMg0AAaGgGmg1U/CZIg1P0o0NAGgB6IekNNAAAGgSEhTECZCntJhI0 NNAAGgaaNNA00BxkyaMQxNMBAwJpgjBMTTTQAYQSJEaGgTSnoxU9E/VPSZND TRoAMgHqNGj1HHanqzSCoSDEEQblG3Bg3GCG45GODG0OT0GOBR6r38R6jZp0 6TXWS4WjC7Ll2lPx08yfz9CYFZqlBWWDpmZR8BmHLhkXY96R0j9TOHM89/dL uxjgbenwm2n+7hIJgac/YY6zbstBIOw3tsYxG1qNNNNFuorBbFJjI1RXMw1+ CV61b+v9D/LvvTvvycnBmbpb3fqhZzrKei53tq4+zHBjBx4RtDLNXyesgcvz dXlte3dmxkTnjHPdb4JtHCCvxqhR5xlVSZ3yvsIsSDzc+AHwdZAm1FZOAeXF 5S4suLcoqwr8YVAszQDONAJkvqLjMyLUlgQvHQl5w6FbQXCrKMSNh5uQGmL6 4g++mWcIpXkVmrVUdGb/UfQGvQCLtVUQ7snlwwywMUz8MEXSNNd1LRZmFs+p uVEp10VqUg3CUhGGTFgmZ7SPG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KRuewLoxECwQ1uBG7hxDxzsMLkcrQ0UHwZLQZaoht XXx+NTeDLjhg/L0iNIiRg8b79YiXOKDXu1VoSCwaNDBZuClt6zS1xKzTYe4I YMBnnTTUoosiWFUsrhiYS6Yf87s3reRjpmeSREas7cdeGWHL3sizpUU2Jqku YdWiuy/ddQkbCgBra7iuNjaYrInitGKtDJxIWIfe/nNbGAaiWTPMsJlwH06V s5du5jahkHzcjxCR22rM3+85zUGedoSZJsypdbzKvLFFKiTR/tMSPAyKiufe sXi1a6SrQGisuCZ7GyLdxhfBYn4bbGy4UNJ2VRmrVagD9KL55Fh2LHxA0y9Y KwgG0NhjWYG8Zn5S2UE7t5mXLJobGPVMjWYWemYSVOuUkV0RlVsInjzNbJrm FCg1cmmWMbYDGmkbpTYY23SiiTOJv2MuOLdb01RRmbL1m2Toq0Z8TxTxh4NJ jDfgqnA2NUmTJS7LYrQuPMI877XKZG1QpKgkcEWRXdBKGRIlHUwmaVuJBUqQ QNhSU+kFox2J3QAU6kgsjsYr0PJolMmUyQ3qt9Ibt5jbkbswi4KlFcuweDzZ NDYGI2KFlYiz8FltK5i7EPOAYWxYknBZM4oBtCS3giDTrYWShWaePBIVuPnV ZnBrgGxpqiqMQRpnxkULwMxN3jROLyQ2kpJigQVz9vPaZ4Qn5qSakDlkkJi/ NXeBxYIVnfKhanX8Z7Efa5OxZcVRz2eemErpbN/hpHytdoMWMzv3KK65aDak cGMNsiU06+hIOs5v/F3JFOFCQAKtapA= --kYyBzUIDdA Content-Type: application/octet-stream Content-Description: Test Emacs lisp to check the previous app. Content-Disposition: attachment; filename="mm-xemacs-coding-test.el.bz2" Content-Transfer-Encoding: base64 QlpoOTFBWSZTWY/cZ/8AAETfgFAwWuc2eiMnTgQ////gUASeO4j1cbvd3uXd 2rvZwkimgaT0CjGgQAAAANBkE0ECgbUGQAAAaAAkRJoo9R5Q0PU9QMgAJowm AEUVPQh6UMjRo0aDQAAANAkRFMnqZGqeieGqeoAGjR6nqB6RooCFQoN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