
On Fri, Sep 14, 2007 at 12:15:03AM -0400, Xiao-Yong Jin wrote:
a) The cursor is not at the correct place, when there are non-English characters, such as CJK double-width characters or Cyrillic, exist.
oops, I left a line commented out... in printPrompt (fsl,psl) = (textWidth fontst f, textWidth fontst p) should be (fsl,psl) = (wcTextEscapement (fset st) f, wcTextEscapement (fset st) p) (the commented out line has mbTextEscapament which is wrong). See the amended patch attached to this message.
b) I'm no longer be able to choose a different font.
Yes, the possibility of setting fonts was missing (I forgot about it): added in this amended patch.
Finally, one not related to the new patch is that some special characters, like spaces or quotes, in the path name are not properly escaped, which in turn makes the path name completion useless, when such characters are in the path. It completes, but apparently the completion doesn't work properly.
Yes indeed. Since I do not use spaces or other special characters I didn't notice it. I'll take care of that too. We should escape spaces and quotes: what else? Thank you. Andrea