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

Kenichi Handa <[email protected]>
Newsgroups gmane.emacs.bugs,gmane.emacs.pretest.bugs
Message-ID <E1Li5OP-0005Q5-L3@etlken>
In article <[email protected]>, [email protected] 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 protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.