Mon 23 Jan 2017 01:38:38 PM UTC, original submission:
In current git, there's a problem when trying to do a replace of a string. It can be reproduced as follows:
1. Start nano with the --ignore option, and open NEWS with it.
2. Press Ctrl-W followed by Ctrl-R to get the "Search (to replace):" prompt, and type "was" there.
3. Press Enter to get the "Replace with:" prompt, and type "123" there.
4. Press Enter, and the replace loop should start. At the "Replace this instance?" prompt for the first instance of "was", press "N" to not replace that instance.
5. nano will not move from that instance, and will instead prompt again on the same instance. (If you reply "Y" to replace the instance, or "A" to replace all instances, nano will move from that instance normally.)
This seems to have been broken by commit c88d7ce530aaac446baae143a2a7e7e29b78bae1, as reverting that commit makes replace work as expected.
|