At 01:58 AM 8/9/00 -0700, Ben Wing wrote:
for example?
I don't know - it was your change.
this makes no sense. what if the tabs displayed the last few files
opened? do
we have to modify find-file to trigger redisplay?
The hook you added has nothing to do with the tab display - simply with the
frame buffer list. The hook needs to be called when this list changes so
that the tabs instantiators get updated (not their display). Given *where*
it is called you need to make sure that it *is* called. The hook is bogus
for the example you give above, you would put it on find-file-hooks and
redisplay would take care of the rest.
there was and is a bug. changing the contents of the gutter isn't
causing the
gutter to get redisplayed. redisplay should NOT be triggered by
record-buffer.
it should be triggered only when the code in gutter-items changes the gutter.
Yes, but Ben the whole point is finding an appropriate place to change the
tab instantiators when a buffer changes, there were no hooks that I was
aware of that would do this and putting it on record-buffer seemed about
the only effective way of doing this. Changing the content of the gutter
should (and does) cause the gutter to be redisplayed, if this is not the
case then it is a bug that will not be helped by the change I made. I fixed
your original bug report about this so I assume you are referring to
something different - an example would help.
andy
--------------------------------------------------------------
Dr Andy Piper
Principal Consultant, BEA Systems Ltd