From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61573 Path: news.gmane.org!not-for-mail From: asjo@koldfront.dk (Adam =?iso-8859-1?Q?Sj=F8gren?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: en/decode-coding-string in contrib/gnus-namazu.el Date: Fri, 16 Dec 2005 22:29:36 +0100 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Message-ID: <87d5jwennj.fsf@koldfront.dk> References: <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 1134769063 11573 80.91.229.2 (16 Dec 2005 21:37:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Dec 2005 21:37:43 +0000 (UTC) Original-X-From: ding-owner+m10105@lists.math.uh.edu Fri Dec 16 22:37:41 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EnNFh-0002DQ-PA for ding-account@gmane.org; Fri, 16 Dec 2005 22:36:34 +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 1EnNFZ-0003Eq-00; Fri, 16 Dec 2005 15:36: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 1EnNEp-0003El-00 for ding@lists.math.uh.edu; Fri, 16 Dec 2005 15:35:39 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1EnNEn-0002fM-DK for ding@lists.math.uh.edu; Fri, 16 Dec 2005 15:35:39 -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 1EnNEm-0005Cr-00 for ; Fri, 16 Dec 2005 22:35:36 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EnNCq-0000nQ-Mm for ding@gnus.org; Fri, 16 Dec 2005 22:33:36 +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:33:36 +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:33:36 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 40 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 On Fri, 16 Dec 2005 22:13:02 +0100, Adam wrote: > This patch allows me to start Gnus on -nomule: Sorry, I missed one call; updated patch: --- 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=" 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, -- "Scare yourself up against the wall" Adam Sjøgren asjo@koldfront.dk