From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79749 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: Fri, 26 Aug 2011 18:04:55 +0900 Message-ID: References: <87ipplwt9l.fsf@gmail.com> <87bovd5ift.fsf-ueno@unixuser.org> <87ei09hrtb.fsf@gmail.com> <877h6038qg.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1314349523 14656 80.91.229.12 (26 Aug 2011 09:05:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 26 Aug 2011 09:05:23 +0000 (UTC) Cc: ding@gnus.org To: XeCycle Original-X-From: ding-owner+M28043@lists.math.uh.edu Fri Aug 26 11:05:18 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 1QwsLm-00074h-0F for ding-account@gmane.org; Fri, 26 Aug 2011 11:05:18 +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 1QwsLi-000235-VF; Fri, 26 Aug 2011 04:05:15 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1QwsLi-00022x-17 for ding@lists.math.uh.edu; Fri, 26 Aug 2011 04:05:14 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1QwsLg-0001W0-PT for ding@lists.math.uh.edu; Fri, 26 Aug 2011 04:05:13 -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 1QwsLe-0003Eo-5V for ding@gnus.org; Fri, 26 Aug 2011 11:05:10 +0200 Original-Received: from ([192.168.0.187]) (envelope sender: ) by ivory4.scn-net.ne.jp with Active!Hunter esmtp server; Fri, 26 Aug 2011 18:05:04 +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 p7Q9547W010140; Fri, 26 Aug 2011 18:05:04 +0900 In-Reply-To: <877h6038qg.fsf@gmail.com> (xecycle@gmail.com's message of "Fri, 26 Aug 2011 15:57:59 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79749 Archived-At: XeCycle writes: >>>> Debugger entered--Lisp error: (wrong-number-of-arguments #[(target >>>> old new) "\303 >>>> #\207" [old new target replace-regexp-in-string] 4] 4) >>>> mm-replace-in-string("\ntest encrypt.\n" "\n" "\n" t) >> >> So I guess the culprit is a third-party replace-regexp-in-string defined >> somewhere. Could you check where it is defined, with C-h f >> replace-regexp-in-string? > > It showed these: > >> replace-regexp-in-string is a compiled Lisp function in >> `subr.el'. > >> (replace-regexp-in-string REGEXP REP STRING &optional FIXEDCASE >> LITERAL SUBEXP START) Well, then how about mm-replace-in-string? Is mm-util.elc correctly located under /usr/local/share/emacs/24.0.50/lisp/gnus/ or such? I mean, mm-replace-in-string seems not working for you. Could you try: (mm-replace-in-string "\ntest encrypt.\n" "\n" "\n" t) Regards, -- Daiki Ueno