Between now and the last beta, several changes occurred in the idle
timer which handles re parsing buffers and I battled mystic cursor
movements at that time. I tried your example below today and no
longer have the described problem.
I hope to have a new beta available soon.
>Petter M=C3=A5hl=C3=A9n wrote:
> > 1. I start query-replace-string (M-%) and type in the string=20
> > and replacement
> > 2. The first occurrence is found
> > 3. While I think about whether to replace it or not, Semantic=20
> > (I think) does something in the background
> > 4. Only the first character of the string is replaced when I=20
> > press "y".
> I"ve been annoyed by this problem as well (CEDET 1.0beta2b on GNU
> Emacs 21.2.1 (i386-msvc-nt5.0.2195), JDEE 2.3.3), so I looked into it.
> Petter"s analysis seems to be right: something in the bovinator is
> moving the mark. Putting a save-excursion around the loop in
> semantic-repeat-parse-whole-stream seems to cure it. Probably it
> would belong somewhere else in the call chain, but it doesn"t hurt
> anything here.
> Pekka P. Pirinen
Eric Ludlam: zappo@..., eric@...=
Home: http://www.ludlam.net Siege: http://www.siege-engine.com
Emacs: http://cedet.sourceforge.net GNU: http://www.gnu.org