From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61582 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: en/decode-coding-string in contrib/gnus-namazu.el Date: Mon, 19 Dec 2005 08:49:29 +0900 Organization: Emacsen advocacy group Message-ID: References: <87vexoagpt.fsf@koldfront.dk> <87d5jwennj.fsf@koldfront.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1134950125 21318 80.91.229.2 (18 Dec 2005 23:55:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 18 Dec 2005 23:55:25 +0000 (UTC) Cc: asjo@koldfront.dk (Adam =?iso-8859-1?Q?Sj=F8gren?=), ding@gnus.org Original-X-From: ding-owner+m10114@lists.math.uh.edu Mon Dec 19 00:55:23 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Eo8Ly-0004cW-OA for ding-account@gmane.org; Mon, 19 Dec 2005 00:54:11 +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 1Eo8LP-0007m1-00; Sun, 18 Dec 2005 17:53:35 -0600 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Eo8Hk-0007lv-00 for ding@lists.math.uh.edu; Sun, 18 Dec 2005 17:49:48 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1Eo8Hi-0000OI-Dq for ding@lists.math.uh.edu; Sun, 18 Dec 2005 17:49:48 -0600 Original-Received: from washington.hostforweb.net ([66.225.201.13]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Eo8Hd-0006Cc-00 for ; Mon, 19 Dec 2005 00:49:41 +0100 Original-Received: from localhost.servershost.net ([127.0.0.1]:42011 helo=localhost) by washington.hostforweb.net with esmtpa (Exim 4.52) id 1Eo8IL-0003Qy-Cj; Sun, 18 Dec 2005 17:50:26 -0600 Original-To: TSUCHIYA Masatoshi 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&( User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:NJnPxq7mXToinm7psjsgsMPjr0Q= X-Hashcash: 1:20:051218:tsuchiya@namazu.org::Lg8yhWREuf8SG1I+:000000000000000000000000000000000000000000AVaf X-Hashcash: 1:20:051218:asjo@koldfront.dk::Kk9uw+NlY1xYLPyh:000000000000000000000000000000000000000000002h3k X-Hashcash: 1:20:051218:ding@gnus.org::5fDgppgA4aLWJFnj:00007AfO 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: X-Spam-Score: -2.4 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61582 Archived-At: TSUCHIYA-san, contrib/gnus-namazu.el seems that there are many codes in which the Mule feature is required to be, and I didn't know it works with non-Mule XEmacs up to now. Adam Sj=F8gren proposed a means in order to make it work with non-Mule Emacsen. Do you have any idea on things required in addition to this? For instance, is the default value of `gnus-namazu-coding-system' proper? Finally, could you please modify the module by yourself? Thanks in advance. >>>>> In <87vexoagpt.fsf@koldfront.dk> Adam Sj=F8gren wrote: > Hi. > xemacs21-mule has recently started to crash on my box=B9 in some > circumstances=B2, so I've switched (hopefully temporarily) to -nomule. > I had a slight problem in doing this, which stems from > contrib/gnus-namazu.el calling en/decode-coding-string directly. By > grepping in lisp/*.el I gather that the mm-prefixed versions should be > used? > This patch allows me to start Gnus on -nomule: >>>>> In <87d5jwennj.fsf@koldfront.dk> Adam Sj=F8gren wrote: --- gnus-namazu.el 6 Jul 2005 06:42:01 -0000 7.5 +++ gnus-namazu.el 16 Dec 2005 21:29:04 -0000 @@ -252,11 +252,11 @@ (fboundp 'gnus-group-decoded-name) (let ((gnus-group-name-charset-group-alist (list (cons gnus-namazu/group-name-regexp gnus-namazu-coding-system= ))) - (query (decode-coding-string (string 27 36 66 52 65 59 122 27 40 66) + (query (mm-decode-coding-string (string 27 36 66 52 65 59 122 27 40= 66) 'iso-2022-7bit))) (not (string-match query (gnus-summary-buffer-name - (encode-coding-string + (mm-encode-coding-string (concat "nnvirtual:namazu-search?query=3D" query) gnus-namazu-coding-system))))) (let (current-load-list) @@ -661,7 +661,7 @@ ;; Generate virtual group which includes all results. (when (fboundp 'gnus-group-decoded-name) (setq vgroup - (encode-coding-string vgroup gnus-namazu-coding-system))) + (mm-encode-coding-string vgroup gnus-namazu-coding-system= ))) (setq vgroup (gnus-group-read-ephemeral-group vgroup > Searching with C-c C-n now works again. > Best regards,