From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79751 Path: news.gmane.org!not-for-mail From: XeCycle Newsgroups: gmane.emacs.gnus.general Subject: Re: Inconsistency between `mml2015-use' and `mml2015-verify-function' Date: Fri, 26 Aug 2011 22:06:15 +0800 Message-ID: <87liugtgh4.fsf@gmail.com> 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 1314367722 6725 80.91.229.12 (26 Aug 2011 14:08:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 26 Aug 2011 14:08:42 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28045@lists.math.uh.edu Fri Aug 26 16:08:39 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 1Qwx5K-0000qz-UG for ding-account@gmane.org; Fri, 26 Aug 2011 16:08:39 +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 1Qwx3X-0003i4-TK; Fri, 26 Aug 2011 09:06:47 -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 1Qwx3W-0003hv-PK for ding@lists.math.uh.edu; Fri, 26 Aug 2011 09:06:46 -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 1Qwx3T-0006Ji-8l for ding@lists.math.uh.edu; Fri, 26 Aug 2011 09:06:43 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Qwx3P-00027x-BP for ding@gnus.org; Fri, 26 Aug 2011 16:06:39 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Qwx3K-00089D-J5 for ding@gnus.org; Fri, 26 Aug 2011 16:06:34 +0200 Original-Received: from 59.78.37.25 ([59.78.37.25]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Aug 2011 16:06:34 +0200 Original-Received: from xecycle by 59.78.37.25 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Aug 2011 16:06:34 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 34 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 59.78.37.25 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:cVqJPapPHyCbT/pMcoK4yA8LMns= X-Spam-Score: -1.7 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79751 Archived-At: Daiki Ueno writes: [...] > 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) Oops... I found out where this problem come from. mm-replace-in-string is an alias for `replace-in-string' in `mm-util.el'. (mm-replace-in-string TARGET OLD NEW) ------------------------ 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? Thank you. -- Carl Lei (XeCycle) Department of Physics, Shanghai Jiao Tong University OpenPGP public key: 7795E591 Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591