9fans archive / 2008 / 10 / 348 /    prev next

From: "Russ Cox" <rsc@swt...>
Subject: Re: [9fans] Using the Acme Editor
Date: Fri, 24 Oct 2008 10:51:35 -0700

>>        Edit .+#0/old/c/new/

> The command really goes through occurences of 'old' and highlights
> them, but it doesn't scroll, so I can't see them... which is somewhat
> crucial for beeing able to confirm/reject the change.
> I also don't quite understand why that .+#0 is there...

The .+#0 is there because if you Undo one of the changes,
the text that is selected right now will be "old".  Starting
the search at .+#0 skips over that occurrence to go to
the next one.

It is true that the /old/c/new/ doesn't scroll, which is
unfortunate.  I haven't looked into why or whether it is
reasonable to change.

Russ