On 2011-09-22 20:01 +0800, Eli Zaretskii wrote:
> Do you see this problem in Emacs 24?

My emacs-24 (X11 on OSX) build is from the end of July and I see a
different problem there. The cursor is moved to the end as shown here: