From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: replace matches in any string Date: Fri, 03 Sep 2010 07:33:51 +0200 Organization: Organization?!? Message-ID: <87iq2ncrwg.fsf@lola.goethe.zz> References: <87ab3gfb41.fsf@hati.baby-gnu.org> <87r5wrgg8w.fsf@lifelogs.com> <87y6gvwryp.fsf@hati.baby-gnu.org> <87d3y7p1ie.fsf@gnu.org> <87633y7v02.fsf@hati.baby-gnu.org> <87vdbyccgg.fsf@hati.baby-gnu.org> <87eiikdfub.fsf@hati.baby-gnu.org> <87ocf18ntz.fsf@hati.baby-gnu.org> <87aaq2uldu.fsf@lifelogs.com> <87y6dg5vv2.fsf@hati.baby-gnu.org> <878w4skgqn.fsf_-_@lifelogs.com> <87sk1tk1px.fsf@lifelogs.com> <87fwxs5m0h.fsf@lifelogs.com> <87r5hc2hvr.fsf@lifelogs.com> <87vd6ocb6s.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1283492058 31790 80.91.229.12 (3 Sep 2010 05:34:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 3 Sep 2010 05:34:18 +0000 (UTC) Cc: ding@gnus.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 03 07:34:17 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OrOul-0006JU-57 for ged-emacs-devel@m.gmane.org; Fri, 03 Sep 2010 07:34:15 +0200 Original-Received: from localhost ([127.0.0.1]:53061 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OrOuk-0003ev-DQ for ged-emacs-devel@m.gmane.org; Fri, 03 Sep 2010 01:34:14 -0400 Original-Received: from [140.186.70.92] (port=48231 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OrOub-0003eq-8p for emacs-devel@gnu.org; Fri, 03 Sep 2010 01:34:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OrOuZ-00037C-WD for emacs-devel@gnu.org; Fri, 03 Sep 2010 01:34:05 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:50328) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OrOuZ-000377-Qg for emacs-devel@gnu.org; Fri, 03 Sep 2010 01:34:03 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OrOuY-0006DQ-Kf for emacs-devel@gnu.org; Fri, 03 Sep 2010 07:34:02 +0200 Original-Received: from p508ed198.dip.t-dialin.net ([80.142.209.152]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Sep 2010 07:34:02 +0200 Original-Received: from dak by p508ed198.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Sep 2010 07:34:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 13 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p508ed198.dip.t-dialin.net X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:ZXmkGZS/kZKarZ2NRBFF65b1Yxw= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:129622 gmane.emacs.gnus.general:70392 Archived-At: Stefan Monnier writes: >> For one thing I guess it is too late to change the API. For another, >> that prevents strings from being garbage-collected as long as they are >> present in some match-data. While the same is true of buffers, a dead >> buffer does not take significant space. > > We already save the matched object if it's a buffer, What about my last sentence before yours did you not understand? -- David Kastrup