color-theme defines a function 'replace-in-string' that causes name clashes in other Emacs applications, notably Gnus in Emacs 23. A symptom is an error when viewing a signed mail with Gnus. This has already been reported upstream, but the maintainer seems to be AWOL: http://gna.org/bugs/?9494 Reproducible: Always Steps to Reproduce: 1. (require 'color-theme) 2. Use Emacs to view signed mails.
Created attachment 200137 [details, diff] Fix for name clash
I was wrong about the maintainer. It is fixed in the next release, but it's unclear at the moment when a new release is going to happen. Until then the patch is still needed for 6.6.0
(In reply to comment #1) > Created an attachment (id=200137) [edit] > Fix for name clash Have you actually tested the patch? This definition shuffles the three arguments around: - (defun replace-in-string (target old new) - (replace-regexp-in-string old new target))) So how can the following work? - (replace-in-string - (replace-in-string + (replace-regexp-in-string + (replace-regexp-in-string
Fixed in 6.6.0-r1. Thanks for reporting the issue.