<br><br><div class="gmail_quote">On Fri, Jan 28, 2011 at 1:39 PM, Chris Cunnington <span dir="ltr">&lt;<a href="mailto:smalltalktelevision@gmail.com">smalltalktelevision@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I&#39;ve got some notes from 2 May 2010 about pragmas. Eliot produced this example at the time:<br>
<br>
        x := Editor class compiledMethodAt: #blinkingCursor.<br>
        <br>
        x pragmas<br>
{&lt;preference: &#39;Blinking Text Cursor&#39; category: &#39;Morphic&#39; description: &#39;When true, the text cursor will blink.&#39; type: #Boolean&gt;}.<br>
        <br>
I think that corresponds with his message today:<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 Having it as a message pattern means:<br>
- one can search for references to the method tag by searching for senders<br>
of the message tag&#39;s selector<br>
</blockquote>
<br></div>
But the ultimate destination of all method annotations is a #perform:?<br></blockquote><div><br></div><div>Not necessarily, but often this can be a powerful pattern.  If a method tag means something, can be interpreted somehow, then effecting this interpretation via a perform is delightfully direct and minimal.  But sometimes the meaning is beyond the system (e.g. as I wrote to myself today &lt;flag: &#39;rewrite this crap.&#39;&gt; ;) ) and so there is no interpretation that can be implemented in Smalltalk code.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I take that from this:<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
- one can provide implementation(s) of the selector and hence execute the<br>
method tag using perform<br>
</blockquote>
<br></div>
So the ultimate destination of all pragmas/method annotations/method tags is that somewhere a #perform: lurks waiting<br>
for it? Sometimes that&#39;s the Compiler class and sometimes it&#39;s another class with a #perform:.<br></blockquote><div><br></div><div>Certainly that&#39;s possible for a significant subset of  potential uses.</div><div>
<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
I&#39;d appreciate it if somebody could say if this is an accurate picture.<br>
A &quot;yes&quot; will do it.<br></blockquote><div><br></div><div>yes, with caveats :)</div><div><br></div><div>best</div><div>Eliot</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<font color="#888888">
<br>
Chris<br></font></blockquote><div><br></div><div>Stitch: I&#39;m having a good day </div></div><br>