From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/73624 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: replace-regexp-in-string? Date: Wed, 27 Oct 2010 10:06:55 +0900 Organization: Emacsen advocacy group Message-ID: References: <84eibcr4tr.fsf@davestoy.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1288141683 15997 80.91.229.12 (27 Oct 2010 01:08:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 27 Oct 2010 01:08:03 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M21993@lists.math.uh.edu Wed Oct 27 03:08:02 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 1PAuUj-00042B-17 for ding-account@gmane.org; Wed, 27 Oct 2010 03:08:01 +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 1PAuUL-0008Kl-4z; Tue, 26 Oct 2010 20:07:37 -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 1PAuUJ-0008KX-Ha for ding@lists.math.uh.edu; Tue, 26 Oct 2010 20:07: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 1PAuUI-0001SC-Iw for ding@lists.math.uh.edu; Tue, 26 Oct 2010 20:07:35 -0500 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PAuUH-0000Rz-00 for ; Wed, 27 Oct 2010 03:07:33 +0200 Original-Received: from localhost ([127.0.0.1]:40757) by orlando.hostforweb.net with esmtpa (Exim 4.69) (envelope-from ) id 1PAuTi-0002na-Q1 for ding@gnus.org; Tue, 26 Oct 2010 20:06:59 -0500 X-Hashcash: 1:20:101027:ding@gnus.org::mfNdrFwS1F81xL61:000025UQ X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:OLfDqOBT2QBGG247gxnGp/OEX70= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:73624 Archived-At: Dave Goldberg wrote: > It's probably been in use for some time now, but I just discovered > replace-regexp-in-string is being used when I got a function > undefined error when doing a B-m to move an article. I see that > there are at least three definitions of it in the XEmacs lisp > packages and easy-mmode seems like the best to use since it's part > of xemacs-base, is that correct? XEmacs 21.5-b29 and SXEmacs 22.1.12 provide it in subr.el . XEmacs 21.4.22 doesn't, but easy-mmode, that is likely always loaded by Gnus, provides it. But it seems to be for easy-mmode itself, not for other packages. So, I think Gnus should use `gnus-replace-in-string' (or `mm-replace-in-string' and friends) rather than `replace-regexp-in-string' till XEmacs 21.4 is dropped. I've done so in gnus-group.el.