andy, i'd suggest you go ahead and put in support for (interactive "e") if
it's
not there already. that way we can have them both around and evaluate them, and
once they're in actual use it should be more clear which
one is the better solution. i'm not esp. attached to my solution. maybe we could
just extend the event to include the widget it was referenced off of (esp. once we
separate out misc-user event into different types of
events, like we should have long ago).
ben
Andy Piper wrote:
At 08:05 PM 4/30/00 -0700, Ben Wing wrote:
>it sounds like you created a different design. can you describe it?
I simply used your suggestion of using event-channel on the current event
and using (interactive "e"). This works quite well, but given that you have
implemented the other stuff I backed out the changes. I think putting the
image instance in a hash table is the Right Thing. Either way it works.
Viva consumer choice.
>> I have a mega-patch pending, so you may want to apply other changes soon.
>
>none that are so closely attached to widgets.
>
>i do have my own mega-patch, which does a lot of things to event-msw.c and
a lot
>of other files, e.g. adds new error-trapping stuff around a lot of code. i'm
>finally about to get the changelog for this done.
>
>so basically, don't do any reindentation changes or major rearrangement of
code
>in your mega patch, and don't worry about the rest; it should merge
without too
>much difficulty.
Ok that will be cool. My patch should fix a lot of the GC problems that
people (e.g. John A. Turner) have been seeing, since I have gone through
the instantiation / deletion behaviour with a fine tooth comb and recoded a
lot of it. Maybe after both patches are in widgets will be reasonably stable.
This may be my last patch for a while, my wife may be in labour .....
andy
--------------------------------------------------------------
Dr Andy Piper
Principal Consultant, BEA Systems Ltd
--
Ben
In order to save my hands, I am cutting back on my mail. I also write
as succinctly as possible -- please don't be offended. If you send me
mail, you _will_ get a response, but please be patient, especially for
XEmacs-related mail. If you need an immediate response and it is not
apparent in your message, please say so. Thanks for your understanding.
See also
http://www.666.com/ben/chronic-pain/