From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61572 Path: news.gmane.org!not-for-mail From: asjo@koldfront.dk (Adam =?iso-8859-1?Q?Sj=F8gren?=) Newsgroups: gmane.emacs.gnus.general Subject: en/decode-coding-string in contrib/gnus-namazu.el Date: Fri, 16 Dec 2005 22:13:02 +0100 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Message-ID: <87vexoagpt.fsf@koldfront.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1134768097 8499 80.91.229.2 (16 Dec 2005 21:21:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Dec 2005 21:21:37 +0000 (UTC) Original-X-From: ding-owner+m10104@lists.math.uh.edu Fri Dec 16 22:21:35 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EnN0I-0002mo-SW for ding-account@gmane.org; Fri, 16 Dec 2005 22:20:39 +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 1EnN05-00039w-00; Fri, 16 Dec 2005 15:20:25 -0600 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EnMws-00039q-00 for ding@lists.math.uh.edu; Fri, 16 Dec 2005 15:17:06 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1EnMwk-0002YR-Sw for ding@lists.math.uh.edu; Fri, 16 Dec 2005 15:17:06 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1EnMwj-0004x0-00 for ; Fri, 16 Dec 2005 22:16:57 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EnMul-0000Fm-8i for ding@gnus.org; Fri, 16 Dec 2005 22:14:55 +0100 Original-Received: from 0x50a5b872.bynxx12.adsl-dhcp.tele.dk ([80.165.184.114]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Dec 2005 22:14:54 +0100 Original-Received: from asjo by 0x50a5b872.bynxx12.adsl-dhcp.tele.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Dec 2005 22:14:54 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 46 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 0x50a5b872.bynxx12.adsl-dhcp.tele.dk X-Face: )qY&CseJ?.:=8F#^~GcSA?F=9eu'{KAFfL1C3/A&:nE?PW\i65"ba0NS)97,Q(^@xk}n4Ou rPuR#V8I(J_@~H($[ym:`K_+]*kjvW>xH5jbgLBVFGXY:(#4P>zVBklLbdL&XxL\M)%T}3S/IS9lMJ ^St'=VZBR Hi. xemacs21-mule has recently started to crash on my box¹ in some circumstances², 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: --- gnus-namazu.el 6 Jul 2005 06:42:01 -0000 7.5 +++ gnus-namazu.el 16 Dec 2005 21:08:45 -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=" query) gnus-namazu-coding-system))))) (let (current-load-list) Best regards, Adam ¹ I run Debian/unstable. ² If I open a file in a directory with an 'ø' in it's name and do M-x shell (!) - xemacs21-mule crashes, but I can't get a core-dump from it, so it's hard to report. -nomule does not crash. -- "Scare yourself up against the wall" Adam Sjøgren asjo@koldfront.dk