help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How modify numbers in a region by a multiplier?


From: Seweryn Kokot
Subject: Re: How modify numbers in a region by a multiplier?
Date: Thu, 1 Jul 2010 14:31:10 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Juanma Barranquero <lekktu <at> gmail.com> writes:

> Interactively, you can try with some variation of
> 
> M-x replace-regexp \([0-9.]+\) <RET> \,(/ (string-to-number \1) 10.0) <RET>


Thank you it works! But why my function does not work since re-search-forward 
and replace-match is recommended in lisp functions?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]