>>>> "Andy" == Andy Piper
<andy(a)xemacs.org> writes:
> I still get annoying flickering on each mouse event if I do M-x
occur
> followed by moving the mouse around in the *Occur* buffer.
Andy> Annoying flickering of what - the gutter? I'll try and investigate. I'd
Yes, the gutter. It is redrawn on every mouse event in the *Occur*
buffer (even horizontal ones that don't change any extents).
My default face is grey on black. I see the entire gutter drawn
with a greyish background before being redrawn with a black
background, which causes the flickering.
I decided to find out exactly what it was that was causing the
flicker, to be able to reproduce it. This took me a while.
Here's a recipe:
xemacs -vanilla
M-x shell
ls -l
M-x occur RET rw RET
M-x lazy-lock-mode
Move mouse around in the *Occur* buffer.
See gutter repeatedly flash.
lazy-lock is probably doing something evil on each motion event.
However, I only see this if the X client is on Linux, not on Solaris,
whether using a Solaris or Linux X server? What could be the
difference? X lib optimizations, perhaps.
I hope you can reproduce this. If not, give me some more debugging hints.
Andy> really like to know what flags in output_gutter are set causing
Andy> the calls to output_display_line. In theory extents_changed
Andy> should be set but not w-> gutter_extent_modiff.
Unfortunately, I am so unfamiliar with the code that I don't know how
to turn that paragraph into a debugging session. Perhaps I should
learn the code by just reading and starting to hack? This will be slow.
> Did I mention you could get access to my binary to try this
yourself...?
Andy> You did. However, I have only a dial-up connection with a max of 36kbps.
Andy> And in the UK time online costs £££. I do not consider this a viable
Andy> environment for debugging remotely.
I keep forgetting here that some people don't have continuous mostly
free internet access. My apologies.