From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.help Subject: Re: How modify numbers in a region by a multiplier? Date: Thu, 1 Jul 2010 22:16:49 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1278015471 1029 80.91.229.12 (1 Jul 2010 20:17:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 1 Jul 2010 20:17:51 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Seweryn Kokot Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 01 22:17:49 2010 Return-path: Envelope-to: geh-help-gnu-emacs@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 1OUQCi-0002on-Lp for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Jul 2010 22:17:48 +0200 Original-Received: from localhost ([127.0.0.1]:55335 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUQCi-0000BI-3V for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Jul 2010 16:17:48 -0400 Original-Received: from [140.186.70.92] (port=39785 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUQCC-0000BC-13 for help-gnu-emacs@gnu.org; Thu, 01 Jul 2010 16:17:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OUQC6-0007Dv-HD for help-gnu-emacs@gnu.org; Thu, 01 Jul 2010 16:17:15 -0400 Original-Received: from mail-fx0-f41.google.com ([209.85.161.41]:42385) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUQC6-0007Dc-Cy for help-gnu-emacs@gnu.org; Thu, 01 Jul 2010 16:17:10 -0400 Original-Received: by fxm17 with SMTP id 17so1937018fxm.0 for ; Thu, 01 Jul 2010 13:17:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=cUM8RXhB9aCkW5KUP/z3P9NU7Kz6KJR7w1TAVHHGHys=; b=UeHG2eGHI7GlE3Lp+2SMGb6EpbJfL0iOKQFosNYCLUwKCMsyX9XmFV9FO7aMKqg2d4 jkPubc+wUc83/2XMyYzDU2DnBTZGJ3+nFiFoqYXevOp4Gjj8Z6u10rP9hNgstg07JZxN jO3OkjRf/8lZyDZrqe5IGJ9PaDA/g9JYn9VKw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=xUpETNlHOVLIyzyQIrlFHtHTm5lLZ3eLf9hQaS3WQkIzC+gSZnf4HE/e+QXv1CiQ9/ lH1q9FEdxbIvi/m0T6flh06QE2s347yeunKIeaKez1ApXzjo8f2/0g2mLcoqYr0FF416 3+OzItNgLySAzXte2TFwoCBfvayAtO/gQ7WXI= Original-Received: by 10.204.102.138 with SMTP id g10mr19204bko.42.1278015429417; Thu, 01 Jul 2010 13:17:09 -0700 (PDT) Original-Received: by 10.204.66.77 with HTTP; Thu, 1 Jul 2010 13:16:49 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:74035 Archived-At: On Thu, Jul 1, 2010 at 22:10, Seweryn Kokot wrote: > Indeed, your regexp used with my function works too. So as you wrote, for my > purpose it's more than enough :-) Qiang Guo is right, though, in pointing that you're using a fixed `end' but the buffer or region length is potentially changing with every replace. Juanma