From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/39224 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: UTF-8 Support Date: Wed, 10 Oct 2001 12:39:00 +0900 Organization: Emacsen advocacy group Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart_Wed_Oct_10_12:38:59_2001-1" X-Trace: main.gmane.org 1035174965 26762 80.91.224.250 (21 Oct 2002 04:36:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:36:05 +0000 (UTC) Return-Path: Original-Received: (qmail 1631 invoked from network); 10 Oct 2001 03:42:28 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 10 Oct 2001 03:42:28 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 15rADV-0004PF-00; Tue, 09 Oct 2001 22:39:33 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 09 Oct 2001 22:39:10 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id WAA28386 for ; Tue, 9 Oct 2001 22:38:59 -0500 (CDT) Original-Received: (qmail 1566 invoked by alias); 10 Oct 2001 03:39:17 -0000 Original-Received: (qmail 1560 invoked from network); 10 Oct 2001 03:39:17 -0000 Original-Received: from groundpoundrecords.com (HELO jpl.org) (207.228.244.150) by gnus.org with SMTP; 10 Oct 2001 03:39:17 -0000 Original-Received: from yamaoka@jpl.org by jpl.org (jpl.org [207.228.245.242]) (8.11.1/8.11.1) id f9A3dFO11156 Wed, 10 Oct 2001 12:39:15 +0900 (JST) Original-To: ding@gnus.org X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:39224 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:39224 --Multipart_Wed_Oct_10_12:38:59_2001-1 Content-Type: text/plain; charset=US-ASCII Hi, I am using XEmacs with Mule-UCS v0.84. It works for encoding and decoding UTF-8 newsgroup names. Could you please apply the following patch? 2001-10-10 Katsumi Yamaoka * gnus-group.el (gnus-group-name-charset-group-alist): Use `find-coding-system' for XEmacs to check whether the coding-system `utf-8' is available. --Multipart_Wed_Oct_10_12:38:59_2001-1 Content-Type: application/x-patch; type=patch Content-Disposition: attachment; filename="gnus-group.el.diff" Content-Transfer-Encoding: 7bit --- gnus-group.el~ Mon Oct 8 22:01:59 2001 +++ gnus-group.el Wed Oct 10 03:26:06 2001 @@ -410,8 +410,9 @@ :group 'gnus-charset :type '(repeat (cons (sexp :tag "Method") (symbol :tag "Charset")))) -(defcustom gnus-group-name-charset-group-alist - (if (and (fboundp 'coding-system-p) (coding-system-p 'utf-8)) +(defcustom gnus-group-name-charset-group-alist + (if (or (and (fboundp 'find-coding-system) (find-coding-system 'utf-8)) + (and (fboundp 'coding-system-p) (coding-system-p 'utf-8))) '((".*" . utf-8)) nil) "Alist of group regexp and the charset for group names. --Multipart_Wed_Oct_10_12:38:59_2001-1 Content-Type: text/plain; charset=US-ASCII FYI: You can use Mule-UCS package for both XEmacs with MULE and FSF Emacs 20.7/21. It is available from: :::The primary distribution::: ftp://ftp.m17n.org/pub/mule/Mule-UCS/Mule-UCS-0.84.tar.gz :::Unofficial XEmacs package (made by me)::: ftp://ftp.jpl.org/xemacs/packages/Mule-UCS-0.84-pkg.tar.gz I am using the following codes in my XEmacs startup file. (require 'un-define) (coding-system-put 'utf-8 'category 'utf-8) (set-coding-category-system 'utf-8 'utf-8) (set-coding-priority-list (cons 'utf-8 (delq 'utf-8 (coding-priority-list)))) -- Katsumi Yamaoka --Multipart_Wed_Oct_10_12:38:59_2001-1--