On 06/18/2016 08:51 PM, Lawrence D’Oliveiro wrote: > On Sunday, June 19, 2016 at 2:09:31 PM UTC+12, Michael Torrie wrote: >> It was later on that they figured out the N+1 thing you mentioned by >> ignoring the character cells: >> >> 0 1 2 3 4 5 6 7 8 9 10 >> H E L L O W O R L D >> >> That works well for interactive editing, but it doesn't lend itself as >> well to scripting and working with the contents of the text cells. > > Emacs scripting works perfectly well with this convention.
Yes that's true. Just saying though, it wasn't always obvious which is why ed chose to do it the way they did. vi, being somewhat compatible with ed's command structure, follows the same pattern. Two different ways of doing things. Let's not make the mistake of thinking one way is necessarily better. -- https://mail.python.org/mailman/listinfo/python-list