From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/72826 Path: news.gmane.org!not-for-mail From: Binjo Newsgroups: gmane.emacs.gnus.general Subject: wrong number of arguments when calling 'mm-replace-in-string' in mml2015.el and mml-smime.el Date: Sat, 09 Oct 2010 17:06:05 +0800 Organization: Wh0 CaR3s Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1286649282 18405 80.91.229.12 (9 Oct 2010 18:34:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 9 Oct 2010 18:34:42 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M21198@lists.math.uh.edu Sat Oct 09 20:34:41 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 1P4eFk-0007BR-QJ for ding-account@gmane.org; Sat, 09 Oct 2010 20:34:41 +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 1P4eEZ-00060c-1R; Sat, 09 Oct 2010 13:33: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 1P4VNz-0002tb-11 for ding@lists.math.uh.edu; Sat, 09 Oct 2010 04:06:35 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P4VNx-0006Cu-Sm for ding@lists.math.uh.edu; Sat, 09 Oct 2010 04:06:34 -0500 Original-Received: from mail-iw0-f172.google.com ([209.85.214.172]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P4VNw-0003TB-00 for ; Sat, 09 Oct 2010 11:06:33 +0200 Original-Received: by iwn10 with SMTP id 10so2921524iwn.17 for ; Sat, 09 Oct 2010 02:06:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:organization :date:message-id:user-agent:mime-version:content-type; bh=N+sNNkkcOSx13NJobrOpZftzKec5niYZeB/brc9ApIw=; b=fZ6A8+F5rw2WNPFFPAf9e7SVabZOsKg3vRHT91iN78SpykRijs5iUGE9n3RkerZLA3 kAILLDTYvr70Bvkwfatyxn4ddV5lQi58ctkxsPPynItWfTO6KuUROYs635ggYKSlb32O V4Df+fiXPoHnc3D+3oQeayc/y163uBH8GN+0Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:organization:date:message-id:user-agent :mime-version:content-type; b=TbUa0AmsIRl3EQcfQxvwe6LXY+PIpxkPLRxqZc+DAdcyAks+DEjbzS0ptvkQmz5/aI OeXQNUrJR9/HTCOuRq5AvVmGi305uCU8lQ7mNLyRdDDUERrqyZI6vDswYcu9b9gZAJPf EV1PUGShuMewIvhGMvS+Fws0xhxxBT2kJsLrA= Original-Received: by 10.42.166.197 with SMTP id p5mr212799icy.231.1286615191370; Sat, 09 Oct 2010 02:06:31 -0700 (PDT) Original-Received: from unknown ([218.108.10.226]) by mx.google.com with ESMTPS id x10sm4571937iba.22.2010.10.09.02.06.28 (version=SSLv3 cipher=RC4-MD5); Sat, 09 Oct 2010 02:06:30 -0700 (PDT) User-Agent: Emacs Gnus X-Spam-Score: -2.0 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:72826 Archived-At: hi, I'm new to this list, so please bare with me if i'm posting here is wrong. 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'. --8<---------------cut here---------------start------------->8--- mml-smime.el:530: (setq part (mm-replace-in-string part "\n" "\r\n" t) mml2015.el:895: (setq part (mm-replace-in-string part "\n" "\r\n" t) --8<---------------cut here---------------end--------------->8--- ,----[ 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. | | [back] `---- ,----[ C-h f replace-in-string RET ] | replace-in-string is a compiled Lisp function. | | (replace-in-string TARGET OLD NEW) | | Not documented. | | [back] `---- After googling, looks like someone complainted/asked about this since 2007, maybe it's good time to fix these bugs/issues. HTH, Binjo -- Life is like a prison, can you break it?