<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jun 26, 2014, at 12:40 , Eliot Miranda wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 26, 2014 at 12:31 PM, Douglas McPherson <span dir="ltr">&lt;<a href="mailto:djm1329@san.rr.com" target="_blank">djm1329@san.rr.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><div>The pop-up is a result of a failing test in:</div>
<div><br></div><div>CodeHolder&gt;&gt;</div><div><div>validateMessageSource: sourceString forSelector: aSelector inClass: theClass</div><div><span style="white-space:pre-wrap">        </span>"Check whether there is evidence that method source is invalid"</div>
<div><br></div><div><span style="white-space:pre-wrap">        </span>(theClass newParser parseSelector: sourceString asString) = aSelector</div><div><span style="white-space:pre-wrap">                </span>ifFalse: [self informPossiblyCorruptSource].</div>
</div><div><br></div><div>In my example, the source string is&nbsp;'ba_z&nbsp;^true'. However, the result of #parseSelector: is #ba but the selector is actually #'ba_z'. So the test fails resulting in 'self #informPossiblyCorruptSource'.</div>
<div><br></div><div>However, I can successfully doIt:</div><div>'Bar new ba_z' ==&gt; true&nbsp;&nbsp;</div><div>meaning that the selector is recognized in this case.</div><div><br></div><div>So, Parser&gt;&gt;#parseSelector doesn't understand the underscore, but I'm in unfamiliar territory here.</div>
</div></blockquote><div><br></div><div>fixed in Compiler-eem.284</div></div></div></div></blockquote><div><br></div><div>Thanks Eliot! Works fine now.</div><div><br></div><div>Doug</div><br><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div style="word-wrap:break-word"><div><br></div><div>Doug</div><div><br></div><div><br></div><br><div><div class=""><div>On Jun 26, 2014, at 11:08 , Eliot Miranda wrote:</div><br></div><blockquote type="cite"><div dir="ltr">
<br><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="">On Thu, Jun 26, 2014 at 11:05 AM, Eliot Miranda <span dir="ltr">&lt;<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi Doug,<div><br></div><div>&nbsp; &nbsp; this is going to be either Shout or Text&gt;&gt;makeSelectorBoldIn: that need changes, probably the latter. &nbsp;The latter probably needs to just accept selectors containing underscores. &nbsp;Shout would need to obey the preference. HTH</div>

</div></blockquote><div><br></div><div>hmmm, this works: 'i_contain_underscores ^self' asText makeSelectorBoldIn: UndefinedObject</div><div><br></div><div>So can you show a stack trace? &nbsp;e.g. by replacing the pop-up with a halt?</div>

<div>&nbsp;</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">
</div><div class="gmail_extra"><div><div><br><br><div class="gmail_quote"><div class="">On Wed, Jun 25, 2014 at 11:19 PM, Douglas McPherson <span dir="ltr">&lt;<a href="mailto:djm1329@san.rr.com" target="_blank">djm1329@san.rr.com</a>&gt;</span> wrote:<br>


</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><div class="">I want to use underscores in the selectors which define external functions, to match the external function name as much as possible. So I checked the preference "allowUnderscoreSelectors". I can define and use such selectors, however each time I browse a method whose selector has an underscore, I get the attached modal pop-up:<div>


<br></div></div><div>&nbsp;<span>&lt;UserDialogBox.png&gt;</span></div><div class=""><div><br></div><div>This seems to happen in both 4.4 and 4.5.&nbsp;</div><div><br></div><div>Is there something else I am supposed to do to properly enable underscores in selectors?</div>


<div><br></div><div>Thanks,</div><div>Doug&nbsp;</div></div></div><br><br>
<br></blockquote></div><br><br clear="all"><span class=""><font color="#888888"><div><br></div></font></span></div></div><span class=""><font color="#888888"><span><font color="#888888">-- <br>best,<div>Eliot</div>
</font></span></font></span></div><span class=""><font color="#888888">
</font></span></blockquote></div><span class=""><font color="#888888"><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div>
</font></span></div></div><span class=""><font color="#888888">
<br></font></span></blockquote></div><br></div><br><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div>
</div></div>
<br></blockquote></div><br></body></html>