From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "=?utf-8?B?xaB0xJtww6FuIE7Em21lYw==?=" Newsgroups: gmane.emacs.help Subject: Re: How modify numbers in a region by a multiplier? Date: Fri, 02 Jul 2010 20:15:43 +0200 Message-ID: <87pqz53g34.fsf@gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1278116777 11944 80.91.229.12 (3 Jul 2010 00:26:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 3 Jul 2010 00:26:17 +0000 (UTC) Cc: Seweryn Kokot , help-gnu-emacs@gnu.org To: Juanma Barranquero Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 03 02:26:16 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 1OUqYg-0000YN-V9 for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Jul 2010 02:26:15 +0200 Original-Received: from localhost ([127.0.0.1]:41912 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUqYg-000276-Bi for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Jul 2010 20:26:14 -0400 Original-Received: from [140.186.70.92] (port=37360 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUkmv-0008Qe-Uh for help-gnu-emacs@gnu.org; Fri, 02 Jul 2010 14:16:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OUkmu-0007wg-Ri for help-gnu-emacs@gnu.org; Fri, 02 Jul 2010 14:16:33 -0400 Original-Received: from mail-fx0-f41.google.com ([209.85.161.41]:45759) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUkmu-0007wH-M0 for help-gnu-emacs@gnu.org; Fri, 02 Jul 2010 14:16:32 -0400 Original-Received: by fxm17 with SMTP id 17so3002597fxm.0 for ; Fri, 02 Jul 2010 11:16: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:cc:subject :in-reply-to:references:user-agent:date:message-id:mime-version :content-type:content-transfer-encoding; bh=NaRGmAU0W+u1C2tUL3LgGt9bp5X0Fbm+QsEtpOduXIc=; b=khbSr1DF5MZbTeTQZ7fzBUpev9HHY8TCnl9miepUXTB3ok8QBxIUxzRDx7gSuYXHPw CJRu+nTdB5vOIx649hUmqwk3mCU4J2l2ugl7+kUTVNsVzmKvMT7ZiXOy1dUKw8gDjXH/ p//4sxhEDro2caDBAHCjv4+Q0YQKIfw3MvLJE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type:content-transfer-encoding; b=uaDcgu3S8vzh801Dj0nl+MbwpJyq/0pVheGnZ/YKzVwQKW+wKM2uXfGIBVqoR7gqIH fND9BxyN+ndt6f/RVDh0XbuNvfcbwMtG2OTseNLO2iT7yS3COOy0eAM1RCJihXzNW8nL gDgvu0NgctX2QMvmqmGZuMo0iAzE+mmvBt7CM= Original-Received: by 10.223.106.205 with SMTP id y13mr1205352fao.61.1278094591049; Fri, 02 Jul 2010 11:16:31 -0700 (PDT) Original-Received: from localhost ([88.103.132.186]) by mx.google.com with ESMTPS id h15sm2033581faj.33.2010.07.02.11.16.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 02 Jul 2010 11:16:29 -0700 (PDT) In-Reply-To: (Juanma Barranquero's message of "Fri, 2 Jul 2010 12:05:23 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Fri, 02 Jul 2010 20:25:26 -0400 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:74056 Archived-At: Juanma Barranquero writes: > On Fri, Jul 2, 2010 at 11:53, Seweryn Kokot wrote: > >> does it work also for regions? Because I use this function for buffers as > well >> as for regions if selected. > > Yes. Compare the docstrings of `point-max' and `point-max-marker'. I see nothing in the docstrings that would suggest that (unless you use `narrow-to-region', obviously -- which the original function discussed in this thread did *not* use, although it would have been the right thing to do IIRC). =C5=A0t=C4=9Bp=C3=A1n