[slime-devel] Re: "query-replace" strangeness.
Luke Gorrie
luke at bluetail.com
Mon Jul 26 11:50:37 UTC 2004
Iain Little <iain.little at gmail.com> writes:
> It seems that cvs slime is interfering with "query-replace" (also
> checked "replace-string"). (Using cmucl18e)
Ouch, nice catch! Fixed now.
The trouble was that our first-change-hook could do a text search
which has the side-effect of changing the global "match data." This is
fixed by wrapping it in a `save-match-data'.
> As a final twist, everything seems to work fine when the buffer has
> been modified since last being saved. This leads me to suspect that
> the problem is caused by the cache stuff, somehow...
Indeed. Strike two against that feature. :-)
More information about the slime-devel
mailing list