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

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

Re: A variant of match-end, but after replacement?


From: Marcin Borkowski
Subject: Re: A variant of match-end, but after replacement?
Date: Sun, 19 Jul 2015 21:57:39 +0200

On 2015-07-19, at 15:26, Dmitry Gutov <dgutov@yandex.ru> wrote:

> On 07/19/2015 04:20 PM, Marcin Borkowski wrote:
>
>> Still not there - I can't assume that "newtext" will have the same
>> length as the thing it replaced...
>
> You can do the arithmetics there, or use a marker.

Arithmetic is fine (as Pascal showed in his last answer), markers not
(I'm in a string, not a buffer).

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



reply via email to

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