Subject: bug#2618: 23.0.90; Point shifts leftward during vertical motion in buffaced buffer

From: Kenichi Handa <[email-masked]>
Date: Fri, 13 Mar 2009 20:17:33 +0900

In article <[email-masked]>, [email-masked] writes:

> Open a text file and shrink the text size (using bufface) to -2.  Move
> the cursor right several glyphs from the beginning of the line, then
> move the cursor down one line.  On my machine, the cursor moves down,
> but also moves left one glyph.  After any left or right cursor motion,
> the next upward or downward cursor motion shifts the cursor one glyph
> towards the left margin; further vertical motion is not affected.  The
> problem stops when you return to normal fact size.

I can reproduce it with almost any fonts.  It seems that the
problem is that line-move-visual uses (frame-char-width) to
calculate the gloal column, but (frame-char-width) doesn't
change by remapping of the default face.  At the moment, I
don't know how to fix it.

---
Kenichi Handa
[email-masked]