From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79752 Path: news.gmane.org!not-for-mail From: Daiki Ueno Newsgroups: gmane.emacs.gnus.general Subject: Re: Inconsistency between `mml2015-use' and `mml2015-verify-function' Date: Sat, 27 Aug 2011 08:29:14 +0900 Message-ID: <87wrdz69bp.fsf-ueno@unixuser.org> References: <87ipplwt9l.fsf@gmail.com> <87bovd5ift.fsf-ueno@unixuser.org> <87ei09hrtb.fsf@gmail.com> <877h6038qg.fsf@gmail.com> <87liugtgh4.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: dough.gmane.org 1314401461 26704 80.91.229.12 (26 Aug 2011 23:31:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 26 Aug 2011 23:31:01 +0000 (UTC) Cc: ding@gnus.org To: XeCycle Original-X-From: ding-owner+M28046@lists.math.uh.edu Sat Aug 27 01:30:56 2011 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.69) (envelope-from ) id 1Qx5rT-0005gy-Os for ding-account@gmane.org; Sat, 27 Aug 2011 01:30:56 +0200 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 1Qx5q7-0006lA-HR; Fri, 26 Aug 2011 18:29:31 -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 1Qx5q4-0006kz-Tf for ding@lists.math.uh.edu; Fri, 26 Aug 2011 18:29:28 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1Qx5q3-0008VB-3D for ding@lists.math.uh.edu; Fri, 26 Aug 2011 18:29:28 -0500 Original-Received: from ivory4.scn-net.ne.jp ([219.117.176.192]) by quimby.gnus.org with smtp (Exim 4.72) (envelope-from ) id 1Qx5pz-00072M-QL for ding@gnus.org; Sat, 27 Aug 2011 01:29:24 +0200 Original-Received: from ([192.168.0.187]) (envelope sender: ) by ivory4.scn-net.ne.jp with Active!Hunter esmtp server; Sat, 27 Aug 2011 08:29:18 +0900 Original-Received: Received: from well-done.deisui.org (g187018.scn-net.ne.jp [202.83.187.18]) (authenticated) by blue17.scn-net.ne.jp (unknown) with ESMTP id p7QNTHwV011174; Sat, 27 Aug 2011 08:29:17 +0900 In-Reply-To: <87liugtgh4.fsf@gmail.com> (xecycle@gmail.com's message of "Fri, 26 Aug 2011 22:06:15 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79752 Archived-At: --=-=-= XeCycle writes: > replace-in-string is a compiled Lisp function in > `color-theme.el'. > > (replace-in-string TARGET OLD NEW) > > So... F**ked up. Anyway to force mm-replace-in-string use the one from > gnus? It looks your color-theme.el is too old. There is a change not defining replace-in-string, which is available in 6.6.0 release: http://bzr.savannah.gnu.org/lh/color-theme/trunk/revision/55 Anyway, I'll install the attached fix in Gnus side as well since mml2015 usage of mm-replace-in-string does not really need the 4th arg. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=mml2015-replace-in-string.diff === modified file 'lisp/gnus/mml2015.el' --- lisp/gnus/mml2015.el 2011-06-30 23:27:10 +0000 +++ lisp/gnus/mml2015.el 2011-08-26 23:27:42 +0000 @@ -923,7 +923,7 @@ (mm-set-handle-multipart-parameter mm-security-handle 'gnus-info "Corrupted") (throw 'error handle)) - (setq part (mm-replace-in-string part "\n" "\r\n" t) + (setq part (mm-replace-in-string part "\n" "\r\n") signature (mm-get-part signature) context (epg-make-context)) (condition-case error --=-=-= Regards, -- Daiki Ueno --=-=-=--