<div dir="auto">Don't forget your own email from September:<div dir="auto"><br style="font-family:sans-serif"><br style="font-family:sans-serif"><div style="font-family:sans-serif" class="elided-text" dir="auto"><div dir="ltr">---------- Forwarded message ---------<br>Von: <strong dir="auto">David T. Lewis</strong> <span dir="auto"><<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>></span><br>Date: So., 20. Sep. 2020, 17:50<br>Subject: [squeak-dev] ActiveGlobals explained by Andreas Raab<br>To: <<a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>><br></div><br><br>In the course of trying to better understand the role of the ActiveHand<br>global, I found an excellent explanation by Andreas Raab in his original<br>change set. I put this on the swiki and linked it to several related pages:<br><br>  <a href="http://wiki.squeak.org/squeak/6647">http://wiki.squeak.org/squeak/6647</a><br><br>It is amusing to note how I found this. I was trying to figure out what<br>object should properly own the active hand, and I had conviced myself<br>that it should probably be the WolrdState for a Morphic world.<br><br>So as an experiment, it tried adding the instance variable to WorldState,<br>and I discovered to my surprise that it was already there. It was completely<br>unreferenced, but one of my Morphic worlds still had it set to point to<br>a HandMorph, which seemed odd.<br><br>Looking back at old images, I found that the activeHand instance var in<br>WorldState was last used in Squeak 3.0, and that the global variable that<br>replaced it was in use as of Squeak 3.10.2.<br><br>A bit of digging though the <a href="http://files.squeak.org/">files.squeak.org</a> archives led me to the<br>original change set in which the change was made. Andreas provided a<br>preamble with explanation of the rationale for the change, this this<br>is what I copied to the swiki.<br><br>Despite the fact that a WorldState instance still point to an activeHand,<br>that reference has apparently been hanging around for the last 20 years<br>without actually being used for anything.<br><br>Dave<br><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">David T. Lewis <<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>> schrieb am Di., 17. Nov. 2020, 17:26:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Nov 17, 2020 at 01:41:37PM +0000, Douglas Brebner wrote:<br>
> <br>
> On 17/11/2020 01:11, David T. Lewis wrote:<br>
> >- ActiveHand. This is meaningful only to a Morphic project and<br>
> >presumably can be refactored to eliminate the global.<br>
> <br>
> How does this interact with multiple hands?<br>
> <br>
<br>
That question, and others like it, are exactly what needs to be understood<br>
(and hopefully documented) before attempting any surgery on the system :-)<br>
<br>
There are a few pages on the swiki that provide some context. This one<br>
is a good starting point:<br>
<br>
  <a href="http://wiki.squeak.org/squeak/118" rel="noreferrer noreferrer" target="_blank">http://wiki.squeak.org/squeak/118</a><br>
<br>
Dave<br>
<br>
<br>
</blockquote></div>