On 4 Jul 2008, at 14:04, Chong Yidong wrote: > Okay, how about this amended patch? OK, this works fine now. The visual-line minor mode is attached again for people to try out once you've committed your patch. Visual-line-mode works fine for me with your patches (on 22). Note that this minor mode works correctly works with variable width fonts. If we had a way to determine the buffer position for given pixel coordinates (something like posn-point, without requiring the event structure that contains the information), then I could improve this package further. - D