From: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: asjo@koldfront.dk (Adam Sjøgren), ding@gnus.org
Subject: Re: en/decode-coding-string in contrib/gnus-namazu.el
Date: Mon, 19 Dec 2005 08:49:29 +0900 [thread overview]
Message-ID: <b4mr78age46.fsf@jpl.org> (raw)
In-Reply-To: <87d5jwennj.fsf@koldfront.dk>
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øgren 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øgren wrote:
> 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:
>>>>> In <87d5jwennj.fsf@koldfront.dk> Adam Sjøgren 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=" 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,
prev parent reply other threads:[~2005-12-18 23:49 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
2005-12-18 23:49 ` Katsumi Yamaoka [this message]
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=b4mr78age46.fsf@jpl.org \
--to=yamaoka@jpl.org \
--cc=asjo@koldfront.dk \
--cc=ding@gnus.org \
/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).