Hi David, > I just pushed a simplified version of the solution: No need to count > lines, just check if point is at end of buffer.
I just tried out your patch. The logic in your patch is slightly different - it checks if the point is at the end of the last line in the buffer, whereas mine checks if the point is anywhere on the last line. I don't think it fixes the problem. Bernt, can you test it? Thanks, Jason