At 05:23 PM 3/6/00 -0800, Martin Buchholz wrote:
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.
Hmmn, lazy-lock is evil, it messes constantly with the buffer ordering. You
can fix this with this:
--- lazy-lock.el~ Sat Sep 19 05:07:24 1998
+++ lazy-lock.el Tue Mar 07 22:11:41 2000
@@ -770,7 +770,7 @@
(condition-case nil
(walk-windows
(function (lambda (window)
- (select-window window)
+ (select-window window t)
(if lazy-lock-mode (lazy-lock-fontify-window))))
'no-minibuf (eq lazy-lock-walk-windows 'all-frames))
(wrong-type-argument
and this cures the flickering. However, this does not really address the
fundamental issue which is that although the buffer tabs *have* been
changed, what they look like hasn't. So I think maybe the thing to do is to
check dirtiness *and* check that the hash of the gui_items is also
different in compare_runes .... but this won't work because the glyph we
have is the same in both cur & des display_lines, so maybe we should record
the hash of the glyph when it is displayed. I'll have to think about this.....
andy
--------------------------------------------------------------
Dr Andy Piper
Senior Consultant Architect, BEA Systems Ltd