From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/73037 Path: news.gmane.org!not-for-mail From: Binjo Newsgroups: gmane.emacs.gnus.general Subject: Re: wrong number of arguments when calling 'mm-replace-in-string' in mml2015.el and mml-smime.el Date: Wed, 13 Oct 2010 11:14:57 +0800 Organization: Wh0 CaR3s Message-ID: References: <4eiq19tp11.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1286939741 1549 80.91.229.12 (13 Oct 2010 03:15:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Oct 2010 03:15:41 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M21409@lists.math.uh.edu Wed Oct 13 05:15:40 2010 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 1P5roa-0008Cj-B3 for ding-account@gmane.org; Wed, 13 Oct 2010 05:15:40 +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 1P5roN-00060X-Ta; Tue, 12 Oct 2010 22:15:27 -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 1P5roM-00060K-Et for ding@lists.math.uh.edu; Tue, 12 Oct 2010 22:15:26 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P5roI-00088D-FA for ding@lists.math.uh.edu; Tue, 12 Oct 2010 22:15:26 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P5roD-0007PC-00 for ; Wed, 13 Oct 2010 05:15:17 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P5roB-00087Y-VB for ding@gnus.org; Wed, 13 Oct 2010 05:15:15 +0200 Original-Received: from 218.108.10.226 ([218.108.10.226]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Oct 2010 05:15:15 +0200 Original-Received: from binjo.cn by 218.108.10.226 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Oct 2010 05:15:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 39 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 218.108.10.226 User-Agent: Emacs Gnus Cancel-Lock: sha1:SJooQekoMU4URWMKXlh8QTpa5eg= X-Spam-Score: 0.2 (/) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-1049--1977h-0s--0d--H*M:fsf, 0.000-951--1791h-0s--0d--H*u:Emacs, 0.000-939--1770h-0s--0d--H*u:Gnus, 0.000-610--1148h-0s--0d--Magne, 0.000-610--1148h-0s--0d--magne Spam tokens: Autolearn status: no 0.0 FREEMAIL_FROM Sender email is freemail (binjo.cn[at]gmail.com) 0.0 DKIM_ADSP_CUSTOM_MED No valid author signature, adsp_override is CUSTOM_MED 1.2 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.9 NML_ADSP_CUSTOM_MED ADSP custom_med hit, and not from a mailing list 0.0 T_TO_NO_BRKTS_FREEMAIL T_TO_NO_BRKTS_FREEMAIL List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:73037 Archived-At: On Mon, 11 Oct 2010 20:05:45 +0200, Lars Magne Ingebrigtsen said: > Binjo writes: >>>> I found annoying when reading pgp signed mail recently, after digging further, >>>> it turns out when call `mm-replace-in-string' inside mml2015.el, it feeds one >>>> extra argument, namely 't'. >> >>> What's your Emacs version? >> >> GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2010-09-14 on 3249CTO > mm-replace-in-string is a compiled Lisp function in `mm-util.el'. > (mm-replace-in-string STRING REGEXP REP &optional LITERAL) > Perhaps you have a different definition from somewhere? that's weird, i'm using the latest gnus from the git right now, still error prompted when open pgp signed mail ;-( ,----[ C-h f mm-replace-in-string RET ] | mm-replace-in-string is an alias for `replace-in-string' in | `mm-util.el'. | | (mm-replace-in-string TARGET OLD NEW) | | Not documented. `---- i tried find all occurences of mm-replace-in-string in my emacs directory, the following url is the result, under 'lisp' are those bundled in emacs, those 'site-lisp' are the new installed nognus. http://pastebin.org/165179 i'm totally lost... -- Life is like a prison, can you break it?