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

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

Re: error in replace-match: "args out of range"


From: Stefan Monnier
Subject: Re: error in replace-match: "args out of range"
Date: Mon, 28 Mar 2011 16:32:37 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> Now I'm trying to understand what you're saying in your last sentence
> above.  Are you saying that another search invoked by emacs and outside
> of my code could alter the values of subexpressions of my last search?

I'm just saying that

M-: (some-regexp-search) RET
M-: (replace-match ...) RET

won't always do what you want, because a whole lot of code will run
between the two.


        Stefan



reply via email to

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