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

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

must reposition cursor for tags-loop-continue on query-replace E C-g


From: Dan Jacobson
Subject: must reposition cursor for tags-loop-continue on query-replace E C-g
Date: 28 Mar 2002 16:21:20 +0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

RMS> The doc string says,

RMS>     If you exit (\\[keyboard-quit], RET or q), you can resume the
RMS>     query replace with the command \\[tags-loop-continue]."

By the way, use the E command to edit a replacement string.  Now
change your mind about editing the replacement string by hitting a
C-g.  Notice that the query-replace is now over too.  Why not have a
C-g during an E return us to the state before we hit E, whereupon if
we really wanted to bust out of the query-replace, we could hit
another C-g.

OK, one hits a C-g within an E and finds the query-replace party is
now over.  OK, one types M-x tags-loop-continue [odd, "tags", a
user who has used query-replace but never used tags would be scared
off by that name ["isn't that part of the advanced level?  That can't
be what I'm looking for.  I'm looking for a query-replace-* command
that will get me back in the loop"].

OK, we have hit tags-loop-continue, _but_: our butt had better be in
the file where the fun ended [is this mentioned?], and not say off
looking at documentation, _or_/_and_ at least the cursor must be
repositioned before our E fiasco, or else we will not be asked about
that spot... only to regret it years later, "how could I have missed
it?".

Maybe RMS just patched this... however I will wait for the next
edition instead of patching.
-- 
http://www.geocities.com/jidanni/ Taiwan(04)25854780



reply via email to

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