Mail Archives: djgpp/1999/12/07/06:52:59
On Mon, 6 Dec 1999, Lars Eighner wrote:
> |> Here's the Emacs sequence that does the same:
> |>
> |> Ctrl-R (search in reverse)
> |> o (search for o)
> |> DEL (delete o)
> |> i (insert i)
> |... and Ctrl-E (to go back to eol)
> |
> |(That's five key strokes, a savings of an additional 17%)
>
> I think for the minimum in emacs that meets all the conditions
> of the problem, you have to begin by dropping a mark and end
> by switching the cursor and the mark.
That's not true: starting the search with Ctrl-R automatically puts a
mark at the original place. So instead of Ctrl-E, going back to the
mark (hold Ctrl and press `x' twice) is all that's needed to return to
the original place.
> The only keystroke saved is that from not having to terminal
> the search string, owing to progressive searching in emacs --
> which tends to make me dizzy without adding any real usefulness
> that I can see.
It saves a lot of typing, and also lets you search without constantly
moving your eyes between the place where you specify the search string
and the text you are searching.
- Raw text -