Clearly, the movement calculation doesn't DTRT for path completion. I tried the patch with other types of completion, e.g. function and variable names, and it also seemed fine. But the movement is obviously intended, so there must be cases I have overlooked where it is needed; maybe for certain completion styles? Steve Berman