m2ym/auto-complete — pull request #115 by vitoshka (2012-06-27 14:23:28+00:00)
Title: Menu is distorted and ac-expand doesn't work at the end of the buffer.

When at eob, ac menu is distorted. The cursor and inline overlay are moved
beyond the ac-menu. Consequently ac-expand (tab) doesn't work when it is invoked
repeatedly. This happens because the point is moved out of the ac-prefix-overlay
regio. This is extremely harmful in the shell and comint buffers
when editing is always at eob.

There is already a workaround in auto-complete.el for the case when ac-point
== (point-min) == (point-max). This workaround should be also used when
point is at eob.