Martin Buchholz writes:
>>>>> "Glynn" == Glynn Clements
<glynn(a)sensei.co.uk> writes:
Glynn> Andy Piper wrote:
>> 1a) Pixel based tab stops. We have to have these to support proportional
>> width fonts properly. I petitioned Chuck to do it but I think he got pulled
>> onto other things before he could look at it.
Glynn> I've also advocated this in the past. In a Mule XEmacs, there's no
Glynn> such thing as a monospaced font (consider VM's summary buffer when a
Glynn> name contains Japanese characters).
That's not completely true. If the Kanji characters are in a font
exactly twice as wide as the ASCII characters, and lisp code uses
(char-width) properly, then display of column-oriented buffers should
be correct. So perhaps VM's lisp code could be more careful. The key
thing is that it is wrong to assume that inserting one character
increases the current column by one.
I tried it a while ago. It didn't work because the pixel width
of wide chars (such as the Kanji glyphs) were not even multiples
of the default face's font width. So the text was truncated
incorrectly and the columns were messed up. I didn't know about
glyph-width at the time. Using that would probably work better.