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

  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




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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-16 21:13 Adam Sjøgren [this message]
2005-12-16 21:29 ` Adam Sjøgren
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=87vexoagpt.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).