From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66522 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: Error viewing PGP/mime signed messages Date: Tue, 18 Mar 2008 14:37:43 +0900 Organization: Emacsen advocacy group Message-ID: References: <8763vlwggn.fsf@jehiel.elehack.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1205818733 18738 80.91.229.12 (18 Mar 2008 05:38:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Mar 2008 05:38:53 +0000 (UTC) Cc: bugs@gnus.org, ding@gnus.org To: Michael Ekstrand Original-X-From: ding-owner+M15010@lists.math.uh.edu Tue Mar 18 06:39:22 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1JbUXh-00060d-Hf for ding-account@gmane.org; Tue, 18 Mar 2008 06:39:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1JbUX2-000525-PY; Tue, 18 Mar 2008 00:38:40 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1JbUX0-00051s-Im for ding@lists.math.uh.edu; Tue, 18 Mar 2008 00:38:38 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1JbUWu-0006O2-F9 for ding@lists.math.uh.edu; Tue, 18 Mar 2008 00:38:38 -0500 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1JbUX1-0007LZ-00; Tue, 18 Mar 2008 06:38:39 +0100 Original-Received: from [66.225.201.151] (port=50764 helo=mail.jpl.org) by orlando.hostforweb.net with esmtpa (Exim 4.68) (envelope-from ) id 1JbUWH-0006RS-Eg; Tue, 18 Mar 2008 00:37:54 -0500 X-Hashcash: 1:20:080318:michael@elehack.net::K//AhxzpWYQcMbdW:0000000000000000000000000000000000000000006wYC X-Hashcash: 1:20:080318:bugs@gnus.org::Tpejqch5uqR0qGft:00002Obq X-Hashcash: 1:20:080318:ding@gnus.org::gH2iOGF6FO30NWA/:00003uzm X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:SJBSjoXk/CAOLu4QqxRCXV905Ls= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -2.4 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:66522 Archived-At: --=-=-= >>>>> Katsumi Yamaoka wrote: > there is a serious bug in color-theme.el. > --- color-theme.el~ 2006-05-28 13:07:29 +0000 > +++ color-theme.el 2008-03-18 05:27:27 +0000 It will not work with XEmacs, sorry. Please use this instead: --=-=-= Content-Type: text/x-patch Content-Disposition: inline --- color-theme.el~ 2006-05-28 13:07:29 +0000 +++ color-theme.el 2008-03-18 05:33:06 +0000 @@ -73,9 +73,10 @@ "Non-nil if running XEmacs.") ;; Add this since it appears to miss in emacs-2x -(or (fboundp 'replace-in-string) - (defun replace-in-string (target old new) - (replace-regexp-in-string old new target))) +(if (fboundp 'replace-in-string) + (defalias 'color-theme-replace-in-string 'replace-in-string) + (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 ;; dealing with inverse-video faces. Here is a short test to check @@ -1626,8 +1627,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 () --=-=-=--