[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.
- How modify numbers in a region by a multiplier?, Seweryn Kokot, 2010/07/01
- Re: How modify numbers in a region by a multiplier?, Juanma Barranquero, 2010/07/01
- Re: How modify numbers in a region by a multiplier?, Seweryn Kokot, 2010/07/01
- Re: How modify numbers in a region by a multiplier?, Juanma Barranquero, 2010/07/01
- Re: How modify numbers in a region by a multiplier?, Seweryn Kokot, 2010/07/01
- Re: How modify numbers in a region by a multiplier?, Juanma Barranquero, 2010/07/01
- Re: How modify numbers in a region by a multiplier?, Seweryn Kokot, 2010/07/01
- Re: How modify numbers in a region by a multiplier?, Juanma Barranquero, 2010/07/01
- Re: How modify numbers in a region by a multiplier?, Seweryn Kokot, 2010/07/02
- Re: How modify numbers in a region by a multiplier?, Juanma Barranquero, 2010/07/02
- Re: How modify numbers in a region by a multiplier?,
Seweryn Kokot <=
- Re: How modify numbers in a region by a multiplier?, Juanma Barranquero, 2010/07/02
- Re: How modify numbers in a region by a multiplier?, Štěpán Němec, 2010/07/02
- Re: How modify numbers in a region by a multiplier?, Juanma Barranquero, 2010/07/02
- Re: How modify numbers in a region by a multiplier?, Seweryn Kokot, 2010/07/05
- Re: How modify numbers in a region by a multiplier?, Juanma Barranquero, 2010/07/05
- Re: How modify numbers in a region by a multiplier?, Seweryn Kokot, 2010/07/05
Re: How modify numbers in a region by a multiplier?, Dan Davison, 2010/07/01
Re: How modify numbers in a region by a multiplier?, Qiang Guo, 2010/07/01