Gnus development mailing list
 help / color / mirror / Atom feed
From: asjo@koldfront.dk (Adam Sjøgren)
Subject: Re: en/decode-coding-string in contrib/gnus-namazu.el
Date: Fri, 16 Dec 2005 22:29:36 +0100	[thread overview]
Message-ID: <87d5jwennj.fsf@koldfront.dk> (raw)
In-Reply-To: <87vexoagpt.fsf@koldfront.dk>

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




  reply	other threads:[~2005-12-16 21:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-16 21:13 Adam Sjøgren
2005-12-16 21:29 ` Adam Sjøgren [this message]
2005-12-18 23:49   ` Katsumi Yamaoka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d5jwennj.fsf@koldfront.dk \
    --to=asjo@koldfront.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).