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. > >> I like that with vim I can see immediately whether there is >> trailing space on a line just by jumping to the end of the line ($) >> which will drop the cursor on the last actual character. > > Emacs has an option (which I have enabled) which shows trailing white > space throughout your entire file in bright red. And I have also > defined a single keystroke that will get rid of it all.
And I got it wrong anyway. Both ed and vim either put the cursor between characters (insert mode), or on the character (command mode). Probably made sense at the time. -- https://mail.python.org/mailman/listinfo/python-list