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: Fri, 2 Jul 2010 09:53:06 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

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


> >      (setq end (point-max)))
> >        (setq end-mark (copy-marker end))
> 
> There's `point-max-marker'.

does it work also for regions? Because I use this function for buffers as well 
as for regions if selected.

> 
> In many cases, you can pass a marker to an Emacs primitive as if it
> were a number; i.e.,
> 
> >        (while (re-search-forward "\\([0-9.]+\\)" end-mark t)
> 
> should work.
> 

good to know,
Thank you Juanma.





reply via email to

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