From: Katsumi Yamaoka <yamaoka@jpl.org>
To: Michael Ekstrand <michael@elehack.net>
Cc: bugs@gnus.org, ding@gnus.org
Subject: Re: Error viewing PGP/mime signed messages
Date: Tue, 18 Mar 2008 14:29:26 +0900 [thread overview]
Message-ID: <b4mr6e8siq1.fsf@jpl.org> (raw)
In-Reply-To: <8763vlwggn.fsf@jehiel.elehack.net>
[-- Attachment #1: Type: text/plain, Size: 972 bytes --]
>>>>> Michael Ekstrand wrote:
> Gnus v5.13
> GNU Emacs 23.0.60.1 (x86_64-pc-linux-gnu, GTK+ Version 2.12.9)
> of 2008-03-15 on elegiac, modified by Debian
> 200 Leafnode NNTP Daemon, version 1.11.7.rc1 running at ahijah.elehack.net (my fqdn: ahijah.elehack.net)
> I'm running Gnus from Emacs CVS as of 2008-03-15 (Debian emacs-snapshot
> package), and get the following error when I attempt to view a PGP/mime
> signed message:
> byte-code: Wrong number of arguments: (lambda (target old new)
> (replace-regexp-in-string old new target)), 4
You use the color-theme package, don't you? I got to it by
searching for the arguments list (target old new) in Google, and
discovered there is a serious bug in color-theme.el. The problem
is due to the `replace-in-string' function that color-theme.el
defines thoughtlessly. mm-util.el uses it as
`mm-replace-in-string', and it conflicts with the one that XEmacs
originally defines. Here is a patch for color-theme 6.6.0:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 906 bytes --]
--- color-theme.el~ 2006-05-28 13:07:29 +0000
+++ color-theme.el 2008-03-18 05:27:27 +0000
@@ -74,7 +74,7 @@
;; Add this since it appears to miss in emacs-2x
(or (fboundp 'replace-in-string)
- (defun replace-in-string (target old new)
+ (defun color-theme-replace-in-string (target old new)
(replace-regexp-in-string old new target)))
;; face-attr-construct has a problem in Emacs 20.7 and older when
@@ -1626,8 +1626,8 @@
(add-to-list 'color-themes
(list ',n
(upcase-initials
- (replace-in-string
- (replace-in-string
+ (color-theme-replace-in-string
+ (color-theme-replace-in-string
(symbol-name ',n) "^color-theme-" "") "-" " "))
,author))
(defun ,n ()
next parent reply other threads:[~2008-03-18 5:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <8763vlwggn.fsf@jehiel.elehack.net>
2008-03-18 5:29 ` Katsumi Yamaoka [this message]
2008-03-18 5:37 ` Katsumi Yamaoka
2008-03-18 14:10 ` Michael Ekstrand
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=b4mr6e8siq1.fsf@jpl.org \
--to=yamaoka@jpl.org \
--cc=bugs@gnus.org \
--cc=ding@gnus.org \
--cc=michael@elehack.net \
/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).