>>>> "Andy" == Andy Piper
<andy(a)xemacs.org> writes:
Andy> I've fixed the clipping bug,
Cool.
Andy> but I don't see how the infinite wrapping ever worked.
Oh joy. I'm guessing that if people are inserting (large) glyphs in an extent
then they must be only putting the image in there and not any text along with
it which is why it hasn't shown up until now.
Andy> I think what happens is the redisplay code checks for extents at pos
Andy> displays the begin glyph, can't display anything else, goes to the next
Andy> line and the process repeats because pos hasn't moved.
Ah, so it wraps to draw the text that is appearing after the glyph, since the
size of the glyph pushes it off the edge, then when it goes to draw that text
it sees it's in an extent with a begin glyph so it draws the glyph again, then
wraps because the text would be off the screen, etc...interesting...
Andy> We probably need to fix the propagation data to register that we have
Andy> tried to display the begin glyphs. I think I've avoided fixing this in
Andy> the past because its an old bug.
Never having really looked at the glyph or extent C code until just this
moment (YIKES!) I'm very glad that I decided to just bring up the existence of
the bug and leave the fixing of it to the redisplay experts instead of trying
to figure it out myself (and feel less guilty about doing so)... :)
Thanks,
Chuck
--
Charles K. Hines <ckh(a)requesttech.com> <chuck.hines(a)baesystems.com>
Principal Scientist at ReQuest Technologies Inc (
http://www.ReQuestTech.com/)
"You tell him and I will smack you. I will smack you like a
bad bad donkey, okay!" - Pepe in 'Muppets From Space'