[Top][All Lists]

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

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

From: ken
Subject: Re: error in replace-match: "args out of range"
Date: Sun, 03 Apr 2011 18:02:03 -0400
User-agent: Thunderbird (X11/20101213)

On 03/28/2011 04:32 PM Stefan Monnier wrote:
>> 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

Hmm.  I'm hearing "this is faith-based functionality."  Does it have to
do with the fact that all processes running from one emacs session have
the one and the same PID?  I recall reading a discussion on this list
(which was largely outside my capacity) multiple years ago about some
problem which 'would be resolved when threading is implemented.'  Is
this an issue of that sort?

reply via email to

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